installGithubCommit | R Documentation |
Install a specific commit of a package, possibly under a temporary name.
installGithubCommit(repo, ref = "master", temporary = TRUE, trace = TRUE, ...)
repo |
Repository address in the format username/repo. See the documentation of |
ref |
Desired git reference. See the documentation of |
temporary |
Should the package be installed under a newname, i.e. adding |
trace |
should the execution of the function be trace? |
... |
additional arguments to be passed to |
This function is essentially a copy of the function install_remote
from the package remotes,
with one additional argument, temporary
, that enable to install the package under an other name.
This can be convinient to track a change between package versions.
## Not run:
commit <- readGithubCommit("bozenne/BuyseTest", seq.commit = 1)[1,"commits"]
installGithubCommit("bozenne/BuyseTest", ref = commit)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.