Running ‘testthat.R’ [25s/48s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(dqrng)
  > 
  > test_check("dqrng")
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 49: Warning: Shift count is too large.
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 83:     Where: While instantiating "unsigned short dqrng::convert_seed_internal<unsigned short, int, 32>(const int*, unsigned)".
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 83:     Where: Instantiated from unsigned short dqrng::convert_seed<unsigned short>(const int*, unsigned).
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 88:     Where: Instantiated from unsigned short dqrng::convert_seed<unsigned short>(Rcpp::Vector<13, PreserveStorage>).
  "convert.cpp", line 12:     Where: Instantiated from std::string  convert_base<unsigned short>(Rcpp::Vector<13, PreserveStorage>).
  "convert.cpp", line 20:     Where: Instantiated from non-template code.
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 58: Warning: Shift count is too large.
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 83:     Where: While instantiating "unsigned short dqrng::convert_seed_internal<unsigned short, int, 32>(const int*, unsigned)".
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 83:     Where: Instantiated from unsigned short dqrng::convert_seed<unsigned short>(const int*, unsigned).
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 88:     Where: Instantiated from unsigned short dqrng::convert_seed<unsigned short>(Rcpp::Vector<13, PreserveStorage>).
  "convert.cpp", line 12:     Where: Instantiated from std::string  convert_base<unsigned short>(Rcpp::Vector<13, PreserveStorage>).
  "convert.cpp", line 20:     Where: Instantiated from non-template code.
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 49: Warning: Shift count is too large.
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 83:     Where: While instantiating "unsigned dqrng::convert_seed_internal<unsigned, int, 32>(const int*, unsigned)".
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 83:     Where: Instantiated from unsigned dqrng::convert_seed<unsigned>(const int*, unsigned).
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 88:     Where: Instantiated from unsigned dqrng::convert_seed<unsigned>(Rcpp::Vector<13, PreserveStorage>).
  "convert.cpp", line 12:     Where: Instantiated from std::string  convert_base<unsigned>(Rcpp::Vector<13, PreserveStorage>).
  "convert.cpp", line 25:     Where: Instantiated from non-template code.
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 58: Warning: Shift count is too large.
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 83:     Where: While instantiating "unsigned dqrng::convert_seed_internal<unsigned, int, 32>(const int*, unsigned)".
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 83:     Where: Instantiated from unsigned dqrng::convert_seed<unsigned>(const int*, unsigned).
  "/home/ripley/R/Lib32/dqrng/include/convert_seed.h", line 88:     Where: Instantiated from unsigned dqrng::convert_seed<unsigned>(Rcpp::Vector<13, PreserveStorage>).
  "convert.cpp", line 12:     Where: Instantiated from std::string  convert_base<unsigned>(Rcpp::Vector<13, PreserveStorage>).
  "convert.cpp", line 25:     Where: Instantiated from non-template code.
  4 Warning(s) detected.
  
   *** caught segfault ***
  address 0, cause 'memory not mapped'
  
  Traceback:
   1: convert_16(-1)
   2: eval_bare(get_expr(quo), get_env(quo))
   3: doTryCatch(return(expr), name, parentenv, handler)
   4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
   5: tryCatchList(expr, classes, parentenv, handlers)
   6: tryCatch({    code    NULL}, error = function(e) e)
   7: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
   8: quasi_capture(enquo(object), capture_error, label = label)
   9: expect_error(convert_16(-1), "seed element out of range")
  10: eval(code, test_env)
  11: eval(code, test_env)
  12: 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)
  13: doTryCatch(return(expr), name, parentenv, handler)
  14: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  15: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  16: doTryCatch(return(expr), name, parentenv, handler)
  17: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  18: tryCatchList(expr, classes, parentenv, handlers)
  19: 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) {    })
  20: test_code(desc, code, env = parent.frame())
  21: test_that("conversion to 16-bit integers works correctly", {    expect_identical(convert_16(0), "0")    expect_identical(convert_16(65535), "65535")    expect_identical(convert_16(c(0, 0, 0)), "0")    expect_identical(convert_16(c(0, 65535)), "65535")    expect_identical(convert_16(c(0, 0, 65535)), "65535")    expect_error(convert_16(-1), "seed element out of range")    expect_error(convert_16(NA_integer_), "seed element out of range")    expect_error(convert_16(65536), "seed element out of range")    expect_error(convert_16(c(1, 0)), "vector implies an out-of-range seed")})
  22: eval(code, test_env)
  23: eval(code, test_env)
  24: 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)
  25: doTryCatch(return(expr), name, parentenv, handler)
  26: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  27: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  28: doTryCatch(return(expr), name, parentenv, handler)
  29: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  30: tryCatchList(expr, classes, parentenv, handlers)
  31: 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) {    })
  32: test_code(NULL, exprs, env)
  33: source_file(path, new.env(parent = env), chdir = TRUE, wrap = wrap)
  34: force(code)
  35: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter,     {        lister$start_file(basename(path))        source_file(path, new.env(parent = env), chdir = TRUE,             wrap = wrap)        end_context()    })
  36: FUN(X[[i]], ...)
  37: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE, wrap = wrap)
  38: force(code)
  39: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE, wrap = wrap))
  40: test_files(paths, reporter = reporter, env = env, stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  41: test_dir(path = test_path, reporter = reporter, env = env, filter = filter,     ..., stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     wrap = wrap)
  42: test_package_dir(package = package, test_path = test_path, filter = filter,     reporter = reporter, ..., stop_on_failure = stop_on_failure,     stop_on_warning = stop_on_warning, wrap = wrap)
  43: test_check("dqrng")
  An irrecoverable exception occurred. R is aborting now ...