Installing GitHub release
Source:vignettes/a06_rsyncrosim_install_github.Rmd
a06_rsyncrosim_install_github.Rmd
Follow 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
rsyncrosim
library 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 installrsyncrosim
from a website URL. Change theX.X.X
in the code below to your desired version, then run the code to install that version from thersyncrosim
GitHub 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
rsyncrosim
library.
library(rsyncrosim)