Devtools: install_github("repository", build_vignettes = TRUE)

Created on 20 Oct 2018  路  4Comments  路  Source: r-lib/devtools

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.

Most helpful comment

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

All 4 comments

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/

Was this page helpful?
0 / 5 - 0 ratings