Running ‘spelling.R’
  Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(SynthTools)
  > 
  > test_check("SynthTools")
  Observed and synthesized data sets have the same dimensions:  YES
  Variable order the same:  YES
  Variable classification identical:  YES
  factor variables: 6
  integer variables: 1
  Number of factor levels are the same:  YES
  All factor levels are identical:  YES
  STOP:  data sets are different dimensions.
  Observed data: 1000 rows, 7 columns
  Synthesized data: 1000 rows, 6 columns
  Observed and synthesized data sets have the same dimensions:  YES
  Variable order the same:  YES
  Variable classification identical:  YES
  factor variables: 6
  integer variables: 1
  Number of factor levels are the same:  YES
  All factor levels are identical:  YES
  Observed and synthesized data sets have the same dimensions:  YES
  STOP: Variables are NOT in the same order. Reorder variables and try again.
  Observed and synthesized data sets have the same dimensions:  YES
  Variable order the same:  YES
  Variable classification identical:  YES
  factor variables: 6
  integer variables: 1
  Number of factor levels are the same:  YES
  All factor levels are identical:  YES
  Observed and synthesized data sets have the same dimensions:  YES
  Variable order the same:  YES
  Variable classification identical:  NO
    Variable:  Observed class:  New class: 
  1        age          integer      factor
  STOP: Correct variable classifications and try again.
  Observed and synthesized data sets have the same dimensions:  YES
  Variable order the same:  YES
  Variable classification identical:  YES
  factor variables: 6
  integer variables: 1
  Number of factor levels are the same:  YES
  All factor levels are identical:  YES
  Observed and synthesized data sets have the same dimensions:  YES
  Variable order the same:  YES
  Variable classification identical:  YES
  factor variables: 6
  integer variables: 1
  Number of factor levels are the same:  YES
  All factor levels are identical:  YES
  Observed and synthesized data sets have the same dimensions:  YES
  Variable order the same:  YES
  Variable classification identical:  YES
  factor variables: 6
  integer variables: 1
  Number of factor levels are the same:  NO
  Factor with different levels: sex
  Observed and synthesized data sets have the same dimensions:  YES
  Variable order the same:  YES
  Variable classification identical:  YES
  factor variables: 6
  integer variables: 1
  Number of factor levels are the same:  YES
  All factor levels are identical:  YES
  Observed and synthesized data sets have the same dimensions:  YES
  Variable order the same:  YES
  Variable classification identical:  YES
  factor variables: 6
  integer variables: 1
  Number of factor levels are the same:  YES
  All factor levels are identical:  NO
  Factor with different levels: sex
  race and sex OK
  Observed data:
     
        1   2
    1 430 450
    2  27  31
    6  14  17
    8   6   7
    9  10   8
  New data:
     
        1   2
    1 422 458
    2  26  32
    6  14  17
    8   5   8
    9  13   5
  STOP:  data sets are different dimensions.
  Observed data: 1000 rows, 7 columns
  Synthesized data: 1000 rows, 6 columns
  95% Confidence Intervals and Standard Errors of Multiple Imputation for sex
   Response Obs Lower Upper SE In.CI.
          1  NA    NA    NA NA    YES
          2  NA    NA    NA NA    YES
  95% Confidence Intervals and Standard Errors of Multiple Imputation for sex
   Response Obs Lower Upper SE In.CI.
          1  NA    NA    NA NA    YES
          2  NA    NA    NA NA    YES
  ── 1. Failure: Outputs correct number of significant digits (@test-oneCatCI.R#14
  nchar(occi[1, 2]) not equal to siglen + 2.
  1/1 mismatches
  [1] NA - 5 == NA
  
  ── 2. Failure: Outputs correct number of significant digits (@test-oneCatCI.R#15
  nchar(occi[1, 3]) not equal to siglen + 2.
  1/1 mismatches
  [1] NA - 5 == NA
  
  ── 3. Failure: Outputs correct number of significant digits (@test-oneCatCI.R#16
  nchar(occi[1, 4]) not equal to siglen + 2.
  1/1 mismatches
  [1] NA - 5 == NA
  
  ── 4. Failure: Outputs correct number of significant digits (@test-oneCatCI.R#17
  nchar(occi[1, 5]) not equal to siglen + 2.
  1/1 mismatches
  [1] NA - 5 == NA
  
  Overall perturbation rate: 0.191
  Variable perturbation rates:
  age17plus  marriage       vet 
        1.7      18.6       0.0 
  Overall perturbation rate: 0.191
  Variable perturbation rates:
   marriage age17plus       vet 
       18.6       1.7       0.0 
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 31 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
  1. Failure: Outputs correct number of significant digits (@test-oneCatCI.R#14) 
  2. Failure: Outputs correct number of significant digits (@test-oneCatCI.R#15) 
  3. Failure: Outputs correct number of significant digits (@test-oneCatCI.R#16) 
  4. Failure: Outputs correct number of significant digits (@test-oneCatCI.R#17) 
  
  Error: testthat unit tests failed
  Execution halted