Skip to content

Commit 8b8ed19

Browse files
Bump minimum needed R version to 4.0
closes #1196
1 parent f5744da commit 8b8ed19

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/check-full.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ jobs:
2020
config:
2121
- {os: macos-latest, r: 'release'}
2222

23+
- {os: windows-latest, r: 'devel'}
2324
- {os: windows-latest, r: 'release'}
24-
# Use 3.6 to trigger usage of RTools35
25-
- {os: windows-latest, r: '3.6'}
2625
# use 4.1 to check with rtools40's older compiler
2726
- {os: windows-latest, r: '4.1'}
2827

@@ -56,7 +55,7 @@ jobs:
5655
- uses: r-lib/actions/check-r-package@v2
5756
with:
5857
upload-snapshots: true
59-
error-on: 'ifelse(getRversion() > "3.6", "warning", "note")'
58+
error-on: '"note"'
6059
env:
6160
_R_CHECK_FORCE_SUGGESTS_: false
6261
_R_CHECK_STOP_ON_INVALID_NUMERIC_VERSION_INPUTS_: true

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ License: MIT + file LICENSE
2323
URL: https://github.com/r-lib/styler, https://styler.r-lib.org
2424
BugReports: https://github.com/r-lib/styler/issues
2525
Depends:
26-
R (>= 3.6.0)
26+
R (>= 4.0.0)
2727
Imports:
2828
cli (>= 3.1.1),
2929
magrittr (>= 2.0.0),

R/parse.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ tokenize <- function(text) {
8787
#' @param ... Other arguments passed to [utils::getParseData()].
8888
#' @keywords internal
8989
get_parse_data <- function(text, include_text = TRUE, ...) {
90-
# avoid https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16041
91-
parse_safely(text, keep.source = TRUE)
9290
parsed <- parse_safely(text, keep.source = TRUE)
9391
pd <- utils::getParseData(parsed, includeText = include_text) %>%
9492
styler_df()

0 commit comments

Comments
 (0)