Skip to content

Commit

Permalink
Update package repo to focal for ubuntu 20 (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
afwillia authored Nov 17, 2022
1 parent 3432bde commit e5b7e5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-pkgs.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ gh <- c(
# The binary package distributions from R Studio dramatically speed up installation time
# For Ubuntu 18.04 (Bionic) it's https://packagemanager.rstudio.com/all/__linux__/bionic/latest
# For Ubuntu 20.04 (Focal) it's https://packagemanager.rstudio.com/all/__linux__/focal/latest
options(repos = c(REPO_NAME = "https://packagemanager.rstudio.com/all/__linux__/bionic/latest", getOption("repos")))
options(repos = c(REPO_NAME = "https://packagemanager.rstudio.com/all/__linux__/focal/latest", getOption("repos")))

install.packages("remotes")
invisible(
lapply(strsplit(cran, "=="), function(cran_pkg) {
remotes::install_version(cran_pkg[1], version = cran_pkg[2])
})
)
remotes::install_github(gh)
remotes::install_github(gh)

0 comments on commit e5b7e5b

Please sign in to comment.