[R] R-3.4.2: make check stops at line 698 of tests/reg-tests-1d.R
Albrecht Kauffmann
alkauffm at fastmail.fm
Wed Nov 1 13:11:49 CET 2017
Hi all,
after compiling R-3.4.2 on opensuse leap 42.3, make check failed. Until
R-3.4.1 I never had a problem with these tests. No, the programm stops
at the following line of tests/reg-tests-1d.R:
> ## available.packages() (not) caching in case of errors
> tools::assertWarning(ap1 <- available.packages(repos = "http://foo.bar"))
> tools::assertWarning(ap2 <- available.packages(repos = "http://foo.bar"))
error in assertCondition(expr, "warning",
.exprString = d.expr) : Got simpleError evaluating of ap2 <-
available.packages(repo ...: wanted warning
The error message is a result of: ap2 <- available.packages(repos =
"http://foo.bar"),
not of the following condition in the test script: stopifnot(nrow(ap1)
== 0, identical(ap1, ap2)) .
ap1 <- available.packages(repos = "http://foo.bar") works well, but the
following line stops the program.
After replacing "http://foo.bar" by "http://foo.poi" (every phrase
different from "bar" works well), reg-test-1d.R passed without error
message the interpreter.
Has someone an idea why the original program code stops (only) at line
698:
tools::assertWarning(ap2 <- available.packages(repos =
"http://foo.bar"))?
With many thanks for every hint,
Albrecht
--
Albrecht Kauffmann
alkauffm at fastmail.fm
More information about the R-help
mailing list