diff --git a/DESCRIPTION b/DESCRIPTION index b26eaae48..808661c4f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 3.1.0.9003 +Version: 3.1.0.9004 Date: 2026-10-17 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) diff --git a/NEWS.md b/NEWS.md index 82383790c..a0d8e498e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 3.1.0.9003 +# AMR 3.1.0.9004 ### Other * The manual index on the website was rewritten to improve findability, with sections ordered by task and a filter field diff --git a/R/tidymodels.R b/R/tidymodels.R index 5fd5ed1ef..fc5fe1959 100755 --- a/R/tidymodels.R +++ b/R/tidymodels.R @@ -2,6 +2,7 @@ #' #' This family of functions allows using AMR-specific data types such as `` and `` inside `tidymodels` pipelines. #' @inheritParams recipes::step_center +#' @param columns A character string of the selected variable names. This is `NULL` until the step is trained by [recipes::prep()], and should not be set manually. #' @details #' You can read more in our online [AMR with tidymodels introduction](https://amr-for-r.org/articles/AMR_with_tidymodels.html). #' diff --git a/man/amr-tidymodels.Rd b/man/amr-tidymodels.Rd index 1963dc7e0..ca2ae59b8 100644 --- a/man/amr-tidymodels.Rd +++ b/man/amr-tidymodels.Rd @@ -56,6 +56,8 @@ See \code{\link[recipes:selections]{selections()}} for more details.} \item{trained}{A logical to indicate if the quantities for preprocessing have been estimated.} +\item{columns}{A character string of the selected variable names. This is \code{NULL} until the step is trained by \code{\link[recipes:prep]{recipes::prep()}}, and should not be set manually.} + \item{skip}{A logical. Should the step be skipped when the recipe is baked by \code{\link[recipes:bake]{bake()}}? While all operations are baked when \code{\link[recipes:prep]{prep()}} is run, some operations may not be able to be conducted on new data (e.g. processing the