From ceb3e6675d58e2eb03e9780055a3bcd934f64b9a Mon Sep 17 00:00:00 2001 From: Matthijs Berends Date: Sat, 15 Mar 2025 20:58:05 +0100 Subject: [PATCH] (v2.1.1.9210) unit tsts --- .github/workflows/check-current-testthat.yaml | 3 +-- .github/workflows/publish-to-pypi.yml | 2 ++ DESCRIPTION | 2 +- NEWS.md | 2 +- ..._text_v2.1.1.9209.txt => gpt_training_text_v2.1.1.9210.txt} | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) rename data-raw/{gpt_training_text_v2.1.1.9209.txt => gpt_training_text_v2.1.1.9210.txt} (99%) diff --git a/.github/workflows/check-current-testthat.yaml b/.github/workflows/check-current-testthat.yaml index 8af0efd8d..05b29007c 100644 --- a/.github/workflows/check-current-testthat.yaml +++ b/.github/workflows/check-current-testthat.yaml @@ -98,5 +98,4 @@ jobs: - name: Show files if: matrix.config.os == 'ubuntu-latest' run: | - ls /home/runner/work/AMR/AMR/check/**/tests*/testthat/ - ls /home/runner/work/AMR/AMR/check/**/tests*/testthat/_snaps + ls -lh /home/runner/work/AMR/AMR/check/**/tests*/testthat/_snaps diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 27bf93a58..57392a949 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -86,10 +86,12 @@ jobs: # Delete all existing files from the working tree (safely) git rm -rf . || true mv .git PythonPackage/AMR/ + ls -lh PythonPackage/AMR/ find . -mindepth 1 ! -name 'PythonPackage' -exec rm -rf {} + mv PythonPackage/AMR/* . rm -rf PythonPackage + ls -lh # Commit and push if changes exist git add . diff --git a/DESCRIPTION b/DESCRIPTION index dc9e30aed..74b7cc4f2 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 2.1.1.9209 +Version: 2.1.1.9210 Date: 2025-03-15 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) diff --git a/NEWS.md b/NEWS.md index cd1eea997..af85fde8f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 2.1.1.9209 +# AMR 2.1.1.9210 *(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.9209.txt b/data-raw/gpt_training_text_v2.1.1.9210.txt similarity index 99% rename from data-raw/gpt_training_text_v2.1.1.9209.txt rename to data-raw/gpt_training_text_v2.1.1.9210.txt index 06f0f4307..2c0f60037 100644 --- a/data-raw/gpt_training_text_v2.1.1.9209.txt +++ b/data-raw/gpt_training_text_v2.1.1.9210.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.9209. Remember this whenever someone asks which AMR package version you’re at. +First and foremost, you are trained on version 2.1.1.9210. 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. ----------------------------------------------------------------------------------------------------