Running ‘testthat.R’ [3m/10m]
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(rpanel)
  Loading required package: tcltk
  Package `rpanel', version 1.1-6.1: type help(rpanel) for summary information
  > 
  > test_check("rpanel")
  trying URL 'https://www.churchofengland.org/sites/default/files/2021-12/2020StatisticsForMission_tables.xlsx'
  Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 54094 bytes (52 KB)
  ==================================================
  downloaded 52 KB
  
  trying URL 'https://www.churchofengland.org/sites/default/files/2023-03/parish-finance-statistics-2021_diocesan-totals-.xlsx'
  Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 81867 bytes (79 KB)
  ==================================================
  downloaded 79 KB
  
  trying URL 'https://www.churchofengland.org/sites/default/files/2022-01/Parish_Census_IMD2019_Summary_Jan2022.xlsx'
  Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 6112976 bytes (5.8 MB)
  ==================================================
  downloaded 5.8 MB
  
  trying URL 'https://www.churchofengland.org/sites/default/files/2021-12/2020StatisticsForMission_tables.xlsx'
  Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 54094 bytes (52 KB)
  ==================================================
  downloaded 52 KB
  
  trying URL 'https://www.churchofengland.org/sites/default/files/2023-03/parish-finance-statistics-2021_diocesan-totals-.xlsx'
  Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 81867 bytes (79 KB)
  ==================================================
  downloaded 79 KB
  
  trying URL 'https://www.churchofengland.org/sites/default/files/2022-01/Parish_Census_IMD2019_Summary_Jan2022.xlsx'
  Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 6112976 bytes (5.8 MB)
  ==================================================
  downloaded 5.8 MB
  
  Error in ggplot2::geom_point(ggplot2::aes(x, orig + dsgn * r * scl * d),  : 
    Problem while computing aesthetics.
  i Error occurred in the 3rd layer.
  Caused by error in `check_aesthetics()`:
  ! Aesthetics must be either length 1 or the same as the data (23).
  x Fix the following mappings: `y`.
  Saving _problems/test-rp.sample-15.R
  Saving _problems/test-rp.sample-16.R
  [ FAIL 2 | WARN 2 | SKIP 0 | PASS 277 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-rp.sample.r:15:4'): Standard calls ───────────────────────────
  Expected `pnl <- rp.sample(display = "violin")` not to throw any errors.
  Actually got a <simpleError> with message:
    
  ── Error ('test-rp.sample.r:16:4'): Standard calls ─────────────────────────────
  Error in `eval(parse(text = panelname), envir = .rpenv)`: object 'window168' not found
  Backtrace:
      ▆
   1. └─rpanel::rp.control.dispose(pnl) at test-rp.sample.r:16:4
   2.   └─base::eval(parse(text = panelname), envir = .rpenv)
   3.     └─base::eval(parse(text = panelname), envir = .rpenv)
  
  [ FAIL 2 | WARN 2 | SKIP 0 | PASS 277 ]
  Error:
  ! Test failures.
  Execution halted