diff --git a/DESCRIPTION b/DESCRIPTION index 14269bbea..1b70c05f2 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: recipes Title: Preprocessing and Feature Engineering Steps for Modeling -Version: 1.0.2.9000 +Version: 1.0.3 Authors@R: c( person("Max", "Kuhn", , "max@rstudio.com", role = c("aut", "cre")), person("Hadley", "Wickham", , "hadley@rstudio.com", role = "aut"), diff --git a/NEWS.md b/NEWS.md index e0ea6cbef..06d0b4176 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# recipes (development version) +# recipes 1.0.3 * `step_dummy()` no longer returns integer columns as there are a number of contrast methods that return fractional values. (#1053) diff --git a/man/selections.Rd b/man/selections.Rd index 25f9407c9..8bb84ca99 100644 --- a/man/selections.Rd +++ b/man/selections.Rd @@ -111,20 +111,20 @@ will not work. When creating variable selections: \itemize{ -\item If you are using column filtering steps, such as \code{step_corr()}, try -to avoid hardcoding specific variable names in downstream steps in -case those columns are removed by the filter. Instead, use +\item If you are using column filtering steps, such as \code{step_corr()}, try to +avoid hardcoding specific variable names in downstream steps in case +those columns are removed by the filter. Instead, use \code{\link[dplyr:reexports]{dplyr::any_of()}} and \code{\link[dplyr:reexports]{dplyr::all_of()}}. \itemize{ -\item \code{\link[dplyr:reexports]{dplyr::any_of()}} will be tolerant if a -column has been removed. +\item \code{\link[dplyr:reexports]{dplyr::any_of()}} will be tolerant if a column +has been removed. \item \code{\link[dplyr:reexports]{dplyr::all_of()}} will fail unless all of the columns are present in the data. } -\item For both of these functions, if you are going to save the recipe as -a binary object to use in another R session, try to avoid referring -to a vector in your workspace. +\item For both of these functions, if you are going to save the recipe as a +binary object to use in another R session, try to avoid referring to a +vector in your workspace. \itemize{ \item Preferred: \code{any_of(!!var_names)} \item Avoid: \code{any_of(var_names)}