From 9587f20245a5dd6667a0303fc4f32fb1208efa5b Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Thu, 21 Mar 2024 23:27:16 -0700 Subject: [PATCH] backports update --- R/backport_linter.R | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/R/backport_linter.R b/R/backport_linter.R index ad4fe0759..613ffaf9a 100644 --- a/R/backport_linter.R +++ b/R/backport_linter.R @@ -123,34 +123,37 @@ normalize_r_version <- function(r_version) { # Sources: # devel NEWS https://cran.rstudio.com/doc/manuals/r-devel/NEWS.html # release NEWS https://cran.r-project.org/doc/manuals/r-release/NEWS.html +# NB: character() entries are needed for oldrel specifications backports <- list( - `4.3.0` = character(), # R devel needs to be ahead of all other versions + # NB: if present, R devel needs to be ahead of all other versions + `4.3.0` = c("as.Rconcordance", "matchConcordance", "R_compiled_by", "array2DF"), + `4.2.1` = "findCRANmirror", `4.2.0` = c(".pretty", ".LC.categories", "Sys.setLanguage()"), - `4.1.3` = character(), # need these for oldrel specifications + `4.1.3` = character(), `4.1.0` = c("numToBits", "numToInts", "gregexec", "charClass", "checkRdContents", "...names"), - `4.0.5` = character(), # need these for oldrel specifications + `4.0.5` = character(), `4.0.0` = c( ".class2", ".S3method", "activeBindingFunction", "deparse1", "globalCallingHandlers", "infoRDS", "list2DF", "marginSums", "proportions", "R_user_dir", "socketTimeout", "tryInvokeRestart" ), - `3.6.3` = character(), # need these for oldrel specifications + `3.6.3` = character(), `3.6.0` = c( "asplit", "hcl.colors", "hcl.pals", "mem.maxNsize", "mem.maxVsize", "nullfile", "str2lang", "str2expression", "update_PACKAGES" ), - `3.5.3` = character(), # need these for oldrel specifications + `3.5.3` = character(), `3.5.0` = c("...elt", "...length", "askYesNo", "getDefaultCluster", "isFALSE", "packageDate", "warnErrList"), - `3.4.4` = character(), # need these for oldrel specifications + `3.4.4` = character(), `3.4.0` = c( "check_packages_in_dir_details", "CRAN_package_db", "debugcall", "hasName", "isS3stdgeneric", "strcapture", "Sys.setFileTime", "undebugcall" ), - `3.3.3` = character(), # need these for oldrel specifications + `3.3.3` = character(), `3.3.0` = c( ".traceback", "chkDots", "curlGetHeaders", "endsWith", "grouping", "isS3method", "makevars_site", "makevars_user", "Rcmd", "sigma", "startsWith", "strrep", "validEnc", "validUTF8" ), - `3.2.5` = character(), # need these for oldrel specifications + `3.2.5` = character(), `3.2.0` = c( ".getNamespaceInfo", "check_packages_in_dir_changes", "debuggingState", "dir.exists", "dynGet", "extSoftVersion", "get0", "grSoftVersion", "hsearch_db",