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

Unit test fix

This commit is contained in:
Dr. Matthijs Berends 2022-10-19 08:14:38 +02:00 committed by GitHub
parent f203928f7e
commit fed3b6440f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -154,7 +154,7 @@ jobs:
- name: Upload artifacts - name: Upload artifacts
if: always() if: always()
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: artifacts-${{ matrix.config.os }}-r${{ matrix.config.r }} name: artifacts-${{ matrix.config.os }}-r${{ matrix.config.r }}
path: ${GITHUB_WORKSPACE}.Rcheck path: ${{ github.workspace }}.Rcheck

View File

@ -1,5 +1,5 @@
Package: AMR Package: AMR
Version: 1.8.2.9021 Version: 1.8.2.9022
Date: 2022-10-19 Date: 2022-10-19
Title: Antimicrobial Resistance Data Analysis Title: Antimicrobial Resistance Data Analysis
Description: Functions to simplify and standardise antimicrobial resistance (AMR) Description: Functions to simplify and standardise antimicrobial resistance (AMR)

View File

@ -1,4 +1,4 @@
# AMR 1.8.2.9021 # AMR 1.8.2.9022
This version will eventually become v2.0! We're happy to reach a new major milestone soon! This version will eventually become v2.0! We're happy to reach a new major milestone soon!

View File

@ -85,7 +85,7 @@ expect_inherits(x[1], "ab")
expect_inherits(x[[1]], "ab") expect_inherits(x[[1]], "ab")
expect_inherits(c(x[1], x[9]), "ab") expect_inherits(c(x[1], x[9]), "ab")
expect_inherits(unique(x[1], x[9]), "ab") expect_inherits(unique(x[1], x[9]), "ab")
expect_inherits(rep(x[1], x[9]), "ab") expect_inherits(rep(x[1], 2), "ab")
expect_warning(x[1] <- "invalid code") expect_warning(x[1] <- "invalid code")
expect_warning(x[[1]] <- "invalid code") expect_warning(x[[1]] <- "invalid code")
expect_warning(c(x[1], "test")) expect_warning(c(x[1], "test"))