Skip to content

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

@plantarum

Description

@plantarum

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorinstall

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions