Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install_dev_deps() passes formal args onto install_deps() #2171

Merged
merged 7 commits into from
Feb 17, 2020

Conversation

t-gibson
Copy link
Contributor

@t-gibson t-gibson commented Dec 22, 2019

Closes #2166

R/install.R Outdated
@@ -129,11 +129,14 @@ install_deps <- function(pkg = ".",
build = TRUE,
build_opts = c("--no-resave-data", "--no-manual", " --no-build-vignettes"),
...) {
remotes::update_packages("roxygen2")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you add this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to align the internals of install_dev_deps() and install_deps(). Happy to remove the changes to install_deps() if it shouldn't be done as part of this PR.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is in install_dev_deps() because you need roxygen2 when developing packages, but you definitely don't want to always install it whenever you are installing any dependency.

@jimhester
Copy link
Member

Thanks!

@jimhester jimhester merged commit 2f74241 into r-lib:master Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

devtools::install_dev_deps() doesn't pass all args through to remotes::install_deps()
2 participants