Displaying 2 results from an estimated 2 matches for "snafunnam".
Did you mean:
snafunname
2015 Feb 24
3
alternatives to do.call() when namespace is attached but not loaded?
...have a function in a package that essentially provides a wrapper for a
group of functions in another Suggested package (it sets appropriate
defaults for the context, transforms output, etc). I've implemented
this by verifying that the package was loaded with
require(sna)
and then
do.call(snaFunName, args = args)
The rDevel check is requesting that I use requireNamespace(sna) instead
of directly loading the SNA package. This seems reasonable, except that
I have yet to figure out a way to use do.call to call the function when
the namespace is attached but package is not loaded.
do.call(...
2015 Feb 24
0
alternatives to do.call() when namespace is attached but not loaded?
do.call(sna::snaFunName, args = args)
?
Hadley
On Tue, Feb 24, 2015 at 1:29 PM, Skye Bender-deMoll
<skyebend at skyeome.net> wrote:
> Dear R-devel
>
> I have a function in a package that essentially provides a wrapper for a
> group of functions in another Suggested package (it sets appropriate
> d...