From 6e60ddf8d77f9ca22938b04d6f6a3fcddcbb948c Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Sat, 15 May 2021 22:35:57 +0200 Subject: [PATCH] (v1.6.0.9034) unit tests --- .github/workflows/check.yaml | 2 +- data-raw/_install_deps.R | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 3c35d3f5..e995a11a 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -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 }} diff --git a/data-raw/_install_deps.R b/data-raw/_install_deps.R index 943646e6..a0c9c7d3 100644 --- a/data-raw/_install_deps.R +++ b/data-raw/_install_deps.R @@ -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)) }