Running ‘testthat.R’ [15s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(sjmisc)
  Learn more about sjmisc with 'browseVignettes("sjmisc")'.
  > 
  > test_check("sjmisc")
  # x
  
       label frq raw.prc valid.prc cum.prc
  1    First   5   41.67     41.67   41.67
  2 Not home   3   25.00     25.00   66.67
  3  Refused   4   33.33     33.33  100.00
  
  
  # y
  
      label frq raw.prc valid.prc cum.prc
  1     A D   5   41.67     41.67   41.67
  2    An E   1    8.33      8.33   50.00
  3 The eff   6   50.00     50.00  100.00
  
  
       label frq raw.prc valid.prc cum.prc
  1    First   5   41.67     41.67   41.67
  2 Not home   3   25.00     25.00   66.67
  3  Refused   4   33.33     33.33  100.00
  
  # x
  
       label frq raw.prc valid.prc cum.prc
  1    First   5   41.67     41.67   41.67
  2 Not home   3   25.00     25.00   66.67
  3  Refused   4   33.33     33.33  100.00
  
  
  # x
  
       label frq raw.prc valid.prc cum.prc
  1    First   5   41.67     41.67   41.67
  2 Not home   3   25.00     25.00   66.67
  3  Refused   4   33.33     33.33  100.00
  
  
  # y
  
      label frq raw.prc valid.prc cum.prc
  1     A D   5   41.67     41.67   41.67
  2    An E   1    8.33      8.33   50.00
  3 The eff   6   50.00     50.00  100.00
  
  
       label frq raw.prc valid.prc cum.prc
  1    First   5   41.67     41.67   41.67
  2 Not home   3   25.00     25.00   66.67
  3  Refused   4   33.33     33.33  100.00
  
  
   iter imp variable
    1   1  Species
    1   2  Species
    1   3  Species
    1   4  Species
    1   5  Species
    2   1  Species
    2   2  Species
    2   3  Species
    2   4  Species
    2   5  Species
    3   1  Species
    3   2  Species
    3   3  Species
    3   4  Species
    3   5  Species
    4   1  Species
    4   2  Species
    4   3  Species
    4   4  Species
    4   5  Species
    5   1  Species
    5   2  Species
    5   3  Species
    5   4  Species
    5   5  Species
  ── 1. Failure: prcn (@test-prcn.R#10)  ─────────────────────────────────────────
  prcn(c(0.2143887, 0.55443, 0.12345)) not equal to c("21.44%", "55.44%", "12.35%").
  1/3 mismatches
  x[3]: "12.34%"
  y[3]: "12.35%"
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 150 | SKIPPED: 12 | WARNINGS: 0 | FAILED: 1 ]
  1. Failure: prcn (@test-prcn.R#10) 
  
  Error: testthat unit tests failed
  Execution halted