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.
Arguments
force_install
logical (optional):
If FALSE (the default) the function produces and prints the required
code to the console for the user to run manually afterwards. When TRUE
and all requirements are fulfilled (see details) this function attempts to install
the package itself.
branch
character (with default):
Name of the branch to install. The default value ("master") corresponds to
the main development branch.
Details
This function checks whether the 'devtools' package is currently installed
on the system. If force_install = TRUE the functions attempts to install
the chosen development branch via devtools::install_github.