NCEAS / metajam

Bringing data and metadata togetheR
https://nceas.github.io/metajam/
Apache License 2.0
16 stars 7 forks source link

vignette function return "no vignettes found" #65

Closed brunj7 closed 6 years ago

brunj7 commented 6 years ago

metajam vignettes are not listed by the vignette function

library(metajam)

vignette(package="metajam")
# no vignettes found
gothub commented 6 years ago

It appears that devtools:build_vignettes() is creating the rendered vignettes into the .doc directory and not ./inst/doc. When the package is installed then, the ./doc directory is not included. If I manually move the ./doc directory to ./inst/doc and rebuild, the vignettes show up.

I'm not sure how to resolve this problem yet, it may take some perusing of the build_vignettes source.

brunj7 commented 6 years ago

in fact, we need to pass explicitly building vignettes to devtools:

devtools::install_github('NCEAS/metajam', build_vignettes = TRUE)