[R-pkg-devel] Error in loadNamespace(x) : there is no package called 'formatR'

Gábor Csárdi c@@rd|@g@bor @end|ng |rom gm@||@com
Fri Nov 13 22:32:42 CET 2020


On Fri, Nov 13, 2020 at 9:02 PM Duncan Murdoch <murdoch.duncan using gmail.com> wrote:
[...]
> Things may have changed since Henrik and I wrote the code, but his
> description matches my understanding as well (and I think he's
> contributed more recently than I have).
>
> The way non-Sweave vignettes work is that some packages register
> themselves to recognize vignette files in the vignettes directory.  The
> default one recognizes .Rnw files as vignettes (and a few other
> extensions too); the knitr::rmarkdown one recognizes .Rmd files and some
> others.  The only way for a package's registration code to be called is
> for it to be listed as a VignetteBuilder.  See ?tools::vignetteEngine
> for details of the engine.

Can one of you please fix WRE then? The part that says

"...then knitr provides the engine but both knitr and rmarkdown are
needed for using it, so both these packages need to be in the
‘VignetteBuilder’ field..."

Thanks a lot!

Gabor

[...]



More information about the R-package-devel mailing list