From 6f089a4359633eaadd0f619585d0d21e7b33050b Mon Sep 17 00:00:00 2001 From: Jenny Bryan Date: Mon, 12 Feb 2024 17:34:49 -0800 Subject: [PATCH] Fix a NOTE seen in r-devel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Looks like this: ❯ checking Rd files ... NOTE checkRd: (-1) licenses.Rd:35: Lost braces; missing escapes or markup? 35 | defaults to "{package name} authors"; you should only change this if you | ^ checkRd: (-1) tidyverse.Rd:54: Lost braces; missing escapes or markup? 54 | defaults to "{package name} authors"; you should only change this if you | ^ --- R/license.R | 2 +- man/licenses.Rd | 2 +- man/tidyverse.Rd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/license.R b/R/license.R index 77e90bd5d..2d668f000 100644 --- a/R/license.R +++ b/R/license.R @@ -40,7 +40,7 @@ #' #' @name licenses #' @param copyright_holder Name of the copyright holder or holders. This -#' defaults to "{package name} authors"; you should only change this if you +#' defaults to `"{package name} authors"`; you should only change this if you #' use a CLA to assign copyright to a single entity. #' @param version License version. This defaults to latest version all licenses. #' @param include_future If `TRUE`, will license your package under the current diff --git a/man/licenses.Rd b/man/licenses.Rd index 4ab8669a7..4d138d26f 100644 --- a/man/licenses.Rd +++ b/man/licenses.Rd @@ -32,7 +32,7 @@ use_proprietary_license(copyright_holder) } \arguments{ \item{copyright_holder}{Name of the copyright holder or holders. This -defaults to "{package name} authors"; you should only change this if you +defaults to \code{"{package name} authors"}; you should only change this if you use a CLA to assign copyright to a single entity.} \item{version}{License version. This defaults to latest version all licenses.} diff --git a/man/tidyverse.Rd b/man/tidyverse.Rd index b9a19dbfd..277a65452 100644 --- a/man/tidyverse.Rd +++ b/man/tidyverse.Rd @@ -51,7 +51,7 @@ defaults to the latest published release of \code{r-lib/actions} created, provided that the parent path exists.} \item{copyright_holder}{Name of the copyright holder or holders. This -defaults to "{package name} authors"; you should only change this if you +defaults to \code{"{package name} authors"}; you should only change this if you use a CLA to assign copyright to a single entity.} \item{strict}{Boolean indicating whether or not a strict version of styling