Running 'testthat.R' [15s/17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ck37r)
  > 
  > test_check("ck37r")
  Running SL via snow
  Found 0 text files in "inst/extdata" to import.
  Found 0 text files in "inst/extdata../" to import.
  
  
  These packages need to be installed: ck37_blah123 
  install.packages(c("ck37_blah123")) 
  Auto-installing from repository: @CRAN@ 
  Error in install.packages(pkgs[!result], ...) : 
    unable to install packages
  Removing 3 indicators that are constant.
  Local physical cores detected: 16 
  Our BLAS is setup for 1 threads and OMP is 1 threads.
  doPar backend registered: doSEQ 
  Workers enabled: 1 
  Local physical cores detected: 16 
  Our BLAS is setup for 1 threads and OMP is 1 threads.
  doPar backend registered: doSEQ 
  Workers enabled: 1 
  'data.frame':	5000 obs. of  6 variables:
   $ W1: int  1 1 0 1 1 0 0 1 0 0 ...
   $ W2: int  1 1 1 1 1 1 1 0 0 1 ...
   $ W3: num  0.7887 0.9758 0.951 0.6037 0.0303 ...
   $ W4: int  3 2 1 3 2 1 2 1 2 0 ...
   $ A : int  0 0 0 1 0 0 0 1 1 1 ...
   $ Y : int  1 1 1 1 1 0 1 1 0 0 ...
  Local physical cores detected: 16 
  Restricting usage to 2 cores.
  Our BLAS is setup for 1 threads and OMP is 1 threads.
  doPar backend registered: doSEQ 
  Workers enabled: 1 
  X dataframe object size:  0.1  MB
  Stacked df dimensions: 10,000 5 
  Stacked dataframe object size:  0.3  MB
  Estimating Q using custom SuperLearner.
  Q init fit:
  
  
  Call:  
  sl_fn(Y = Y, X = X, family = family, SL.library = Q.SL.library, id = id,  
      verbose = verbose, cvControl = list(V = V)) 
  
  
                   Risk        Coef
  SL.mean_All 0.2386825 0.008542372
  SL.glm_All  0.1761028 0.991457628
  
  Q init times:
  $everything
     user  system elapsed 
    0.176   0.000   0.192 
  
  $train
     user  system elapsed 
    0.138   0.000   0.138 
  
  $predict
     user  system elapsed 
    0.034   0.000   0.049 
  
  
  Q object size: 4.3 Mb
  Estimating g using custom SuperLearner.
  g fit:
  
  
  Call:  
  sl_fn(Y = A, X = W, family = "binomial", SL.library = g.SL.library, id = id,  
      verbose = verbose, cvControl = list(V = V)) 
  
  
                   Risk         Coef
  SL.mean_All 0.2336885 0.0004017322
  SL.glm_All  0.1268937 0.9995982678
  
  g times:
  $everything
     user  system elapsed 
    0.154   0.000   0.154 
  
  $train
     user  system elapsed 
    0.113   0.000   0.113 
  
  $predict
     user  system elapsed 
    0.035   0.000   0.034 
  
  
  g object size: 4.2 Mb
  Passing results to tmle.
  	Estimating missingness mechanism 
  -- 1. Failure: Confirm replicability compared to tmle::tmle() (@test-tmle_parall
  abs(tmle$estimates$ATE$psi - result$estimates$ATE$psi) is not less than .Machine$double.eps * 2. Difference: 0.00475
  
  -- 2. Failure: Confirm replicability compared to tmle::tmle() (@test-tmle_parall
  abs(tmle$estimates$ATE$var.psi - result$estimates$ATE$var.psi) is not less than .Machine$double.eps * 2. Difference: 1.64e-05
  
  X dataframe object size:  0.1  MB
  Stacked df dimensions: 10,000 5 
  Stacked dataframe object size:  0.3  MB
  Estimating Q using custom SuperLearner.
  Q init fit:
  
  
  Call:  
  sl_fn(Y = Y, X = X, family = family, SL.library = Q.SL.library, id = id,  
      verbose = verbose, cvControl = list(V = V)) 
  
  
                   Risk        Coef
  SL.mean_All 0.2386825 0.008542372
  SL.glm_All  0.1761028 0.991457628
  
  Q init times:
  $everything
     user  system elapsed 
    0.167   0.013   0.181 
  
  $train
     user  system elapsed 
    0.137   0.008   0.146 
  
  $predict
     user  system elapsed 
    0.028   0.000   0.029 
  
  
  Q object size: 4.3 Mb
  Estimating g using custom SuperLearner.
  g fit:
  
  
  Call:  
  sl_fn(Y = A, X = W, family = "binomial", SL.library = g.SL.library, id = id,  
      verbose = verbose, cvControl = list(V = V)) 
  
  
                   Risk         Coef
  SL.mean_All 0.2336885 0.0004017322
  SL.glm_All  0.1268937 0.9995982678
  
  g times:
  $everything
     user  system elapsed 
    0.162   0.000   0.164 
  
  $train
     user  system elapsed 
    0.129   0.000   0.131 
  
  $predict
     user  system elapsed 
    0.027   0.000   0.028 
  
  
  g object size: 4.2 Mb
  Passing results to tmle.
  	Estimating missingness mechanism 
  1.4 Mb
  0.5 Mb
  9.1 Mb
  == testthat results  ===========================================================
  [ OK: 0 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 2 ]
  1. Failure: Confirm replicability compared to tmle::tmle() (@test-tmle_parallel.R#42) 
  2. Failure: Confirm replicability compared to tmle::tmle() (@test-tmle_parallel.R#45) 
  
  Error: testthat unit tests failed
  Execution halted