diff --git a/.Rbuildignore b/.Rbuildignore index 2d10447..3a17725 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -12,3 +12,5 @@ ^\.github$ ^cran-comments\.md$ ^CRAN-SUBMISSION$ + +^jarl\.toml$ diff --git a/DESCRIPTION b/DESCRIPTION index 9a17e67..0223c1c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: flir Type: Package Title: Find and Fix Lints in R Code -Version: 0.5.0.9000 +Version: 0.6.0 Authors@R: c(person(given = "Etienne", family = "Bacher", diff --git a/NEWS.md b/NEWS.md index 3077aa2..532a27e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# flir (development version) +# flir 0.6.0 ## New features diff --git a/R/utils.R b/R/utils.R index ed2bf4b..ed92c5b 100644 --- a/R/utils.R +++ b/R/utils.R @@ -58,7 +58,7 @@ get_tests_from_lintr <- function(name) { "_linter.R" ) dest <- paste0("tests/testthat/test-", name, ".R") - utils::download.file(url, destfile = dest) + utils::download.file(url, destfile = dest, mode = "wb") if (rlang::is_interactive()) { utils::file.edit(dest) } diff --git a/cran-comments.md b/cran-comments.md index 2a0416d..e69de29 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,14 +0,0 @@ -This is the first CRAN release (3rd try). - -Thank you for the comments, I have updated the functions that write to the user -file system so that the argument `path` has to be specified. Note that in tests -only (which don't write to the working directory), a missing `path` means that -`"."` is used by default. - -While I understand the willingness to minimize automatic changes to the user's -file system, I must say there's quite a discrepancy in how this policy is -applied. Many CRAN packages (including some of my own) directly write to the user -file system without asking for user confirmation such as `altdoc`, `devtools`, -`pkgdown`, `rextendr`, `Rcpp`, `roxygen2`, etc. Therefore, from the package -developer's point of view, it's hard to understand why this usage is accepted -for some packages but not others. diff --git a/inst/WORDLIST b/inst/WORDLIST index e274639..7de6d70 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -4,14 +4,14 @@ Bundock CMD Github Jagan +Jarl Linters Mikael +ORCID RStudio -YAML ast astgrepr coercions -config fleer formatter grepl @@ -20,8 +20,9 @@ lapply len linter linters +lintr nlevels -repo +nzchar sourceMarkers stopifnot unstaged