View source: R/install_DevelopmentVersion.R
install_DevelopmentVersion | R Documentation |
This function is a convenient method for installing the development version of the R package 'Luminescence' directly from GitHub.
install_DevelopmentVersion(force_install = FALSE)
force_install |
logical (optional):
If |
This function uses Luminescence::github_branches to check which development branches of the R package 'Luminescence' are currently available on GitHub. The user is then prompted to choose one of the branches to be installed. It further checks whether the R package 'devtools' is currently installed and available on the system. Finally, it prints R code to the console that the user can copy and paste to the R console in order to install the desired development version of the package.
If force_install = TRUE
the functions checks if 'devtools' is available
and then attempts to install the chosen development branch via
devtools::install_github.
This function requires user input at the command prompt to choose the desired development branch to be installed. The required R code to install the package is then printed to the console.
## Not run:
install_DevelopmentVersion()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.