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

error when running devtools::install_deps('something', Ncpus = 2) #2154

Closed
robkooper opened this issue Sep 21, 2019 · 4 comments
Closed

error when running devtools::install_deps('something', Ncpus = 2) #2154

robkooper opened this issue Sep 21, 2019 · 4 comments

Comments

@robkooper
Copy link

When running devtools::install_deps(Ncpus = 2) it shows an error (see https://travis-ci.org/PecanProject/pecan/jobs/587707337#L2489).

Error: 1 components of `...` were not used.
We detected these problematic arguments:
* `Ncpus`
Did you misspecify an argument?
Backtrace:
    █
 1. └─devtools::install_deps(...)
 2.   └─(function (env = parent.frame(), action) ...
 3.     └─ellipsis:::action_dots(...)
Execution halted
Makefile:114: recipe for target '.doc/base/logger' failed
make: *** [.doc/base/logger] Error 1
The command "scripts/travis/script.sh" exited with 1.

I believe that internally it uses install.packages which does support the Ncpus argument. This used to work in the past, but now breaks the Travis builds.

I'm basing this on the documentation found at: https://www.rdocumentation.org/packages/devtools/versions/2.2.0/topics/install_deps

@lionel- lionel- transferred this issue from r-lib/ellipsis Nov 28, 2019
@jimhester
Copy link
Member

jimhester commented Nov 29, 2019

This should be fixed with the current CRAN version of devtools, you seem to be using an older version. The current CRAN version was released on September 24th.

@infotroph
Copy link
Contributor

@jimhester can you please have another look at this? I can still see the reported behavior both with devtools 2.2.1 from CRAN and with devtools master@568ac2a11 from GitHub.

@danarmak
Copy link

I'm seeing this too (in install_dev_deps). It happens only when all the deps are already installed and install_deps has nothing to do.

@lock
Copy link

lock bot commented Jun 24, 2020

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/

@lock lock bot locked and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants