Running ‘spelling.R’ [0s/1s]
  Comparing ‘spelling.Rout’ to ‘spelling.Rout.save’ ...5c5
< NULL
---
> All Done!
  Running ‘testthat.R’ [32s/34s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("quanteda")
  Package version: 3.0.0
  Unicode version: 13.0
  ICU version: 67.1
  Parallel computing: 4 of 32 threads used.
  See https://quanteda.io for tutorials and examples.
  > library("quanteda.textmodels")
  > 
  > test_check("quanteda.textmodels")
  
   *** caught segfault ***
  address 0x1d0000056f, cause 'memory not mapped'
  
  Traceback:
   1: qatd_cpp_wordfish(x, as.integer(dir), 1/(priors^2), tol, disp,     dispersion_floor, abs_err, svd_sparse, residual_floor)
   2: textmodel_wordfish.dfm(usdfm, dir = c(6, 5), sparse = TRUE, svd_sparse = TRUE,     residual_floor = 1)
   3: textmodel_wordfish(usdfm, dir = c(6, 5), sparse = TRUE, svd_sparse = TRUE,     residual_floor = 1)
   4: eval(code, test_env)
   5: eval(code, test_env)
   6: 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)
   7: doTryCatch(return(expr), name, parentenv, handler)
   8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
   9: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  10: doTryCatch(return(expr), name, parentenv, handler)
  11: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  12: tryCatchList(expr, classes, parentenv, handlers)
  13: 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) {    })
  14: test_code(desc, code, env = parent.frame(), reporter = reporter)
  15: test_that("textmodel-wordfish (sparse) works as expected on another dataset",     {        usdfm <- dfm(tokens(corpus_subset(data_corpus_inaugural,             Year > 1900)))        wfm_s <- textmodel_wordfish(usdfm, dir = c(6, 5), sparse = TRUE,             svd_sparse = TRUE, residual_floor = 0.5)        wfm_d <- textmodel_wordfish(usdfm, dir = c(6, 5), sparse = FALSE)        cc <- cor(wfm_d$theta, wfm_s$theta)        expect_gt(cc, 0.99)        wfm_s <- textmodel_wordfish(usdfm, dir = c(6, 5), sparse = TRUE,             svd_sparse = TRUE, residual_floor = 1)        cc <- cor(wfm_d$theta, wfm_s$theta)        expect_gt(cc, 0.99)        wfm_s <- textmodel_wordfish(usdfm, dir = c(6, 5), sparse = TRUE,             svd_sparse = TRUE, residual_floor = 2)        cc <- cor(wfm_d$theta, wfm_s$theta)        expect_gt(cc, 0.99)    })
  16: eval(code, test_env)
  17: eval(code, test_env)
  18: 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)
  19: doTryCatch(return(expr), name, parentenv, handler)
  20: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  21: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  22: doTryCatch(return(expr), name, parentenv, handler)
  23: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  24: tryCatchList(expr, classes, parentenv, handlers)
  25: 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) {    })
  26: test_code(NULL, exprs, env)
  27: source_file(path, child_env(env), wrap = wrap)
  28: FUN(X[[i]], ...)
  29: lapply(test_paths, test_one_file, env = env, wrap = wrap)
  30: force(code)
  31: doWithOneRestart(return(expr), restart)
  32: withOneRestart(expr, restarts[[1L]])
  33: withRestarts(testthat_abort_reporter = function() NULL, force(code))
  34: with_reporter(reporters$multi, lapply(test_paths, test_one_file,     env = env, wrap = wrap))
  35: 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)
  36: 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)
  37: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  38: test_check("quanteda.textmodels")
  An irrecoverable exception occurred. R is aborting now ...
  Segmentation fault