Displaying 1 result from an estimated 1 matches for "version_with_leading_zeroes".
2020 Apr 15
2
Add a new environment variable switch for the 'large version' check
...remain unchanged.
diff --git a/src/library/tools/R/QC.R b/src/library/tools/R/QC.R
index 062722127a..64acd72c5e 100644
--- a/src/library/tools/R/QC.R
+++ b/src/library/tools/R/QC.R
@@ -6963,7 +6963,9 @@ function(dir, localOnly = FALSE)
if(grepl("(^|[.-])0[0-9]+", ver))
out$version_with_leading_zeroes <- ver
unlisted_version <- unlist(package_version(ver))
- if(any(unlisted_version >= 1234 & unlisted_version !=
as.integer(format(Sys.Date(), "%Y"))))
+ if(any(unlisted_version >= 1234 & unlisted_version !=
as.integer(format(Sys.Date(), "%Y"))) &am...