diff --git a/.github/workflows/check-full.yaml b/.github/workflows/check-full.yaml index 36884035c..dc4fb8f58 100644 --- a/.github/workflows/check-full.yaml +++ b/.github/workflows/check-full.yaml @@ -51,10 +51,12 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: any::rcmdcheck, data.tree=?ignore-before-r=3.5.0 + extra-packages: any::rcmdcheck needs: check - uses: r-lib/actions/check-r-package@v2 + with: + error-on: '"note"' env: _R_CHECK_FORCE_SUGGESTS_: false diff --git a/R/expr-is.R b/R/expr-is.R index 896333912..77eb15b94 100644 --- a/R/expr-is.R +++ b/R/expr-is.R @@ -103,7 +103,7 @@ is_subset_expr <- function(pd) { #' Identify comments that are shebangs #' #' Shebangs should be preserved and no space should be inserted between -#' \# and !. A comment is a shebang if it is the first top level token +#' `#` and `!`. A comment is a shebang if it is the first top level token #' (identified with `pos_id`) and if it starts with `#!`. #' @param pd A parse table. #' @examples diff --git a/man/is_shebang.Rd b/man/is_shebang.Rd index 52f756769..a718d2abe 100644 --- a/man/is_shebang.Rd +++ b/man/is_shebang.Rd @@ -11,7 +11,7 @@ is_shebang(pd) } \description{ Shebangs should be preserved and no space should be inserted between -\# and !. A comment is a shebang if it is the first top level token +\verb{#} and \code{!}. A comment is a shebang if it is the first top level token (identified with \code{pos_id}) and if it starts with \verb{#!}. } \examples{