Skip to content

Commit

Permalink
Merge pull request #317 from pharmaR/ignore_EOL
Browse files Browse the repository at this point in the history
ignore incomplete final line
  • Loading branch information
emilliman5 authored Oct 27, 2023
2 parents 31854ae + 30f3f5e commit 3905c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pkg_ref_cache_news.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ news_from_dir <- function(path) {
content[[i]] <- .tools()$.news_reader_default(f)
} else if (tolower(tools::file_ext(f)) == "md") {
# NOTE: should we do validation of markdown format?
content[[i]] <- readLines(f)
content[[i]] <- readLines(f, warn = FALSE)
}
valid[[i]] <- TRUE
}, error = function(e) {
Expand Down

0 comments on commit 3905c66

Please sign in to comment.