With devtools 2.0.0, devtools::install_github("repository", build_vignettes = TRUE)
no longer builds the vignettes.
devtools::install("repository", build_vignettes = TRUE)
does build the vignettes.
I've tried using remove.packages("package")
first and by using remotes::install_github("repository", build_vignettes = TRUE)
. Same results.
Has the syntax changed?
After downgrading to devtools 1.13.6, devtools::install_github("repository", build_vignettes = TRUE)
does builds the vignettes.
Yes, remove --no-build-vignettes
from the build_opts
to build the vignettes. e.g.
devtools::install_github("foo/bar", build_opts = c("--no-resave-data", "--no-manual"))
For my vignette to build, I had to add the 'build_vignettes = TRUE' option
install_github("foo/bar", build_opts = c("--no-resave-data", "--no-manual"), build_vignettes = TRUE)
the build_ops works in windows, and the build_vignettes works in linux.
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
Most helpful comment
Yes, remove
--no-build-vignettes
from thebuild_opts
to build the vignettes. e.g.