Hi,
 
I have a piece of code that decides at runtime whether to load a data
package (and which package to load).
This is then done with a call to:
 
library(x)
 
(where x is a character variable containing the package name).
 
This causes R CMD check to throw out a warning:
'library' or 'required' calls not declared from:
x
 
Does anyone have any suggestions as to a fix or workaround for this?
 
Crispin
 
--------------------------------------------------------


This email is confidential and intended solely for the use o...{{dropped}}

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to