[R-pkg-devel] Namespace is imported from in YAML header, but attracts Note that is is not imported from

Maëlle SALMON m@e||e@@@|mon @end|ng |rom y@hoo@@e
Fri Sep 24 07:42:37 CEST 2021


Hello,

It's better to get rid of this NOTE, by listing bookdown in VignetteBuilder and Suggests, not Imports see https://blog.r-hub.io/2020/06/03/vignettes/#infrastructure--dependencies-for-vignettes That's actually what you did in another package https://github.com/cran/gamclass/blob/master/DESCRIPTION (it's a coincidence I found a package of yours via code search in CRAN GitHub mirror :-) ).

Maëlle.


Den fredag 24 september 2021 03:00:57 CEST, John H Maindonald <jhmaindonald using gmail.com> skrev: 





On the Atlas and Linux builds of my package `qra` that has just been posted 
on CRAN, I am getting the message:

> Namespace in Imports field not imported from: ‘bookdown’
>  All declared Imports should be used.

This, in spite of the fct that the YAML header in two of the Rmd files for the vignettes has:

> output:
>  bookdown::html_document2:
>    theme: cayman

Do I need to worry about this?

John Maindonald
______________________________________________
R-package-devel using r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
 



More information about the R-package-devel mailing list