diff --git a/NEWS.md b/NEWS.md index 7323d5a..9e30255 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,6 @@ # JSmediation (development version) +* Improve cross-refs in documentation * Update authors info # JSmediation (0.2.2) diff --git a/R/standarize_variable.R b/R/standarize_variable.R index 09aef13..e0541db 100644 --- a/R/standarize_variable.R +++ b/R/standarize_variable.R @@ -8,7 +8,7 @@ #' `standardize_variable()` and `standardise_variable()` are synonyms. #' #' @param data A data frame containing the variables to standardize. -#' @param cols <[`tidy-select`][dplyr_tidy_select]> Columns to standardize. +#' @param cols <[`tidy-select`][`dplyr::dplyr_tidy_select`]> Columns to standardize. #' Defaults to [`dplyr::everything()`]. #' @param suffix A character suffix to be added to the scaled variables names. #' When suffix is set to`NULL`, the `standardize_variable()` function will diff --git a/man/standardize_variable.Rd b/man/standardize_variable.Rd index 124c9c3..918ecba 100644 --- a/man/standardize_variable.Rd +++ b/man/standardize_variable.Rd @@ -12,7 +12,7 @@ standardise_variable(data, cols = dplyr::everything(), suffix = NULL) \arguments{ \item{data}{A data frame containing the variables to standardize.} -\item{cols}{<\code{\link[=dplyr_tidy_select]{tidy-select}}> Columns to standardize. +\item{cols}{<\code{\link[dplyr:dplyr_tidy_select]{tidy-select}}> Columns to standardize. Defaults to \code{\link[dplyr:reexports]{dplyr::everything()}}.} \item{suffix}{A character suffix to be added to the scaled variables names.