Re: [Rd] requireNamespace() questions

2014-09-12 Thread Hadley Wickham
On Fri, Sep 12, 2014 at 3:13 PM, Paul Gilbert wrote: > > I am trying to follow directions at > http://cran.r-project.org/doc/manuals/r-patched/R-exts.html#Suggested-packages > regarding handling suggested packages with requireNamespace() rather than > require(), and I have some questions. > > 1/ W

[Rd] requireNamespace() questions

2014-09-12 Thread Paul Gilbert
I am trying to follow directions at http://cran.r-project.org/doc/manuals/r-patched/R-exts.html#Suggested-packages regarding handling suggested packages with requireNamespace() rather than require(), and I have some questions. 1/ When I do requireNamespace() in a function is the loading of t