diff --git a/inst/header.R b/inst/header.R index fb9f30d..2d48bdb 100644 --- a/inst/header.R +++ b/inst/header.R @@ -52,7 +52,7 @@ pkg_dir <- list.files(path = tmp_dir, full.names = TRUE)[1] new_pkg_dir <- file.path(tmp_dir, x) file.rename(pkg_dir, new_pkg_dir) - res <- system(command = paste("R", "CMD", "build", new_pkg_dir)) + res <- system(command = paste("R", "CMD", "build", "--no-build-vignettes", new_pkg_dir)) ## TODO: version dependent expected_tarball_path <- paste(x, "_", version, ".tar.gz", sep = "") stopifnot(file.exists(expected_tarball_path)) file.rename(expected_tarball_path, tarball_path)