diff options
Diffstat (limited to 'pkgs/applications/science/math/R/test-reg-packages.patch')
-rw-r--r-- | pkgs/applications/science/math/R/test-reg-packages.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/R/test-reg-packages.patch b/pkgs/applications/science/math/R/test-reg-packages.patch new file mode 100644 index 00000000000..0125565a799 --- /dev/null +++ b/pkgs/applications/science/math/R/test-reg-packages.patch @@ -0,0 +1,15 @@ +Upper bounds shifts due to extra warnings re. internet connectivity. + +diff --git a/tests/reg-packages.R b/tests/reg-packages.R +index c9962ce..a40b0fa 100644 +--- a/tests/reg-packages.R ++++ b/tests/reg-packages.R +@@ -260,7 +260,7 @@ stopifnot(exprs = { + (lenN <- length(print(iN <- grep("^[1-9][0-9]:", tlines)))) >= 2 + iN - iw == seq_len(lenN) # these (3) lines come immediately after 'Warning', + ## and "related" to the some 'missing .. paren' above: +- 8 <= print(iw - i) & iw - i <= 20 # see ~14 ++ 8 <= print(iw - i) & iw - i <= 22 # see ~14 + }) ## failed in R <= 4.1.1 + + |