[R-pkg-devel] Package can't be imported with Suggests

Simon Bonner @|mon@bonner @end|ng |rom uwo@c@
Fri Aug 7 13:51:26 CEST 2020


Hi all,

Thanks for the suggestions and comments. I found a way to allow nimble to work and avoid the note when checking the package. My solution is to use:

requireNamespace(nimble)
attachNamespace("nimble")

I have a feeling that this may be against the spirit of the check (I believe that it essentially replicates library()), but it does allow nimble to find its own functions without any notes.

Cheers,

Simon



Simon Bonner
Assistant Professor of Environmetrics
Department of Statistical and Actuarial Sciences
University of Western Ontario
 
Office: Western Science Centre rm 276
 
Email: sbonner6 using uwo.ca | Telephone: 519-661-2111 x88205 | Fax: 519-661-3813
Twitter: @bonnerstatslab | Website: http://simon.bonners.ca/bonner-lab/wpblog/



More information about the R-package-devel mailing list