mirror of
https://github.com/msberends/AMR.git
synced 2025-01-24 21:04:35 +01:00
unit tests
This commit is contained in:
parent
21b4552f5a
commit
1e4eaf23f2
11
.github/workflows/check.yaml
vendored
11
.github/workflows/check.yaml
vendored
@ -124,11 +124,16 @@ jobs:
|
|||||||
- name: Run R CMD check
|
- name: Run R CMD check
|
||||||
if: always()
|
if: always()
|
||||||
env:
|
env:
|
||||||
|
# see https://rstudio.github.io/r-manuals/r-ints/Tools.html for an overview
|
||||||
_R_CHECK_CRAN_INCOMING_: false
|
_R_CHECK_CRAN_INCOMING_: false
|
||||||
_R_CHECK_FORCE_SUGGESTS_: false
|
|
||||||
_R_CHECK_DEPENDS_ONLY_: true
|
_R_CHECK_DEPENDS_ONLY_: true
|
||||||
_R_CHECK_LENGTH_1_CONDITION_: verbose
|
_R_CHECK_LENGTH_1_CONDITION_: verbose
|
||||||
_R_CHECK_LENGTH_1_LOGIC2_: verbose
|
_R_CHECK_LENGTH_1_LOGIC2_: verbose
|
||||||
|
# no check for old R versions - these packages require higher R versions
|
||||||
|
_R_CHECK_RD_XREFS_: {{ matrix.config.r != '3.0' && matrix.config.r != '3.1' && matrix.config.r != '3.2' && matrix.config.r != '3.3' && matrix.config.r != '3.4' }}
|
||||||
|
_R_CHECK_FORCE_SUGGESTS_: false
|
||||||
|
R_CHECK_CONSTANTS: 5
|
||||||
|
R_JIT_STRATEGY: 3
|
||||||
# during 'R CMD check', R_LIBS_USER will be overwritten, so:
|
# during 'R CMD check', R_LIBS_USER will be overwritten, so:
|
||||||
R_LIBS_USER_GH_ACTIONS: ${{ env.R_LIBS_USER }}
|
R_LIBS_USER_GH_ACTIONS: ${{ env.R_LIBS_USER }}
|
||||||
# this is a required value to run the unit tests:
|
# this is a required value to run the unit tests:
|
||||||
@ -136,7 +141,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd ..
|
cd ..
|
||||||
R CMD build AMR
|
R CMD build AMR
|
||||||
R CMD check --no-manual --run-donttest --run-dontrun AMR_*.tar.gz
|
R CMD check --as-cran --no-manual --run-donttest --run-dontrun AMR_*.tar.gz
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Show unit tests output
|
- name: Show unit tests output
|
||||||
@ -151,4 +156,4 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: artifacts-${{ matrix.config.os }}-r${{ matrix.config.r }}
|
name: artifacts-${{ matrix.config.os }}-r${{ matrix.config.r }}
|
||||||
path: ../AMR.Rcheck
|
path: ~/AMR.Rcheck
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 1.8.1.9041
|
Version: 1.8.1.9042
|
||||||
Date: 2022-08-28
|
Date: 2022-08-28
|
||||||
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)
|
||||||
|
2
NEWS.md
2
NEWS.md
@ -1,4 +1,4 @@
|
|||||||
# AMR 1.8.1.9041
|
# AMR 1.8.1.9042
|
||||||
|
|
||||||
### New
|
### New
|
||||||
* EUCAST 2022 and CLSI 2022 guidelines have been added for `as.rsi()`. EUCAST 2022 is now the new default guideline for all MIC and disks diffusion interpretations.
|
* EUCAST 2022 and CLSI 2022 guidelines have been added for `as.rsi()`. EUCAST 2022 is now the new default guideline for all MIC and disks diffusion interpretations.
|
||||||
|
Loading…
Reference in New Issue
Block a user