[R-pkg-devel] Confusing error

Cohen, Aaron cohen@@ @end|ng |rom |u@edu
Mon Dec 2 17:38:54 CET 2024


Hello,

I am trying to submit an R package to CRAN. There are no notes, comments or errors when checking on my local machine, but I keep getting an error message when submitting. I am attaching the log file, but basically the error occurs when running the examples. In particular, it says

Error in loadNamespace(x) : there is no package called 'survey'

However, my package does not use the ‘survey’ package, and when I include this package to the Imports field in the DESCRIPTION file, it gives the following NOTE:

checking dependencies in R code ... NOTE
  Namespace in Imports field not imported from: ‘survey’
    All declared Imports should be used.


How do I resolve this issue?

Best,
Aaron

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: _00details.log_.log
URL: <https://stat.ethz.ch/pipermail/r-package-devel/attachments/20241202/6bb856bb/attachment.log>


More information about the R-package-devel mailing list