Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(microdiluteR)
  > 
  > test_check("microdiluteR")
  Enter concentration of row A: Enter concentration of row B: Enter concentration of row C: Enter concentration of row D: Enter concentration of row E: Enter concentration of row F: Enter concentration of row G: Enter concentration of row H: Enter concentration of column 1: Enter concentration of column 2: Enter concentration of column 3: Enter concentration of column 4: Enter concentration of column 5: Enter concentration of column 6: Enter concentration of column 7: Enter concentration of column 8: Enter concentration of column 9: Enter concentration of column 10: Enter concentration of column 11: Enter concentration of column 12: Enter treatment of row A: Enter treatment of row B: Enter treatment of row C: Enter treatment of row D: Enter treatment of row E: Enter treatment of row F: Enter treatment of row G: Enter treatment of row H: Enter treatment of column 1: Enter treatment of column 2: Enter treatment of column 3: Enter treatment of column 4: Enter treatment of column 5: Enter treatment of column 6: Enter treatment of column 7: Enter treatment of column 8: Enter treatment of column 9: Enter treatment of column 10: Enter treatment of column 11: Enter treatment of column 12: Saving _problems/test-apply_sign_test-27.R
  Enter concentration of row A: Enter concentration of row B: Enter concentration of row C: Enter concentration of row D: Enter concentration of row E: Enter concentration of row F: Enter concentration of row G: Enter concentration of row H: Enter concentration of column 1: Enter concentration of column 2: Enter concentration of column 3: Enter concentration of column 4: Enter concentration of column 5: Enter concentration of column 6: Enter concentration of column 7: Enter concentration of column 8: Enter concentration of column 9: Enter concentration of column 10: Enter concentration of column 11: Enter concentration of column 12: Enter experiment identifier for exp1: Enter experiment identifier for exp1: Enter experiment identifier for exp2: Enter group name for grp1: Enter group name for grp1: Enter group name for grp2: Enter well positions (e.g. A-2) of invalid samples separated by spaces: Enter well positions (e.g. A-2) of invalid samples separated by spaces: Enter threshold for distinguishing valid from invalid samples: Enter threshold for distinguishing valid from invalid samples: Enter treatment of row A: Enter treatment of row B: Enter treatment of row C: Enter treatment of row D: Enter treatment of row E: Enter treatment of row F: Enter treatment of row G: Enter treatment of row H: Enter treatment of column 1: Enter treatment of column 2: Enter treatment of column 3: Enter treatment of column 4: Enter treatment of column 5: Enter treatment of column 6: Enter treatment of column 7: Enter treatment of column 8: Enter treatment of column 9: Enter treatment of column 10: Enter treatment of column 11: Enter treatment of column 12: Enter 'threshold' for specifying a threshold or 'samples' for directly providing invalid samples: Enter 'threshold' for specifying a threshold or 'samples' for directly providing invalid samples: Enter 'threshold' for specifying a threshold or 'samples' for directly providing invalid samples: Non-monotonic well positions detected for case: b . Do you want to set this group as valid? (y/n): Non-monotonic well positions detected for case: c . Do you want to set this group as valid? (y/n): Non-monotonic well positions detected for case: b . Do you want to set this group as valid? (y/n): Non-monotonic well positions detected for case: c . Do you want to set this group as valid? (y/n): Non-monotonic well positions detected for case: A.b . Do you want to set this group as valid? (y/n): Non-monotonic well positions detected for case: B.b . Do you want to set this group as valid? (y/n): Non-monotonic well positions detected for case: A.c . Do you want to set this group as valid? (y/n): Non-monotonic well positions detected for case: B.c . Do you want to set this group as valid? (y/n): Enter group name for grp1: Enter experiment identifier for exp1: Enter 'threshold' for specifying a threshold or 'samples' for directly providing invalid samples: Enter well positions (e.g. A-2) of invalid samples separated by spaces: Enter treatment of column 1: Enter treatment of column 2: Enter treatment of column 3: Enter treatment of column 4: Enter treatment of column 5: Enter treatment of column 6: Enter treatment of column 7: Enter treatment of column 8: Enter treatment of column 9: Enter treatment of column 10: Enter treatment of column 11: Enter treatment of column 12: Enter concentration of column 1: Enter concentration of column 2: Enter concentration of column 3: Enter concentration of column 4: Enter concentration of column 5: Enter concentration of column 6: Enter concentration of column 7: Enter concentration of column 8: Enter concentration of column 9: Enter concentration of column 10: Enter concentration of column 11: Enter concentration of column 12: Enter group name for grp1: Enter experiment identifier for exp1: Enter 'threshold' for specifying a threshold or 'samples' for directly providing invalid samples: Enter threshold for distinguishing valid from invalid samples: Enter treatment of row A: Enter treatment of row B: Enter treatment of row C: Enter treatment of row D: Enter treatment of row E: Enter treatment of row F: Enter treatment of row G: Enter treatment of row H: Enter concentration of row A: Enter concentration of row B: Enter concentration of row C: Enter concentration of row D: Enter concentration of row E: Enter concentration of row F: Enter concentration of row G: Enter concentration of row H: Enter group name for grp1: Enter experiment identifier for exp1: Enter 'threshold' for specifying a threshold or 'samples' for directly providing invalid samples: Enter threshold for distinguishing valid from invalid samples: Enter treatment of row A: Enter treatment of row B: Enter treatment of row C: Enter treatment of row D: Enter treatment of row E: Enter treatment of row F: Enter treatment of row G: Enter treatment of row H: Enter concentration of row A: Enter concentration of row B: Enter concentration of row C: Enter concentration of row D: Enter concentration of row E: Enter concentration of row F: Enter concentration of row G: Enter concentration of row H: Enter group name for grp1: Enter experiment identifier for exp1: Enter 'threshold' for specifying a threshold or 'samples' for directly providing invalid samples: Enter well positions (e.g. A-2) of invalid samples separated by spaces: Enter treatment of column 1: Enter treatment of column 2: Enter treatment of column 3: Enter treatment of column 4: Enter treatment of column 5: Enter treatment of column 6: Enter treatment of column 7: Enter treatment of column 8: Enter treatment of column 9: Enter treatment of column 10: Enter treatment of column 11: Enter treatment of column 12: Enter concentration of column 1: Enter concentration of column 2: Enter concentration of column 3: Enter concentration of column 4: Enter concentration of column 5: Enter concentration of column 6: Enter concentration of column 7: Enter concentration of column 8: Enter concentration of column 9: Enter concentration of column 10: Enter concentration of column 11: Enter concentration of column 12: Enter group name for grp1: Enter experiment identifier for exp1: Enter 'threshold' for specifying a threshold or 'samples' for directly providing invalid samples: Enter well positions (e.g. A-2) of invalid samples separated by spaces: Enter treatment of column 1: Enter treatment of column 2: Enter treatment of column 3: Enter treatment of column 4: Enter treatment of column 5: Enter treatment of column 6: Enter treatment of column 7: Enter treatment of column 8: Enter treatment of column 9: Enter treatment of column 10: Enter treatment of column 11: Enter treatment of column 12: Enter concentration of column 1: Enter concentration of column 2: Enter concentration of column 3: Enter concentration of column 4: Enter concentration of column 5: Enter concentration of column 6: Enter concentration of column 7: Enter concentration of column 8: Enter concentration of column 9: Enter concentration of column 10: Enter concentration of column 11: Enter concentration of column 12: [ FAIL 1 | WARN 1 | SKIP 0 | PASS 132 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-apply_sign_test.R:27:3'): apply_sign_test() correctly applies sign test ──
  Expected `unique(result$p)` to equal `c(1, 0.0156)`.
  Differences:
  1/2 mismatches
  [2] 0.0156 - 0.0156 == 2.5e-05
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 132 ]
  Error:
  ! Test failures.
  Execution halted