[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help for test of pkgload



Hi Jim,

I've updated the Debian package for pkgload.  When running the test suite
I get:


== Failed tests ================================================================
-- Failure (test-dll.r:17:3): unload() unloads DLLs from packages loaded with library() --
require(testDllLoad) is not TRUE
`actual`:   FALSE
`expected`: TRUE 
-- Error (test-dll.r:21:3): unload() unloads DLLs from packages loaded with library() --
Error: could not find function "nulltest"
Backtrace:
    x
 1. \-testthat::expect_true(is.null(nulltest())) test-dll.r:21:2
 2.   \-testthat::quasi_label(enquo(object), label, arg = "object")
 3.     \-rlang::eval_bare(expr, quo_get_env(quo))
-- Error (test-dll.r:44:3): load_all() compiles and loads DLLs -----------------
Error: Could not find tools necessary to compile a package
Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
Backtrace:
    x
 1. \-pkgload::load_all("testDllLoad", reset = TRUE, quiet = TRUE) test-dll.r:44:2
 2.   \-pkgbuild::compile_dll(path, quiet = quiet)
 3.     \-pkgbuild::check_build_tools(quiet = TRUE)
-- Error (test-dll.r:82:3): Specific functions from DLLs listed in NAMESPACE can be called --
Error: Could not find tools necessary to compile a package
Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
Backtrace:
    x
 1. \-pkgload::load_all("testDllLoad", quiet = TRUE) test-dll.r:82:2
 2.   \-pkgbuild::compile_dll(path, quiet = quiet)
 3.     \-pkgbuild::check_build_tools(quiet = TRUE)
-- Error (test-dll.r:108:3): load_all() can compile and load DLLs linked to Rcpp --
Error: Could not find tools necessary to compile a package
Call `pkgbuild::check_build_tools(debug = TRUE)` to diagnose the problem.
Backtrace:
    x
 1. \-pkgload::load_all("testDllRcpp", reset = TRUE, quiet = TRUE) test-dll.r:108:2
 2.   \-pkgbuild::compile_dll(path, quiet = quiet)
 3.     \-pkgbuild::check_build_tools(quiet = TRUE)
[ FAIL 5 | WARN 2 | SKIP 0 | PASS 301 ]
Error: Test failures
Execution halted


There might be a chance that this is caused by the fact that not all
required packages are at the latest version (we are working on this).

Any idea how to fix these test failures?

Kind regards

   Andreas.

-- 
http://fam-tille.de


Reply to: