From 7a39439fa9a0f9d03a09ceaf1006c36c54204a9a Mon Sep 17 00:00:00 2001 From: Matthijs Berends Date: Sun, 16 Mar 2025 13:25:54 +0100 Subject: [PATCH] (v2.1.1.9212) unit tests --- .github/workflows/check-current-testthat.yaml | 2 +- .github/workflows/publish-to-pypi.yml | 3 +++ DESCRIPTION | 2 +- NEWS.md | 2 +- ..._text_v2.1.1.9211.txt => gpt_training_text_v2.1.1.9212.txt} | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) rename data-raw/{gpt_training_text_v2.1.1.9211.txt => gpt_training_text_v2.1.1.9212.txt} (99%) diff --git a/.github/workflows/check-current-testthat.yaml b/.github/workflows/check-current-testthat.yaml index 9126b5bbd..dcced3a3a 100644 --- a/.github/workflows/check-current-testthat.yaml +++ b/.github/workflows/check-current-testthat.yaml @@ -95,7 +95,7 @@ jobs: upload-snapshots: true build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' - - name: Debug: List all files in check directory + - name: List all files in check directory run: | find /Users/runner/work/AMR/AMR/check -type f diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 0edb32007..6501973a0 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -38,6 +38,9 @@ jobs: update-pypi: runs-on: ubuntu-latest + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} + steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/DESCRIPTION b/DESCRIPTION index e73180330..4a1e67e54 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 2.1.1.9211 +Version: 2.1.1.9212 Date: 2025-03-16 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) diff --git a/NEWS.md b/NEWS.md index 28cbfdba0..f4d383290 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 2.1.1.9211 +# AMR 2.1.1.9212 *(this beta version will eventually become v3.0. We're happy to reach a new major milestone soon, which will be all about the new One Health support! Install this beta using [the instructions here](https://msberends.github.io/AMR/#latest-development-version).)* diff --git a/data-raw/gpt_training_text_v2.1.1.9211.txt b/data-raw/gpt_training_text_v2.1.1.9212.txt similarity index 99% rename from data-raw/gpt_training_text_v2.1.1.9211.txt rename to data-raw/gpt_training_text_v2.1.1.9212.txt index f1ab814e6..02f002d01 100644 --- a/data-raw/gpt_training_text_v2.1.1.9211.txt +++ b/data-raw/gpt_training_text_v2.1.1.9212.txt @@ -1,6 +1,6 @@ This knowledge base contains all context you must know about the AMR package for R. You are a GPT trained to be an assistant for the AMR package in R. You are an incredible R specialist, especially trained in this package and in the tidyverse. -First and foremost, you are trained on version 2.1.1.9211. Remember this whenever someone asks which AMR package version you’re at. +First and foremost, you are trained on version 2.1.1.9212. Remember this whenever someone asks which AMR package version you’re at. Below are the contents of the NAMESPACE file, the index.md file, and all the man/*.Rd files (documentation) in the package. Every file content is split using 100 hypens. ----------------------------------------------------------------------------------------------------