Skip to content

Commit f8ae282

Browse files
Merge pull request #987 from IndrajeetPatil/add_gha_valid_html5
Error on a `NOTE` in `R CMD Check`
2 parents 62238a8 + c1ad92e commit f8ae282

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/check-full.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ jobs:
5151

5252
- uses: r-lib/actions/setup-r-dependencies@v2
5353
with:
54-
extra-packages: any::rcmdcheck, data.tree=?ignore-before-r=3.5.0
54+
extra-packages: any::rcmdcheck
5555
needs: check
5656

5757
- uses: r-lib/actions/check-r-package@v2
58+
with:
59+
error-on: '"note"'
5860
env:
5961
_R_CHECK_FORCE_SUGGESTS_: false
6062

R/expr-is.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ is_subset_expr <- function(pd) {
103103
#' Identify comments that are shebangs
104104
#'
105105
#' Shebangs should be preserved and no space should be inserted between
106-
#' \# and !. A comment is a shebang if it is the first top level token
106+
#' `#` and `!`. A comment is a shebang if it is the first top level token
107107
#' (identified with `pos_id`) and if it starts with `#!`.
108108
#' @param pd A parse table.
109109
#' @examples

man/is_shebang.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)