Running ‘tinytest.R’
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > if ( require("tinytest", quietly=TRUE) ){ 
  +   test_package("simputation")
  + }
  
  test_em.R.....................    0 tests    
  test_em.R.....................    7 tests [0;32mOK[0m 
  test_em.R.....................   10 tests [0;32mOK[0m [0;34m1.2s[0m
  
  test_foretell.R...............    0 tests    
  test_foretell.R...............    1 tests [0;32mOK[0m 
  test_foretell.R...............    1 tests [0;32mOK[0m 
  test_foretell.R...............    2 tests [0;32mOK[0m 
  test_foretell.R...............    2 tests [0;32mOK[0m 
  test_foretell.R...............    2 tests [0;32mOK[0m 
  test_foretell.R...............    3 tests [0;32mOK[0m 
  test_foretell.R...............    3 tests [0;32mOK[0m 
  test_foretell.R...............    4 tests [0;32mOK[0m 
  test_foretell.R...............    4 tests [0;32mOK[0m 
  test_foretell.R...............    4 tests [0;32mOK[0m 
  test_foretell.R...............    5 tests [0;32mOK[0m [0;34m0.2s[0m
  
  test_gh_issue_11.R............    0 tests    
  test_gh_issue_11.R............    1 tests [0;32mOK[0m 
  test_gh_issue_11.R............    2 tests [0;32mOK[0m 
  test_gh_issue_11.R............    3 tests [0;32mOK[0m [0;36m6ms[0m
  
  test_gh_issue_9.R.............    0 tests    
  test_gh_issue_9.R.............    1 tests [0;32mOK[0m 
  test_gh_issue_9.R.............    2 tests [0;32mOK[0m [0;36m5ms[0m
  
  test_hd.R.....................    0 tests    
  test_hd.R.....................    1 tests [0;32mOK[0m 
  test_hd.R.....................    2 tests [0;32mOK[0m 
  test_hd.R.....................    3 tests [0;32mOK[0m 
  test_hd.R.....................    4 tests [0;32mOK[0m 
  test_hd.R.....................    5 tests [0;32mOK[0m 
  test_hd.R.....................    5 tests [0;32mOK[0m 
  test_hd.R.....................    6 tests [0;32mOK[0m 
  test_hd.R.....................    7 tests [0;32mOK[0m 
  test_hd.R.....................    8 tests [0;32mOK[0m 
  test_hd.R.....................    9 tests [0;32mOK[0m 
  test_hd.R.....................    9 tests [0;32mOK[0m 
  test_hd.R.....................   10 tests [0;32mOK[0m 
  test_hd.R.....................   11 tests [0;32mOK[0m 
  test_hd.R.....................   11 tests [0;32mOK[0m 
  test_hd.R.....................   11 tests [0;32mOK[0m 
  test_hd.R.....................   12 tests [0;32mOK[0m 
  test_hd.R.....................   13 tests [0;32mOK[0m 
  test_hd.R.....................   14 tests [0;32mOK[0m 
  test_hd.R.....................   14 tests [0;32mOK[0m 
  test_hd.R.....................   15 tests [0;32mOK[0m 
  test_hd.R.....................   15 tests [0;32mOK[0m 
  test_hd.R.....................   16 tests [0;32mOK[0m 
  test_hd.R.....................   17 tests [0;32mOK[0m 
  test_hd.R.....................   17 tests [0;32mOK[0m 
  test_hd.R.....................   17 tests [0;32mOK[0m 
  test_hd.R.....................   23 tests [0;32mOK[0m 
  test_hd.R.....................   23 tests [0;32mOK[0m 
  test_hd.R.....................   29 tests [0;32mOK[0m 
  test_hd.R.....................   29 tests [0;32mOK[0m 
  test_hd.R.....................   35 tests [0;32mOK[0m 
  test_hd.R.....................   35 tests [0;32mOK[0m 
   *** caught segfault ***
  address 0x1, cause 'memory not mapped'
  
  Traceback:
   1: gower_work(x = x, y = y, pair_x = pair_x, pair_y = pair_y, n = n,     eps = eps, weights = weights, ignore_case = ignore_case,     nthread = nthread)
   2: gower::gower_topn(recipients[match_vars], donor_pool[match_vars],     n = k)
   3: do_knn(recipients = idat[ina, , drop = FALSE], donor_pool = idat[!ina,     , drop = FALSE], imp_vars = p, match_vars = match_vars, k = k)
   4: knn(dat, imp_vars = predicted, match_vars = predictors, k = k)
   5: FUN(X[[i]], ...)
   6: lapply(split(as.data.frame(dat), dat[groups]), .fun, ...)
   7: is.data.frame(value[[1L]])
   8: unsplit(lapply(split(as.data.frame(dat), dat[groups]), .fun,     ...), dat[groups])
   9: do_by(dat, groups(dat, formula), .fun = knn_work, formula = remove_groups(formula),     pool = pool, k = k, ...)
  10: impute_knn(dat, y ~ x | z, k = 1, pool = pool)
  11: mode(current)
  12: attr.all.equal(target, current, tolerance = tolerance, scale = scale,     ...)
  13: all.equal.numeric(target, current, tolerance = tolerance, ...)
  14: all.equal(target, current, tolerance = tolerance, ...)
  15: fun(...)
  16: expect_equal(impute_knn(dat, y ~ x | z, k = 1, pool = pool)[2,     2], 1)
  17: eval(expr, envir = e)
  18: eval(expr, envir = e)
  19: FUN(X[[i]], ...)
  20: lapply(basename(testfiles), run_test_file, at_home = at_home,     verbose = verbose, color = color, remove_side_effects = remove_side_effects,     ...)
  21: run_test_dir(testdir, at_home = at_home, cluster = cluster, ...)
  22: test_package("simputation")
  An irrecoverable exception occurred. R is aborting now ...