Running ‘testthat.R’ [202s/237s]
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.
  
  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.
  
  1. Failure: compare results convey vs vardpoor (@test-svyarpr.R#46) ------------
  `varse` not equal to 100 * convse.
  1/1 mismatches
  [1] 0.276 - 0.276 == 3.5e-05
  
  
  2. Failure: compare results convey vs vardpoor (@test-svyarpr.R#48) ------------
  `varsed` not equal to 100 * convsed.
  9/9 mismatches (average diff: 0.0861)
  [1] 1.931 - 1.720 ==  0.21122
  [2] 1.081 - 1.061 ==  0.01981
  [3] 0.650 - 0.652 == -0.00155
  [4] 1.058 - 1.158 == -0.09995
  [5] 0.790 - 0.745 ==  0.04478
  [6] 1.054 - 0.988 ==  0.06601
  [7] 0.659 - 0.593 ==  0.06657
  [8] 0.634 - 0.768 == -0.13469
  [9] 1.506 - 1.375 ==  0.13034
  
  
  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.
  
  3. Failure: compare results convey vs vardpoor (@test-svyarpt.R#43) ------------
  `varse` not equal to `convse`.
  1/1 mismatches
  [1] 50.7 - 50.6 == 0.1
  
  
  4. Failure: compare results convey vs vardpoor (@test-svyarpt.R#45) ------------
  `varsed` not equal to `convsed`.
  9/9 mismatches (average diff: 14.1)
  [1] 302 - 259 ==  43.11
  [2] 169 - 159 ==  10.03
  [3] 106 - 105 ==   0.90
  [4] 183 - 190 ==  -6.26
  [5] 139 - 128 ==  11.29
  [6] 144 - 139 ==   5.86
  [7] 128 - 117 ==  11.48
  [8] 103 - 129 == -25.99
  [9] 176 - 165 ==  11.82
  
  
  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.
  
  5. Failure: compare results convey vs vardpoor (@test-svypoormed.R#44) ---------
  `varse` not equal to `convse`.
  1/1 mismatches
  [1] 71.7 - 72.9 == -1.13
  
  
  6. Failure: compare results convey vs vardpoor (@test-svypoormed.R#46) ---------
  `varsed` not equal to `convsed`.
  9/9 mismatches (average diff: 18.3)
  [1] 162 - 145 ==  16.223
  [2] 145 - 143 ==   1.415
  [3] 127 - 128 ==  -0.775
  [4] 426 - 472 == -45.670
  [5] 134 - 127 ==   7.008
  [6] 153 - 143 ==  10.383
  [7] 238 - 213 ==  24.725
  [8] 156 - 190 == -33.671
  [9] 268 - 243 ==  24.859
  
  
  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.
  
  7. Failure: compare results convey vs vardpoor (@test-svyqsr.R#45) -------------
  `varse` not equal to `convse`.
  1/1 mismatches
  [1] 0.0416 - 0.0426 == -0.000939
  
  
  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.
  
  8. Failure: compare results convey vs vardpoor (@test-svyrmpg.R#48) ------------
  `varse` not equal to 100 * convse.
  1/1 mismatches
  [1] 0.569 - 0.576 == -0.00706
  
  
  9. Failure: compare results convey vs vardpoor (@test-svyrmpg.R#50) ------------
  `varsed` not equal to 100 * convsed.
  9/9 mismatches (average diff: 0.171)
  [1] 1.49 - 1.35 ==  0.14706
  [2] 1.31 - 1.30 ==  0.01480
  [3] 1.13 - 1.13 == -0.00461
  [4] 3.89 - 4.32 == -0.42416
  [5] 1.22 - 1.15 ==  0.06892
  [6] 1.41 - 1.31 ==  0.09481
  [7] 2.15 - 1.91 ==  0.23442
  [8] 1.38 - 1.70 == -0.31909
  [9] 2.45 - 2.22 ==  0.22891
  
  
  testthat results ================================================================
  OK: 273 SKIPPED: 0 FAILED: 9
  1. Failure: compare results convey vs vardpoor (@test-svyarpr.R#46) 
  2. Failure: compare results convey vs vardpoor (@test-svyarpr.R#48) 
  3. Failure: compare results convey vs vardpoor (@test-svyarpt.R#43) 
  4. Failure: compare results convey vs vardpoor (@test-svyarpt.R#45) 
  5. Failure: compare results convey vs vardpoor (@test-svypoormed.R#44) 
  6. Failure: compare results convey vs vardpoor (@test-svypoormed.R#46) 
  7. Failure: compare results convey vs vardpoor (@test-svyqsr.R#45) 
  8. Failure: compare results convey vs vardpoor (@test-svyrmpg.R#48) 
  9. Failure: compare results convey vs vardpoor (@test-svyrmpg.R#50) 
  
  Error: testthat unit tests failed
  Execution halted