r-cran-pkgbuild failure in autopkgtest
Hi,
I tried to upgrade pkgbuild but stumbled upon two errors in the test
suite for the HEAD of Git packaging[1]:
> test_check("pkgbuild")
-- 1. Error: binary builds return correct filenames (@test-build-process.r#33)
Build process failed
1: expect_true(file.exists(pr$get_built_file())) at testthat/test-build-process.r:33
2: quasi_label(enquo(object), label)
3: eval_bare(get_expr(quo), get_env(quo))
4: file.exists(pr$get_built_file())
5: pr$get_built_file()
6: stop("Build process failed")
-- 2. Error: can build package without src without compiler (@test-build-process
Build process failed
1: without_compiler({
pr <- pkgbuild_process$new("testDummy", binary = TRUE, dest_path = tmp)
pr$wait(60000)
if (pr$is_alive()) {
pr$kill()
skip("has not finished in one minute")
}
expect_true(file.exists(pr$get_dest_path()))
expect_true(file.exists(pr$get_built_file()))
expect_true(!is.na(desc::desc(pr$get_built_file())$get("Built")))
}) at testthat/test-build-process.r:41
2: without_cache({
withr::with_makevars(flags, code)
})
3: withr::with_makevars(flags, code)
4: with_envvar(c(R_MAKEVARS_USER = makevars_file), {
set_makevars(new, path, makevars_file, assignment = assignment)
force(code)
})
5: force(code)
6: force(code)
7: expect_true(file.exists(pr$get_built_file())) at testthat/test-build-process.r:50
8: quasi_label(enquo(object), label)
9: eval_bare(get_expr(quo), get_env(quo))
10: file.exists(pr$get_built_file())
11: pr$get_built_file()
12: stop("Build process failed")
== testthat results ===========================================================
OK: 47 SKIPPED: 2 FAILED: 2
1. Error: binary builds return correct filenames (@test-build-process.r#33)
2. Error: can build package without src without compiler (@test-build-process.r#41)
Error: testthat unit tests failed
Execution halted
Does anybody have an idea what "compiler" the test suite is seeking for?
Kind regards
Andreas.
[1] https://salsa.debian.org/r-pkg-team/r-cran-pkgbuild
--
http://fam-tille.de
Reply to: