You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 123: lapply(default_args, eval, envir = environment()))
If default_args contains one of the already defined symbols in memo_f or its enclosed environment (e.g., _f), it will use this value instead of the default argument specified in the function definition. Improbable example:
would solve this problem as there is no other eval that takes place inside the memo_f frame / enclosing environment. (All the other tests pass.)
Q: We still have eval of _additional on Line 127 which takes place in encl --> there might be a possible (but improbable) conflict of ... formula with names in encl: _f, _additional and _cache. Is this correct?
The text was updated successfully, but these errors were encountered:
Jim,
A possible bug:
Line 123:
lapply(default_args, eval, envir = environment()))
If
default_args
contains one of the already defined symbols inmemo_f
or its enclosed environment (e.g.,_f
), it will use this value instead of the default argument specified in the function definition. Improbable example:I believe using
would solve this problem as there is no other
eval
that takes place inside thememo_f
frame / enclosing environment. (All the other tests pass.)Q: We still have
eval
of_additional
on Line 127 which takes place inencl
--> there might be a possible (but improbable) conflict of...
formula with names inencl
:_f
,_additional
and_cache
. Is this correct?The text was updated successfully, but these errors were encountered: