Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [48s/71s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(pdqr)
  > 
  > test_check("pdqr")
  ── Skip (test-as_d.R:96:3): as_d.default output approximates CDF after `as_p()` 
  Reason: On CRAN
  
  ── Skip (test-as_d.R:173:3): as_d.default output approximates quantile function 
  Reason: On CRAN
  
  ── Skip (test-as_d.R:197:3): as_d.default output approximates random-gen-func af
  Reason: On CRAN
  
  ── Skip (test-as_d.R:418:3): detect_support_d detects both edges of support ────
  Reason: On CRAN
  
  ── Skip (test-as_d.R:435:3): detect_support_d detects left edge of support ─────
  Reason: On CRAN
  
  ── Skip (test-as_d.R:452:3): detect_support_d detects right edge of support ────
  Reason: On CRAN
  
  ── Skip (test-as_p.R:114:3): as_p.default output approximates density after `as_
  Reason: On CRAN
  
  ── Skip (test-as_p.R:149:3): as_p.default output approximates quantile function 
  Reason: On CRAN
  
  ── Skip (test-as_p.R:173:3): as_p.default output approximates random-gen-func af
  Reason: On CRAN
  
  ── Skip (test-as_p.R:337:3): detect_support_p detects both edges of support ────
  Reason: On CRAN
  
  ── Skip (test-as_p.R:350:3): detect_support_p detects left edge of support ─────
  Reason: On CRAN
  
  ── Skip (test-as_p.R:363:3): detect_support_p detects right edge of support ────
  Reason: On CRAN
  
  ── Skip (test-as_q.R:96:3): as_q.default output approximates CDF after `as_p()` 
  Reason: On CRAN
  
  ── Skip (test-as_q.R:128:3): as_q.default output approximates density after `as_
  Reason: On CRAN
  
  ── Skip (test-as_q.R:185:3): as_q.default output approximates random-gen-func af
  Reason: On CRAN
  
  ── Skip (test-as_q.R:347:3): detect_support_q detects both edges of support ────
  Reason: On CRAN
  
  ── Skip (test-as_q.R:362:3): detect_support_q detects left edge of support ─────
  Reason: On CRAN
  
  ── Skip (test-as_q.R:377:3): detect_support_q detects right edge of support ────
  Reason: On CRAN
  
  ── Skip (test-as_r.R:102:3): as_r.default output approximates CDF after `as_p()`
  Reason: On CRAN
  
  ── Skip (test-as_r.R:157:3): as_r.default output approximates density after `as_
  Reason: On CRAN
  
  ── Skip (test-as_r.R:216:3): as_r.default output approximates quantile function 
  Reason: On CRAN
  
  ── Skip (test-as_r.R:439:3): detect_support_r detects both edges of support ────
  Reason: On CRAN
  
  ── Skip (test-as_r.R:452:3): detect_support_r detects left edge of support ─────
  Reason: On CRAN
  
  ── Skip (test-as_r.R:465:3): detect_support_r detects right edge of support ────
  Reason: On CRAN
  
  ── Skip (test-form-compare.R:61:3): form_geq agrees with simulation ────────────
  Reason: On CRAN
  
  ── Skip (test-form-compare.R:117:3): form_greater agrees with simulation ───────
  Reason: On CRAN
  
  ── Skip (test-form-compare.R:173:3): form_leq agrees with simulation ───────────
  Reason: On CRAN
  
  ── Skip (test-form-compare.R:227:3): form_less agrees with simulation ──────────
  Reason: On CRAN
  
  ── Skip (test-form-compare.R:283:3): form_equal agrees with simulation ─────────
  Reason: On CRAN
  
  ── Skip (test-form-compare.R:323:3): form_not_equal agrees with simulation ─────
  Reason: On CRAN
  
  ── Skip (test-form_retype.R:83:3): form_retype retypes well 'continuous'->'discr
  Reason: On CRAN
  
  ── Skip (test-form_retype.R:101:3): form_retype retypes well 'discrete'->'contin
  Reason: On CRAN
  
  ── FAILURE (test-form_trans.R:222:3): form_trans uses `args_new` as arguments fo
  form_trans(...) not equal to form_trans(list(p_con), sq, method = "random").
  Component "support": Mean relative difference: 0.02531471
  Component "x_tbl": Component "x": Mean relative difference: 0.0281087
  Component "x_tbl": Component "y": Mean relative difference: 0.07905053
  Component "x_tbl": Component "cumprob": Mean relative difference: 0.008198833
  
  ── FAILURE (test-form_trans.R:264:3): form_trans_self works ────────────────────
  form_trans_self(p_dis, sq) not equal to form_trans(list(p_dis), sq, method = "bruteforce").
  Component "x_tbl": Component "prob": Mean relative difference: 0.0298
  Component "x_tbl": Component "cumprob": Mean relative difference: 0.01276678
  
  ── Skip (test-plot.R:16:3): plot.p works ───────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:22:3): plot.p works ───────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:28:3): plot.p works ───────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:34:3): plot.p works ───────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:40:3): plot.p works ───────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:47:3): plot.p works ───────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:53:3): plot.p works ───────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:59:3): plot.p works ───────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:65:3): plot.p works ───────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:74:3): plot.p and lines.p use `n_extra_grid` argument ─────
  Skipping on CRAN
  
  ── Skip (test-plot.R:102:3): plot.d works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:108:3): plot.d works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:114:3): plot.d works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:120:3): plot.d works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:126:3): plot.d works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:134:3): plot.d works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:140:3): plot.d works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:146:3): plot.d works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:152:3): plot.d works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:161:3): plot.d and lines.d use `n_extra_grid` argument ────
  Skipping on CRAN
  
  ── Skip (test-plot.R:176:3): plot.d handles dirac-like 'continuous' functions ──
  Skipping on CRAN
  
  ── Skip (test-plot.R:181:3): plot.d handles dirac-like 'continuous' functions ──
  Skipping on CRAN
  
  ── Skip (test-plot.R:186:3): plot.d handles dirac-like 'continuous' functions ──
  Skipping on CRAN
  
  ── Skip (test-plot.R:191:3): plot.d handles dirac-like 'continuous' functions ──
  Skipping on CRAN
  
  ── Skip (test-plot.R:212:3): plot.q works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:218:3): plot.q works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:224:3): plot.q works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:230:3): plot.q works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:236:3): plot.q works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:244:3): plot.q works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:250:3): plot.q works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:256:3): plot.q works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:262:3): plot.q works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:271:3): plot.q and lines.q use `n_extra_grid` argument ────
  Skipping on CRAN
  
  ── Skip (test-plot.R:297:3): plot.r works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:300:3): plot.r works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:303:3): plot.r works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:308:3): plot.r works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:314:3): plot.r works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:317:3): plot.r works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:320:3): plot.r works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:324:3): plot.r works ──────────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-plot.R:333:3): plot.r uses `n_sample` argument ───────────────────
  Skipping on CRAN
  
  ── Skip (test-region.R:452:3): region_draw works ───────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-region.R:460:3): region_draw works ───────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-region.R:466:3): region_draw works ───────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-region.R:474:3): region_draw works ───────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-summ_roc.R:83:3): roc_plot works ─────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-summ_roc.R:90:3): roc_plot works ─────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-summ_roc.R:100:3): roc_plot works ────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-summ_roc.R:111:3): roc_plot works ────────────────────────────────
  Skipping on CRAN
  
  ── Skip (test-summ_roc.R:118:3): roc_plot works ────────────────────────────────
  Skipping on CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (32)
  ● Skipping on CRAN (52)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test-form_trans.R:222:3): form_trans uses `args_new` as arguments for `new_*()`
  FAILURE (test-form_trans.R:264:3): form_trans_self works
  
  [ FAIL 2 | WARN 0 | SKIP 84 | PASS 3322 ]
  Error: Test failures
  Execution halted