UPDATING.md

Updating didehpc for new R versions

Three steps are required. This document uses the addition of R 3.6.0 as an example, where the previous latest install was R 3.5.0.

Install the new version of R on all cluster nodes

set path=%path%;C:\Program Files\R\R-3.6.0\bin\x64
set R_VERSION=3.6.0

Update the package

  ret <- switch(r_version_2,
                "3.2" = list(path = "Rtools33", gcc = "gcc-4.6.3"),
                "3.3" = list(path = "Rtools33", gcc = "gcc-4.6.3"),
                "3.4" = list(path = "Rtools34", gcc = mingw),
                "3.5" = list(path = "Rtools34", gcc = mingw),
                "3.6" = list(path = "Rtools34", gcc = mingw),
                stop("Get Rich to upgrade Rtools"))
r_versions <- function() {
  v <- c("3.2.2", "3.2.4", "3.3.1", "3.3.2", "3.4.0", "3.4.2", "3.4.4",
         "3.5.0", "3.6.0")

Update the bootstrap

Log into a remote desktop

remotes::install_github("mrc-ide/conan@prototype", upgrade = FALSE)
r_version <- paste(getRversion()[1, 1:2], collapse = ".")
path <- file.path("T:/conan/bootstrap", r_version)
conan::conan_bootstrap(path, TRUE)

Run this from both 4.0 and 3.6; we'll want to do this periodically.

The didehpc-pkgs should also be updated as that is where provisioning comes from (here to avoid conflicting package versions)

Finalising



mrc-ide/didehpc documentation built on Aug. 20, 2023, 10:27 a.m.