We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0b4380 commit bfc27e0Copy full SHA for bfc27e0
.ci/linters/md/news_linter.R
@@ -1,6 +1,6 @@
1
# ensure that numbered list in each section is in sequence
2
check_section_numbering = function(news) {
3
- if (!grepl("NEWS", news)) return()
+ if (!grepl("NEWS", news)) return(invisible())
4
news = readLines(news)
5
# plain '#' catches some examples; 'd' for 'data.table'
6
sections = grep("^#+ [A-Zd]", news)
0 commit comments