Skip to content

Commit 9587f20

Browse files
backports update
1 parent a4a66ef commit 9587f20

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

R/backport_linter.R

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,34 +123,37 @@ normalize_r_version <- function(r_version) {
123123
# Sources:
124124
# devel NEWS https://cran.rstudio.com/doc/manuals/r-devel/NEWS.html
125125
# release NEWS https://cran.r-project.org/doc/manuals/r-release/NEWS.html
126+
# NB: character() entries are needed for oldrel specifications
126127
backports <- list(
127-
`4.3.0` = character(), # R devel needs to be ahead of all other versions
128+
# NB: if present, R devel needs to be ahead of all other versions
129+
`4.3.0` = c("as.Rconcordance", "matchConcordance", "R_compiled_by", "array2DF"),
130+
`4.2.1` = "findCRANmirror",
128131
`4.2.0` = c(".pretty", ".LC.categories", "Sys.setLanguage()"),
129-
`4.1.3` = character(), # need these for oldrel specifications
132+
`4.1.3` = character(),
130133
`4.1.0` = c("numToBits", "numToInts", "gregexec", "charClass", "checkRdContents", "...names"),
131-
`4.0.5` = character(), # need these for oldrel specifications
134+
`4.0.5` = character(),
132135
`4.0.0` = c(
133136
".class2", ".S3method", "activeBindingFunction", "deparse1", "globalCallingHandlers",
134137
"infoRDS", "list2DF", "marginSums", "proportions", "R_user_dir", "socketTimeout", "tryInvokeRestart"
135138
),
136-
`3.6.3` = character(), # need these for oldrel specifications
139+
`3.6.3` = character(),
137140
`3.6.0` = c(
138141
"asplit", "hcl.colors", "hcl.pals", "mem.maxNsize", "mem.maxVsize", "nullfile", "str2lang",
139142
"str2expression", "update_PACKAGES"
140143
),
141-
`3.5.3` = character(), # need these for oldrel specifications
144+
`3.5.3` = character(),
142145
`3.5.0` = c("...elt", "...length", "askYesNo", "getDefaultCluster", "isFALSE", "packageDate", "warnErrList"),
143-
`3.4.4` = character(), # need these for oldrel specifications
146+
`3.4.4` = character(),
144147
`3.4.0` = c(
145148
"check_packages_in_dir_details", "CRAN_package_db", "debugcall", "hasName",
146149
"isS3stdgeneric", "strcapture", "Sys.setFileTime", "undebugcall"
147150
),
148-
`3.3.3` = character(), # need these for oldrel specifications
151+
`3.3.3` = character(),
149152
`3.3.0` = c(
150153
".traceback", "chkDots", "curlGetHeaders", "endsWith", "grouping", "isS3method",
151154
"makevars_site", "makevars_user", "Rcmd", "sigma", "startsWith", "strrep", "validEnc", "validUTF8"
152155
),
153-
`3.2.5` = character(), # need these for oldrel specifications
156+
`3.2.5` = character(),
154157
`3.2.0` = c(
155158
".getNamespaceInfo", "check_packages_in_dir_changes", "debuggingState",
156159
"dir.exists", "dynGet", "extSoftVersion", "get0", "grSoftVersion", "hsearch_db",

0 commit comments

Comments
 (0)