Displaying 1 result from an estimated 1 matches for "unlockenviron".
2018 Oct 10
1
unlockEnvironment()?
...ut below.)
About 5000 (1/3 of CRAN) packages depend on R6 or rlang. Should R supply a
more disciplined way of unlocking an environment?
Bill Dunlap
TIBCO Software
wdunlap tibco.com
$ { find . -type f -print0 | xargs -0 grep -n -C 2 ENVFLAGS ; } 2>/dev/null
./R6/tests/manual/encapsulation.R-5-unlockEnvironment <-
cfunction(signature(env = "environment"), body = '
./R6/tests/manual/encapsulation.R-6- #define FRAME_LOCK_MASK (1<<14)
./R6/tests/manual/encapsulation.R:7: #define FRAME_IS_LOCKED(e)
(ENVFLAGS(e) & FRAME_LOCK_MASK)
./R6/tests/manual/encapsulation.R:8: #define U...