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
Leaving these unaddressed for what I think are good reasons:
Won't fix require('rstan') call because requireNamespace isn't enough. rstan::stan_model() and/or rstan::sampling() can't find the rstan function cpp_object_initializer() unless the namespace is loaded. requireNamespace is somehow not doing this. An online discussion (without solution) is at https://stat.ethz.ch/pipermail/r-devel/2014-September/069803.html
*checkingdependenciesinRcode...NOTE'library'or'require'callto'rstan'inpackagecode.Pleaseuse::or requireNamespace() instead.Seesection'Suggested packages'inthe'Writing R Extensions'manual.
Won't fix ::: calls to 'devtools:::github_resolve_ref' and 'devtools:::parse_git_repo' because (1) I'd have to copy devtools code to get the functionality I want without the ::: - I want to get the name of the most recent tag on a GitHub branch - and (2) these calls occur in an unimportant part of the package (.onAttach), are wrapped in a tryCatch, making it unlikely that changes to the unexported functions would damage anybody's workflow.
Won't fix call to attach() in revise() because I really want the clean interface I get from using attach(), have tried and failed to achieve it using eval and evalq and with, and believe I am following the best practices outlined in ?attach.
Leaving these unaddressed for what I think are good reasons:
require('rstan')
call becauserequireNamespace
isn't enough.rstan::stan_model()
and/orrstan::sampling()
can't find the rstan functioncpp_object_initializer()
unless the namespace is loaded.requireNamespace
is somehow not doing this. An online discussion (without solution) is at https://stat.ethz.ch/pipermail/r-devel/2014-September/069803.html:::
calls to'devtools:::github_resolve_ref'
and'devtools:::parse_git_repo'
because (1) I'd have to copy devtools code to get the functionality I want without the:::
- I want to get the name of the most recent tag on a GitHub branch - and (2) these calls occur in an unimportant part of the package (.onAttach
), are wrapped in atryCatch
, making it unlikely that changes to the unexported functions would damage anybody's workflow.attach()
inrevise()
because I really want the clean interface I get from usingattach()
, have tried and failed to achieve it usingeval
andevalq
andwith
, and believe I am following the best practices outlined in?attach
.The text was updated successfully, but these errors were encountered: