Closed cgiachalis closed 8 months ago
Is it intentional in devtools::install()? The only way to ignore "--install-tests" is to set keep_source = TRUE. Thanks.
keep_source = TRUE
opts <- c( if (keep_source) "--with-keep.source", "--install-tests" ) if (quick) { opts <- c(opts, "--no-docs", "--no-multiarch", "--no-demo") } opts <- c(opts, args)
https://github.com/r-lib/devtools/blob/daca0cf04413a9d251b3e55f80091afa07a60ab2/R/install.R#LL71C1-L78C26
It's been this way for a very long time and I can't find any related issues or discussion. So I'm going to say, yes, this is intentional and has stood the test of time.
Is it intentional in devtools::install()? The only way to ignore "--install-tests" is to set
keep_source = TRUE
. Thanks.https://github.com/r-lib/devtools/blob/daca0cf04413a9d251b3e55f80091afa07a60ab2/R/install.R#LL71C1-L78C26