update_core_files.R

unlink("inst/lib", recursive = TRUE, force = TRUE)

download.file("https://ci.appveyor.com/api/projects/open-systems-pharmacology-ci/pk-sim/artifacts/pk-sim-r-dependencies.zip",
              destfile = "pk-sim-r-dependencies.zip")

unzip("pk-sim-r-dependencies.zip",
      exdir = "inst/lib",
      overwrite =  TRUE,
      setTimes = TRUE)

file.remove("pk-sim-r-dependencies.zip")
Open-Systems-Pharmacology/OSPSuite-R documentation built on Feb. 14, 2025, 4:48 p.m.