(v1.6.0.9034) unit tests

This commit is contained in:
dr. M.S. (Matthijs) Berends 2021-05-15 22:35:57 +02:00
parent 54dd868b22
commit 6e60ddf8d7
2 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ jobs:
sudo apt install -y libssl-dev pandoc pandoc-citeproc libxml2-dev libicu-dev libcurl4-openssl-dev
- name: Cache R packages
# if: runner.os != 'Windows'
if: runner.os != 'Windows'
uses: actions/cache@v1
with:
path: ${{ env.R_LIBS_USER }}

View File

@ -31,7 +31,7 @@ to_update <- as.data.frame(old.packages(), stringsAsFactors = FALSE)
for (i in seq_len(length(to_install))) {
cat("Installing package", to_install[i], "\n")
tryCatch(install.packages(to_install[i], repos = "https://cran.rstudio.com/", dependencies = TRUE, quiet = TRUE),
message = function(m) invisible(),
# message = function(m) invisible(),
warning = function(w) message(w$message),
error = function(e) message(e$message))
}
@ -39,7 +39,7 @@ for (i in seq_len(length(to_install))) {
for (i in seq_len(length(to_update))) {
cat("Updating package", to_install[i], "\n")
tryCatch(update.packages(to_update[i], repos = "https://cran.rstudio.com/", ask = FALSE),
message = function(m) invisible(),
# message = function(m) invisible(),
warning = function(w) message(w$message),
error = function(e) message(e$message))
}