It’s essential we all operate on compatible software. Thus, we will move to one main R version, and 1 repository snapshot date. Both will be considered for update every 6 months. We will be using both rig (r-lib/rig: The R Installation Manager) and renv (https://rstudio.github.io/renv/) to support this.
NSWERS Systemwide R version
4.5.2
# Run this code in SHELL
rig add 4.5.2
rig default 4.5.2
# If rig default does not work run this
# Replace X.X.X and path/to/Rscript with appropriate values
rig run --r-version X.X.X --script /path/to/Rscript
PPM Date
2026-01-15
Primary Repository:
Posit Package Manager
Example .Rprofile
Read this page: https://ts.nswers.org/kb/research/standard-research-activity-practices/
# Include this code in .Rprofile:
options(repos = c(CRAN ="https://packagemanager.posit.co/cran/2026-01-15"))
Installing NSWERS Packages
Use Azure Universal Packages (https://ts.nswers.org/kb/research/internal-nswers-r-packages/)
Leave a Reply