CRAN Package Check Results for Package sentopics

Last updated on 2022-08-08 14:52:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.1 85.68 471.41 557.09 OK
r-devel-linux-x86_64-debian-gcc 0.7.1 65.48 290.05 355.53 ERROR
r-devel-linux-x86_64-fedora-clang 0.7.1 462.36 NOTE
r-devel-linux-x86_64-fedora-gcc 0.7.1 597.91 NOTE
r-devel-windows-x86_64 0.7.1 108.00 404.00 512.00 OK
r-patched-linux-x86_64 0.7.1 73.91 421.55 495.46 OK
r-release-linux-x86_64 0.7.1 OK
r-release-macos-arm64 0.7.1 189.00 NOTE
r-release-macos-x86_64 0.7.1 208.00 NOTE
r-release-windows-x86_64 0.7.1 123.00 410.00 533.00 OK
r-oldrel-macos-arm64 0.7.1 172.00 NOTE
r-oldrel-macos-x86_64 0.7.1 203.00 NOTE
r-oldrel-windows-ix86+x86_64 0.7.1 189.00 668.00 857.00 OK

Check Details

Version: 0.7.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [65s/98s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     >
     > library("testthat")
     > library("sentopics")
     >
     > if (Sys.getenv("R_COVR") != "true") {
     + test_check("sentopics")
     + } else {
     + test_check("sentopics", reporter = default_reporter())
     + # test_check("sentopics", reporter = LocationReporter)
     + }
    
     *** caught bus error ***
     address (nil), cause 'unknown'
    
     Traceback:
     1: qatd_cpp_tokens_recompile(x, type, gap, dup)
     2: tokens_recompile(x)
     3: tokens_wordstem.tokens(x)
     4: quanteda::tokens_wordstem(x)
     5: compute_PicaultRenault_scores(ECB_press_conferences)
     6: eval(code, test_env)
     7: eval(code, test_env)
     8: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error)
     9: doTryCatch(return(expr), name, parentenv, handler)
     10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     11: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
     12: doTryCatch(return(expr), name, parentenv, handler)
     13: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]])
     14: tryCatchList(expr, classes, parentenv, handlers)
     15: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { })
     16: test_code(desc, code, env = parent.frame(), reporter = reporter)
     17: test_that("compute_PicaultRenault_scores works", { docs <- quanteda::corpus_reshape(ECB_press_conferences, "documents") res1 <- compute_PicaultRenault_scores(docs) res2 <- compute_PicaultRenault_scores(ECB_press_conferences) res2 <- apply(res2, 2, function(x) aggregate(x, by = list(quanteda::docid(ECB_press_conferences)), mean)$x) expect_equal(res1, res2, check.attributes = FALSE)})
     18: eval(code, test_env)
     19: eval(code, test_env)
     20: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error)
     21: doTryCatch(return(expr), name, parentenv, handler)
     22: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     23: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
     24: doTryCatch(return(expr), name, parentenv, handler)
     25: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]])
     26: tryCatchList(expr, classes, parentenv, handlers)
     27: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { })
     28: test_code(NULL, exprs, env)
     29: source_file(path, child_env(env), wrap = wrap)
     30: FUN(X[[i]], ...)
     31: lapply(test_paths, test_one_file, env = env, wrap = wrap)
     32: doTryCatch(return(expr), name, parentenv, handler)
     33: tryCatchOne(expr, names, parentenv, handlers[[1L]])
     34: tryCatchList(expr, classes, parentenv, handlers)
     35: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL})
     36: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, wrap = wrap))
     37: test_files(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, wrap = wrap, load_package = load_package)
     38: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, wrap = wrap, load_package = load_package, parallel = parallel)
     39: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed")
     40: test_check("sentopics")
     An irrecoverable exception occurred. R is aborting now ...
     Bus error
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.7.1
Check: Rd cross-references
Result: NOTE
    Undeclared package ‘lexicon’ in Rd xrefs
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.7.1
Check: data for non-ASCII characters
Result: NOTE
     Note: found 3128 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.7.1
Check: installed package size
Result: NOTE
     installed size is 6.4Mb
     sub-directories of 1Mb or more:
     data 1.2Mb
     libs 4.3Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64