Skip to content
Prev 11076 / 12125 Next

[R-pkg-devel] [External] Re: Confusing error

The PracTools::deffCR function calls survey::svydesign.  It only 
suggests the survey package, so it is not necessarily available.

What you could do is also suggest survey, then add a test for its 
presence before calling PracTools::deffCR.  Or if that call is 
essential, then you should import survey, and add some innocuous direct 
reference to it to quiet the NOTE.

Duncan Murdoch
On 2024-12-02 3:38 p.m., Cohen, Aaron wrote: