From d717bd3f87400f5cc9d9a5a3f64e1abf6a79de2a Mon Sep 17 00:00:00 2001 From: Matthijs Berends Date: Sat, 15 Mar 2025 16:19:03 +0100 Subject: [PATCH] (v2.1.1.9207) fix PythonPackage --- .github/prehooks/commit-msg | 1 - .github/prehooks/pre-commit | 1 - DESCRIPTION | 2 +- NEWS.md | 2 +- data-raw/_generate_GPT_knowledge_input.sh | 2 +- ...text_v2.1.1.9206.txt => gpt_training_text_v2.1.1.9207.txt} | 4 ++-- 6 files changed, 5 insertions(+), 7 deletions(-) rename data-raw/{gpt_training_text_v2.1.1.9206.txt => gpt_training_text_v2.1.1.9207.txt} (99%) diff --git a/.github/prehooks/commit-msg b/.github/prehooks/commit-msg index 1dc04bf3b..6f4ce0753 100755 --- a/.github/prehooks/commit-msg +++ b/.github/prehooks/commit-msg @@ -60,7 +60,6 @@ else fi git add data-raw/* -git add PythonPackage/* git add -u exit 0 diff --git a/.github/prehooks/pre-commit b/.github/prehooks/pre-commit index 6b23238c3..0999c4948 100755 --- a/.github/prehooks/pre-commit +++ b/.github/prehooks/pre-commit @@ -114,7 +114,6 @@ echo "${currentversion}" > .git/commit_version.tmp # Generate GPT knowledge info for our Assistant (https://chatgpt.com/g/g-M4UNLwFi5-amr-for-r-assistant) bash data-raw/_generate_GPT_knowledge_input.sh "${currentversion}" git add data-raw/* -git add PythonPackage/* git add -u exit 0 diff --git a/DESCRIPTION b/DESCRIPTION index f3ea2aa47..4880923e7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 2.1.1.9206 +Version: 2.1.1.9207 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 823ef7351..2af8a18e1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 2.1.1.9206 +# AMR 2.1.1.9207 *(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/_generate_GPT_knowledge_input.sh b/data-raw/_generate_GPT_knowledge_input.sh index fe5d86726..d6beed2f0 100644 --- a/data-raw/_generate_GPT_knowledge_input.sh +++ b/data-raw/_generate_GPT_knowledge_input.sh @@ -17,7 +17,7 @@ echo "This knowledge base contains all context you must know about the AMR packa echo "" >> "$output_file" echo "First and foremost, you are trained on version ${version}. Remember this whenever someone asks which AMR package version you’re at." >> "$output_file" echo "" >> "$output_file" -echo "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." >> "$output_file" +echo "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." >> "$output_file" echo "----------------------------------------------------------------------------------------------------" >> "$output_file" echo "" >> "$output_file" diff --git a/data-raw/gpt_training_text_v2.1.1.9206.txt b/data-raw/gpt_training_text_v2.1.1.9207.txt similarity index 99% rename from data-raw/gpt_training_text_v2.1.1.9206.txt rename to data-raw/gpt_training_text_v2.1.1.9207.txt index f5636d7ed..2367ea199 100644 --- a/data-raw/gpt_training_text_v2.1.1.9206.txt +++ b/data-raw/gpt_training_text_v2.1.1.9207.txt @@ -1,8 +1,8 @@ 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.9206. Remember this whenever someone asks which AMR package version you’re at. +First and foremost, you are trained on version 2.1.1.9207. Remember this whenever someone asks which AMR package version you’re at. -Below are the contents of the file, the file, and all the files (documentation) in the package. Every file content is split using 100 hypens. +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. ---------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------