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

John Maindonald jhm@|ndon@|d @end|ng |rom gm@||@com
Fri Sep 24 11:35:28 CEST 2021


That is very helpful --- thank you
John

On Fri, 24 Sept 2021 at 17:42, Maëlle SALMON <maelle.salmon using yahoo.se> wrote:

> 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
>
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list