diff --git a/R/cache.R b/R/cache.R index b1df786bb..bc5cebcac 100644 --- a/R/cache.R +++ b/R/cache.R @@ -1,10 +1,10 @@ -#' Issue a warning if `{R.cache}` uses temporary cache only +#' Issue a warning if \{R.cache\} uses temporary cache only #' #' This function used to check if a permanent cache was available and issue a -#' warning if not, but since {R.cache} version `0.15.0` (release date +#' warning if not, but since \{R.cache\} version `0.15.0` (release date #' 2021-04-27), a permanent directory will be used automatically, so this check #' if redundant. the function is kept in the package for compatibility, i.e. -#' if someone updates the R package {precommit} but not the hook revisions. +#' if someone updates the R package \{precommit\} but not the hook revisions. #' @param temp_cache_is_enough ignored. #' @family hook script helpers #' @keywords internal diff --git a/R/release.R b/R/release.R index 85dbd11bb..d58164cbc 100644 --- a/R/release.R +++ b/R/release.R @@ -144,7 +144,7 @@ release_prechecks <- function(bump, is_cran) { dsc } -#' Updates the hook version ref of {precommit} in a `.pre-commit-config` file +#' Updates the hook version ref of \{precommit\} in a `.pre-commit-config` file #' #' This is useful in the release process because when releasing a new version, #' we must make sure the template that is used with `precommit::use_precommit()` diff --git a/man/may_require_permanent_cache.Rd b/man/may_require_permanent_cache.Rd index b634fef12..c2fab9426 100644 --- a/man/may_require_permanent_cache.Rd +++ b/man/may_require_permanent_cache.Rd @@ -2,7 +2,7 @@ % Please edit documentation in R/cache.R \name{may_require_permanent_cache} \alias{may_require_permanent_cache} -\title{Issue a warning if \code{{R.cache}} uses temporary cache only} +\title{Issue a warning if \{R.cache\} uses temporary cache only} \usage{ may_require_permanent_cache(temp_cache_is_enough = FALSE) } @@ -11,10 +11,10 @@ may_require_permanent_cache(temp_cache_is_enough = FALSE) } \description{ This function used to check if a permanent cache was available and issue a -warning if not, but since {R.cache} version \verb{0.15.0} (release date +warning if not, but since \{R.cache\} version \verb{0.15.0} (release date 2021-04-27), a permanent directory will be used automatically, so this check if redundant. the function is kept in the package for compatibility, i.e. -if someone updates the R package {precommit} but not the hook revisions. +if someone updates the R package \{precommit\} but not the hook revisions. } \seealso{ Other hook script helpers: diff --git a/man/update_rev_in_config.Rd b/man/update_rev_in_config.Rd index 1a4b51640..c555d2833 100644 --- a/man/update_rev_in_config.Rd +++ b/man/update_rev_in_config.Rd @@ -2,7 +2,7 @@ % Please edit documentation in R/release.R \name{update_rev_in_config} \alias{update_rev_in_config} -\title{Updates the hook version ref of {precommit} in a \code{.pre-commit-config} file} +\title{Updates the hook version ref of \{precommit\} in a \code{.pre-commit-config} file} \usage{ update_rev_in_config(new_version, path = "inst/pre-commit-config.yaml") }