1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-26 07:26:13 +01:00

(v1.6.0.9036) unit tests

This commit is contained in:
dr. M.S. (Matthijs) Berends 2021-05-15 23:25:10 +02:00
parent 229e1bb407
commit 73fb0374c3
4 changed files with 5 additions and 3 deletions

View File

@ -113,8 +113,8 @@ jobs:
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ${{ env.R_LIBS_USER }} path: ${{ env.R_LIBS_USER }}
key: ${{ matrix.config.os }}-r-${{ matrix.config.r }}-20 key: ${{ matrix.config.os }}-r-${{ matrix.config.r }}-3
restore-keys: ${{ matrix.config.os }}-r-${{ matrix.config.r }}-20 restore-keys: ${{ matrix.config.os }}-r-${{ matrix.config.r }}-3
- name: Update AMR package dependencies - name: Update AMR package dependencies
run: | run: |

View File

@ -1,5 +1,5 @@
Package: AMR Package: AMR
Version: 1.6.0.9035 Version: 1.6.0.9036
Date: 2021-05-15 Date: 2021-05-15
Title: Antimicrobial Resistance Data Analysis Title: Antimicrobial Resistance Data Analysis
Authors@R: c( Authors@R: c(

Binary file not shown.

View File

@ -25,6 +25,8 @@
# test only on GitHub Actions and at home - not on CRAN as tests are lengthy # test only on GitHub Actions and at home - not on CRAN as tests are lengthy
if (identical(Sys.getenv("R_TINYTEST"), "true")) { if (identical(Sys.getenv("R_TINYTEST"), "true")) {
print(Sys.getenv("R_LIBS_USER"))
.libPaths(c("/Users/runner/work/_temp/Library", .libPaths())
print(.libPaths()) print(.libPaths())
print(as.data.frame(utils::installed.packages())[, "Version", drop = FALSE]) print(as.data.frame(utils::installed.packages())[, "Version", drop = FALSE])
library(tinytest) library(tinytest)