Running ‘testthat.R’ [23s/55s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(grafify)
  Loading required package: ggplot2
  > library(rlang)
  
  Attaching package: 'rlang'
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(tidyr)
  
  Attaching package: 'tidyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  > library(lme4)
  Loading required package: Matrix
  
  Attaching package: 'Matrix'
  
  The following objects are masked from 'package:tidyr':
  
      expand, pack, unpack
  
  > 
  > test_check("grafify")
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  [ FAIL 21 | WARN 22 | SKIP 0 | PASS 225 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-plot_3d_scatterbar.R:64:5'): Check 3d scatter bars ───────────
  sb1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_3d_scatterbox.R:63:5'): Check 3d scatter box ────────────
  sb1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_3d_scatterviolin.R:63:5'): Check 3d scatter bars ────────
  sb1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_4d_scatterbar.R:28:5'): Check 4d scatter bars ───────────
  sb1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_4d_scatterbox.R:28:5'): Check 4d scatter box ────────────
  sb1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_4d_scatterviolin.R:28:5'): Check 4d scatter box ─────────
  sb1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_befafter_colors.R:23:5'): Check before-after colors plots ──
  db1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_befafter_colors.R:47:5'): Check before-after colour plots ──
  db2$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_befafter_colors.R:72:5'): Check before-after shapes plots ──
  db2$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_dotbar_sd.R:25:5'): Check dotbar-sd plots ───────────────
  db1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_dotbox.R:25:5'): Check dotbox plots ─────────────────────
  sb1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_dotviolin.R:25:5'): Check dot violin plots ──────────────
  sb1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_point_sd.R:25:5'): Check point-sd plots ─────────────────
  db1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_qqline.R:19:5'): Check QQ plots ─────────────────────────
  db1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_qqline.R:40:5'): Check histogram plots ──────────────────
  db2$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_qqline.R:61:5'): Check density plots ────────────────────
  db2$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_scatterbar_sd.R:25:5'): Check scatter bar plots ─────────
  sb1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_scatterbox.R:25:5'): Check scatter box plots ────────────
  sb1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_scatterviolin.R:25:5'): Check scatter violin plots ──────
  sb1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Failure ('test-plot_xy_CatGroup.R:13:5'): XY plot and Cat groups works ──────
  g1$guides$x$angle (`actual`) not equal to 45 (`expected`).
  
  `actual` is NULL
  `expected` is a double vector (45)
  ── Error ('test-scale_colour_grafify.R:20:3'): Check colour and fill scales ────
  Error in `expect_match(db1$scales$scales[[1]]$scale_name, "muted")`: is.character(act$val) is not TRUE
  Backtrace:
      ▆
   1. └─testthat::expect_match(db1$scales$scales[[1]]$scale_name, "muted") at test-scale_colour_grafify.R:20:3
   2.   └─base::stopifnot(is.character(act$val))
  
  [ FAIL 21 | WARN 22 | SKIP 0 | PASS 225 ]
  Error: Test failures
  Execution halted