diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml index 9d2b2a4c1..5bdbc2190 100644 --- a/.github/ISSUE_TEMPLATE/1-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/1-bug-report.yml @@ -22,9 +22,9 @@ body: label: Minimal Reproducible Example (optional) description: Please include a short R code snippet that reproduces the problem, if possible. placeholder: - e.g.\n\n - ```r
- ab_name("amoxicillin/clavulanic acid", language = "es")\n + e.g. + ```r + ab_name("amoxicillin/clavulanic acid", language = "es") ``` validations: required: false diff --git a/DESCRIPTION b/DESCRIPTION index bd3548c91..8c02fb89e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: AMR -Version: 3.0.1.9006 -Date: 2025-12-21 +Version: 3.0.1.9007 +Date: 2025-12-22 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) data analysis and to work with microbial and antimicrobial properties by diff --git a/NEWS.md b/NEWS.md index 4bdca2899..b42ec4e79 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 3.0.1.9006 +# AMR 3.0.1.9007 ### New * Integration with the **tidymodels** framework to allow seamless use of SIR, MIC and disk data in modelling pipelines via `recipes` diff --git a/R/sysdata.rda b/R/sysdata.rda index 3ebfc3526..83d49ec44 100755 Binary files a/R/sysdata.rda and b/R/sysdata.rda differ diff --git a/data/antibiotics.rda b/data/antibiotics.rda index 65116b3bf..5b3331ad5 100644 Binary files a/data/antibiotics.rda and b/data/antibiotics.rda differ diff --git a/vignettes/AMR_with_tidymodels.Rmd b/vignettes/AMR_with_tidymodels.Rmd index 9e6b2da02..00583f05e 100644 --- a/vignettes/AMR_with_tidymodels.Rmd +++ b/vignettes/AMR_with_tidymodels.Rmd @@ -315,7 +315,7 @@ fitted <- fit(workflow_model, training_data) # Generate predictions predictions <- predict(fitted, testing_data) %>% - bind_cols(predict(fitted, out_testing, type = "prob")) %>% # add probabilities + bind_cols(predict(fitted, testing_data, type = "prob")) %>% # add probabilities bind_cols(testing_data) # Evaluate model performance