diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 6134a7493..21381de71 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -124,11 +124,16 @@ jobs: - name: Run R CMD check if: always() env: + # see https://rstudio.github.io/r-manuals/r-ints/Tools.html for an overview _R_CHECK_CRAN_INCOMING_: false - _R_CHECK_FORCE_SUGGESTS_: false _R_CHECK_DEPENDS_ONLY_: true _R_CHECK_LENGTH_1_CONDITION_: 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: R_LIBS_USER_GH_ACTIONS: ${{ env.R_LIBS_USER }} # this is a required value to run the unit tests: @@ -136,7 +141,7 @@ jobs: run: | cd .. 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 - name: Show unit tests output @@ -151,4 +156,4 @@ jobs: uses: actions/upload-artifact@v2 with: name: artifacts-${{ matrix.config.os }}-r${{ matrix.config.r }} - path: ../AMR.Rcheck + path: ~/AMR.Rcheck diff --git a/DESCRIPTION b/DESCRIPTION index f25bda0e1..6103ea2ba 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 1.8.1.9041 +Version: 1.8.1.9042 Date: 2022-08-28 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) diff --git a/NEWS.md b/NEWS.md index 21b231898..e5ffd8c16 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 1.8.1.9041 +# AMR 1.8.1.9042 ### 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.