Running ‘testthat.R’ [166s/188s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(survey)
  Loading required package: grid
  Loading required package: Matrix
  Loading required package: survival
  
  Attaching package: 'survey'
  
  The following object is masked from 'package:graphics':
  
      dotchart
  
  > library(vardpoor)
  Loading required package: data.table
  Loading required package: laeken
  Loading required package: boot
  
  Attaching package: 'boot'
  
  The following object is masked from 'package:survival':
  
      aml
  
  Loading required package: MASS
  Loading required package: stringr
  > library(IC2)
  > 
  > test_check("convey")
  Loading required package: convey
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
  preparing your full survey design to work with R convey package functions
  
  note that this function must be run on the full survey design object immediately after the svydesign() or svrepdesign() call.
  
   *** caught segfault ***
  address 0x30, cause 'memory not mapped'
  
  Traceback:
   1: `[.data.frame`(res@env$resp$tuples, F, , drop = F)
   2: res@env$resp$tuples[F, , drop = F]
   3: dbFetch(rs, n = -1, ...)
   4: dbFetch(rs, n = -1, ...)
   5: DBI::dbGetQuery(dbconnection, query)
   6: DBI::dbGetQuery(dbconnection, query)
   7: getvars(x, design$db$connection, design$db$tablename, updates = design$updates,     subset = design$subset)
   8: svyquantile.DBIsvydesign(x = formula, design = design, quantiles = order,     method = "constant", na.rm = na.rm)
   9: survey::svyquantile(x = formula, design = design, quantiles = order,     method = "constant", na.rm = na.rm)
  10: svyarpt.survey.design(formula = formula, full_design, order = order,     percent = percent, na.rm = na.rm)
  11: NextMethod("svyarpt", design)
  12: svyarpt.DBIsvydesign(formula = formula, full_design, order = order,     percent = percent, na.rm = na.rm)
  13: svyarpt(formula = formula, full_design, order = order, percent = percent,     na.rm = na.rm)
  14: svyrmpg.survey.design(data, design[byfactor %in% byfactor[i],     ], deff = deff, ...)
  15: FUN(data, design[byfactor %in% byfactor[i], ], deff = deff, ...)
  16: FUN(X[[i]], ...)
  17: (if (multicore) parallel::mclapply else lapply)(uniques, function(i) {    if (verbose && !multicore)         print(as.character(byfactor[i]))    if (inherits(formula, "formula"))         data <- formula    else data <- subset(formula, byfactor %in% byfactor[i])    if (covmat || return.replicates) {        FUN(data, design[byfactor %in% byfactor[i], ], deff = deff,             ..., return.replicates = TRUE)    }    else {        FUN(data, design[byfactor %in% byfactor[i], ], deff = deff,             ...)    }})
  18: svyby.default(formula, by, design, ...)
  19: survey::svyby(formula, by, design, ...)
  20: svyby.convey.design(~eqincome, by = ~db040, design = dbd_eusilc,     FUN = svyrmpg, deff = FALSE)
  21: svyby(~eqincome, by = ~db040, design = dbd_eusilc, FUN = svyrmpg,     deff = FALSE)
  22: eval(exprs, env)
  23: eval(exprs, env)
  24: source_file(path, new.env(parent = env), chdir = TRUE)
  25: force(code)
  26: with_reporter(reporter = reporter, start_end_reporter = start_end_reporter,     {        lister$start_file(basename(path))        source_file(path, new.env(parent = env), chdir = TRUE)        end_context()    })
  27: FUN(X[[i]], ...)
  28: lapply(paths, test_file, env = env, reporter = current_reporter,     start_end_reporter = FALSE, load_helpers = FALSE)
  29: force(code)
  30: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE))
  31: test_files(paths, reporter = reporter, env = env, ...)
  32: test_dir(test_path, reporter = reporter, env = env, filter = filter,     ...)
  33: with_top_env(env, {    test_dir(test_path, reporter = reporter, env = env, filter = filter,         ...)})
  34: run_tests(package, test_path, filter, reporter, ...)
  35: test_check("convey")
  An irrecoverable exception occurred. R is aborting now ...