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

Comments

Projects
None yet
3 participants
@plantarum
Contributor

plantarum commented Sep 15, 2016

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

@lucacerone

This comment has been minimized.

lucacerone commented Dec 15, 2016

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

@hadley

This comment has been minimized.

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 Aug 2, 2017

@lock

This comment has been minimized.

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.