search for: evalsourc

Displaying 3 results from an estimated 3 matches for "evalsourc".

Did you mean: evalsource
2018 Jan 29
2
bug [methods]: double execution of `insertSource` within the same session does not work
...find, or is it about a locked object? ``` I think it's a bug. --------------------- BUG REPORT END ------------------------ I looked into it a bit myself, in case you are interested: ```R # lines 20-22 if (is(source, "environment")) env <- source else env <- evalSource(source, package, FALSE) # We're in the second case I guess # Browse[2]> env # Object of class "sourceEnvironment" # Source environment created 2017-12-01 05:19:51 # For package "gmapsdistance" # From source file "gmapsdistancefix.R" # later, before line...
2010 Jul 16
1
Inserting and testing revised functions in a package
...ossible future applications, both for insertSource and for the underlying snapshot environments as records of the state of the code. The code was added today (revision 52545) See ?insertSource for details, a piece of the documentation is at the end of this mail. Cheers, John Usage evalSource(source, package = "", lock = TRUE, cache = FALSE) insertSource(source, package = "", functions = , methods = ) Details The |source| file is parsed and evaluated, suppressing by default the actual caching of method and class definitions contained in it, so that func...
2018 Jan 29
0
bug [methods]: double execution of `insertSource` within the same session does not work
...it's a bug. > > --------------------- BUG REPORT END ------------------------ > > > I looked into it a bit myself, in case you are interested: > > ```R > # lines 20-22 > if (is(source, "environment")) > env <- source > else env <- evalSource(source, package, FALSE) > # We're in the second case I guess > > # Browse[2]> env > # Object of class "sourceEnvironment" > # Source environment created 2017-12-01 05:19:51 > # For package "gmapsdistance" > # From source file "gmapsdistance...