Running ‘testthat.R’ [82s/83s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(clubSandwich)
  > set.seed(20161201)
  > test_check("clubSandwich")
  1. Failure: vcovCR options work for CR2 (@test_lme_2level.R#31) ----------------
  vcovCR(obj_A, cluster = BodyWeight$Rat, type = "CR2") not identical to `CR2_A`.
  Attributes: < Component "cluster": Attributes: < Names: 1 string mismatch > >
  Attributes: < Component "cluster": Attributes: < Length mismatch: comparison on first 2 components > >
  Attributes: < Component "cluster": Attributes: < Component 2: Lengths (16, 1) differ (string compare on first 1) > >
  Attributes: < Component "cluster": Attributes: < Component 2: 1 string mismatch > >
  
  
  2. Failure: vcovCR options work for CR2 (@test_lme_2level.R#41) ----------------
  vcovCR(obj_A2, cluster = BodyWeight$Rat, type = "CR2") not identical to `CR2_A2`.
  Attributes: < Component "cluster": Attributes: < Names: 1 string mismatch > >
  Attributes: < Component "cluster": Attributes: < Length mismatch: comparison on first 2 components > >
  Attributes: < Component "cluster": Attributes: < Component 2: Lengths (16, 1) differ (string compare on first 1) > >
  Attributes: < Component "cluster": Attributes: < Component 2: 1 string mismatch > >
  
  
  3. Failure: vcovCR options work for CR2 (@test_lme_2level.R#51) ----------------
  vcovCR(obj_A3, cluster = BodyWeight$Rat, type = "CR2") not identical to `CR2_A3`.
  Attributes: < Component "cluster": Attributes: < Names: 1 string mismatch > >
  Attributes: < Component "cluster": Attributes: < Length mismatch: comparison on first 2 components > >
  Attributes: < Component "cluster": Attributes: < Component 2: Lengths (16, 1) differ (string compare on first 1) > >
  Attributes: < Component "cluster": Attributes: < Component 2: 1 string mismatch > >
  
  
  4. Failure: vcovCR options work for CR2 (@test_lme_2level.R#61) ----------------
  vcovCR(obj_B, cluster = Orthodont$Subject, type = "CR2") not identical to `CR2_B`.
  Attributes: < Component "cluster": Attributes: < Names: 1 string mismatch > >
  Attributes: < Component "cluster": Attributes: < Length mismatch: comparison on first 2 components > >
  Attributes: < Component "cluster": Attributes: < Component 2: Lengths (27, 1) differ (string compare on first 1) > >
  Attributes: < Component "cluster": Attributes: < Component 2: 1 string mismatch > >
  
  
  5. Failure: vcovCR options work for CR4 (@test_lme_2level.R#73) ----------------
  vcovCR(obj_A, cluster = BodyWeight$Rat, type = "CR4") not identical to `CR4_A`.
  Attributes: < Component "cluster": Attributes: < Names: 1 string mismatch > >
  Attributes: < Component "cluster": Attributes: < Length mismatch: comparison on first 2 components > >
  Attributes: < Component "cluster": Attributes: < Component 2: Lengths (16, 1) differ (string compare on first 1) > >
  Attributes: < Component "cluster": Attributes: < Component 2: 1 string mismatch > >
  
  
  6. Failure: vcovCR options work for CR4 (@test_lme_2level.R#83) ----------------
  vcovCR(obj_B, cluster = Orthodont$Subject, type = "CR4") not identical to `CR4_B`.
  Attributes: < Component "cluster": Attributes: < Names: 1 string mismatch > >
  Attributes: < Component "cluster": Attributes: < Length mismatch: comparison on first 2 components > >
  Attributes: < Component "cluster": Attributes: < Component 2: Lengths (27, 1) differ (string compare on first 1) > >
  Attributes: < Component "cluster": Attributes: < Component 2: 1 string mismatch > >
  
  
  7. Failure: vcovCR options work for CR2 (@test_lme_3level.R#56) ----------------
  vcovCR(obj_A4, cluster = egsingle$schoolid, type = "CR2") not identical to CR2_mats[["A4"]].
  Attributes: < Component "cluster": Attributes: < Names: 1 string mismatch > >
  Attributes: < Component "cluster": Attributes: < Length mismatch: comparison on first 2 components > >
  Attributes: < Component "cluster": Attributes: < Component 2: Lengths (30, 1) differ (string compare on first 1) > >
  Attributes: < Component "cluster": Attributes: < Component 2: 1 string mismatch > >
  
  
  testthat results ================================================================
  OK: 478 SKIPPED: 3 FAILED: 7
  1. Failure: vcovCR options work for CR2 (@test_lme_2level.R#31) 
  2. Failure: vcovCR options work for CR2 (@test_lme_2level.R#41) 
  3. Failure: vcovCR options work for CR2 (@test_lme_2level.R#51) 
  4. Failure: vcovCR options work for CR2 (@test_lme_2level.R#61) 
  5. Failure: vcovCR options work for CR4 (@test_lme_2level.R#73) 
  6. Failure: vcovCR options work for CR4 (@test_lme_2level.R#83) 
  7. Failure: vcovCR options work for CR2 (@test_lme_3level.R#56) 
  
  Error: testthat unit tests failed
  Execution halted