This function installs and loads R packages from GitHub repositories. It checks if the specified packages are already installed. If a package is not installed, it is downloaded, installed, and then loaded into the R environment.
Arguments
- git_packages
A vector of GitHub repositories corresponding to the packages to be installed and loaded. Each repository is specified as a string in the format "username/repository".
Examples
if (FALSE) {
get_git_packages(c("CharlesEtienneLavoie/CEL", 'rempsyc/rempsyc'))
}