install_bitbucket

0th

Percentile

Install a package directly from bitbucket

This function is vectorised so you can install multiple packages in a single command.

Usage
install_bitbucket(repo, username, ref = "master", subdir = NULL,
  auth_user = NULL, password = NULL, force = FALSE, quiet = FALSE, ...)
Arguments
repo
Repository address in the format username/repo[/subdir][@ref|#pull]. Alternatively, you can specify subdir and/or ref using the respective parameters (see below); if both are specified, the values in repo
username
User name. Deprecated: please include username in the repo
ref
Desired git reference; could be a commit, tag, or branch name. Defaults to master.
subdir
subdirectory within repo that contains the R package.
auth_user
your account username if you're attempting to install a package hosted in a private repository (and your username is different to username)
password
your password
force
Force installation even if the git SHA1 has not changed since the previous install.
quiet
if TRUE suppresses output from this function.
...
Other arguments passed on to install.
See Also

Bitbucket API docs: https://confluence.atlassian.com/bitbucket/use-the-bitbucket-cloud-rest-apis-222724129.html

Other package installation: install_github, install_git, install_svn, install_url, install_version, install, uninstall

Aliases
  • install_bitbucket
Examples
install_bitbucket("sulab/mygene.r@default")
install_bitbucket("dannavarro/lsr-package")
Documentation reproduced from package devtools, version 1.11.1, License: GPL (>= 2)

Community examples

luisfsantana_20@yahoo.com.br at Mar 8, 2017 devtools v1.12.0

install_bitbucket("netsuperdev/yandehmand", auth_user = luis.santana@yandeh.com.br", password = "xxxxxx")