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_bitbucket() needs a default 'quiet' value #1345

Closed
plantarum opened this issue Sep 15, 2016 · 3 comments
Closed

install_bitbucket() needs a default 'quiet' value #1345

plantarum opened this issue Sep 15, 2016 · 3 comments
Labels
bug an unexpected problem or unintended behavior install

Comments

@plantarum
Copy link
Contributor

Hi,

Using the example on the install_bitbucket help page:

install_bitbucket("sulab/mygene.r@default")

Fails with:

Error in value[[3L]](cond) : argument "quiet" is missing, with no default

I think the problem is that the arguments of install_bitbucket are passed to try_install_remote, which requires a value for quiet:

install_bitbucket(repo, username, ref = "master", subdir = NULL, auth_user = NULL, 
   password = NULL, ...) 
-> install_remotes(remotes, ...) 
-> try_install_remote(..., quiet = quiet)

If we add quiet to install_bitbucket, the problem is solved:

install_bitbucket("sulab/mygene.r@default", quiet = FALSE)
## works as expected

Adding a default quiet value to the install_bitbucket definition, as is the case in install_github, would fix this.

Best,

Tyler

@hadley hadley added bug an unexpected problem or unintended behavior install labels Nov 3, 2016
@lucacerone
Copy link

the same applies to install_git, it doesn't work anymore if you don't provide an argument to quiet

@hadley
Copy link
Member

hadley commented Aug 2, 2017

Duplicate of #1346

@hadley hadley marked this as a duplicate of #1346 Aug 2, 2017
@hadley hadley closed this as completed Aug 2, 2017
@lock
Copy link

lock bot commented Sep 18, 2018

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 Sep 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug an unexpected problem or unintended behavior install
Projects
None yet
Development

No branches or pull requests

3 participants