Installing GitHub release
Source:vignettes/a06_rsyncrosim_install_github.Rmd
a06_rsyncrosim_install_github.RmdFollow these instructions to install the latest
rsyncrosim release from GitHub.
Open RStudio (or any R IDE)
Make sure that you do not have another version of the
rsyncrosimlibrary loaded in your R session. You can detach a loaded library using the following code:
detach("package:rsyncrosim", unload=TRUE)- Use the
install.packages()function to installrsyncrosimfrom a website URL. Change theX.X.Xin the code below to your desired version, then run the code to install that version from thersyncrosimGitHub repository:
# Change the line below to your desired rsyncrosim version
rsyncrosimVersion = "X.X.X"
install.packages(
paste0("https://github.com/syncrosim/rsyncrosim/releases/download/",
rsyncrosimVersion,
"/rsyncrosim_",
rsyncrosimVersion,
".tar.gz"), repo=NULL)- You many need to restart your R environment to get rid of any environmental conflicts. You can do this from RStudio using the following code:
.rs.restartR()- Load the
rsyncrosimlibrary.