diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 19688e3a..d46a7bd7 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -27,8 +27,6 @@ jobs: - {os: macos-latest, r: 'release'} - {os: windows-latest, r: 'release'} - # Use 3.6 to trigger usage of RTools35 - - {os: windows-latest, r: '3.6'} # use 4.1 to check with rtools40's older compiler - {os: windows-latest, r: '4.1'} diff --git a/DESCRIPTION b/DESCRIPTION index 04d5d6a7..f6e9ef69 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -21,7 +21,7 @@ License: MIT + file LICENSE URL: https://poissonconsulting.github.io/chk/, https://github.com/poissonconsulting/chk/ BugReports: https://github.com/poissonconsulting/chk/issues/ Depends: - R (>= 3.6) + R (>= 4.0) Imports: lifecycle, methods, diff --git a/NEWS.md b/NEWS.md index 3700d13e..5ff75f5b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,10 +2,10 @@ # chk 0.9.2 +- No longer support R 3.6 as dependency `evaluate` of suggested dependency `testthat` switched to 4.0. - `check_key()` now preserves active status of `sfc` column of `sf` object. - Fixed `vld_join(by = NULL)` with R 4.5. - # chk 0.9.1 - Fixes incorrect error message with `chk_null_or()` when `vld = chk::vld_xx`. diff --git a/R/internal.R b/R/internal.R index 68ea62cd..552d9b45 100644 --- a/R/internal.R +++ b/R/internal.R @@ -14,9 +14,3 @@ anyDuplicated(x) } - -# remove when no longer support R < 3.6.0 -str2lang <- function(text) { - ex <- parse(text = text, keep.source = FALSE) - ex[[1L]] -}