Running ‘testthat.R’ [202s/223s]
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(cancerradarr)
  > 
  > test_check("cancerradarr")
  
  
  processing file: static_report.Rmd
  
  Quitting from static_report.Rmd:45-62 [unnamed-chunk-2]
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  <error/rlang_error>
  Error in `library()`:
  ! there is no package called 'tidyverse'
  ---
  Backtrace:
      x
   1. \-base::library("tidyverse")
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  Saving _problems/test-read_cancerradar_output_02-105.R
  
  > input_file_test.xlsx has been created, please fill it with cancer registry data
  > Reading /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cancerradarr/extdata/ex_cancerRADAR_input_filled.xlsx
  > Reference population aggregation
  custom aggregation ========>----------------------   25% |  ETA:  4s
  
  > Aggregation level: un_region
  	- Data aggregation..
  custom aggregation ====>--------------------------   15% |  ETA: 21s
  custom aggregation ========>----------------------   25% |  ETA: 20s
  custom aggregation ===============>---------------   50% |  ETA: 10s
  custom aggregation ===================>-----------   62% |  ETA:  7s
  custom aggregation ========================>------   79% |  ETA:  4s
  custom aggregation ========================>------   81% |  ETA:  4s
  custom aggregation =========================>-----   84% |  ETA:  4s
  custom aggregation ==========================>----   88% |  ETA:  4s
  
  	- Incidence rates (ir)..
  	- Proportional rates (pr)..
  	- Crude incidence rates (cir)..
  	- Age-standardized incidence rate (asir)..
  	- Crude incidence rates ratio (cirr)..
  	- Age-standardized incidence rates ratio (asirr)..
  	- Crude incidence rates difference (cird)..
  	- Age-standardized incidence rates difference (asird)..
  	- Indirect standardized incidence ratio (sir)..
  	- Proportional incidence ratio (pir)..
  	- Total number of cancer..
  > Aggregation level: un_subregion
  	- Data aggregation..
  custom aggregation ==>----------------------------    7% |  ETA: 37s
  custom aggregation ==>----------------------------    8% |  ETA:  1m
  custom aggregation ===>---------------------------   10% |  ETA:  1m
  custom aggregation ====>--------------------------   13% |  ETA:  1m
  custom aggregation =====>-------------------------   18% |  ETA:  1m
  custom aggregation =======>-----------------------   24% |  ETA:  1m
  custom aggregation =========>---------------------   29% |  ETA: 49s
  custom aggregation =========>---------------------   31% |  ETA:  1m
  custom aggregation ==============>----------------   45% |  ETA: 31s
  custom aggregation ===============>---------------   50% |  ETA: 29s
  custom aggregation ================>--------------   53% |  ETA: 29s
  custom aggregation ================>--------------   55% |  ETA: 29s
  custom aggregation ==================>------------   58% |  ETA: 27s
  custom aggregation ====================>----------   67% |  ETA: 20s
  custom aggregation ======================>--------   72% |  ETA: 17s
  custom aggregation =======================>-------   76% |  ETA: 15s
  custom aggregation ========================>------   82% |  ETA: 11s
  custom aggregation ===========================>---   91% |  ETA:  5s
  custom aggregation =============================>-   96% |  ETA:  2s
  
  	- Incidence rates (ir)..
  	- Proportional rates (pr)..
  	- Crude incidence rates (cir)..
  	- Age-standardized incidence rate (asir)..
  	- Crude incidence rates ratio (cirr)..
  	- Age-standardized incidence rates ratio (asirr)..
  	- Crude incidence rates difference (cird)..
  	- Age-standardized incidence rates difference (asird)..
  	- Indirect standardized incidence ratio (sir)..
  	- Proportional incidence ratio (pir)..
  	- Total number of cancer..
  > Aggregation level: hdi_cat
  	- Data aggregation..
  custom aggregation ======>------------------------   20% |  ETA: 16s
  custom aggregation ========>----------------------   25% |  ETA: 22s
  custom aggregation =========>---------------------   29% |  ETA: 25s
  custom aggregation ================>--------------   54% |  ETA: 11s
  custom aggregation =====================>---------   69% |  ETA:  7s
  custom aggregation ==========================>----   87% |  ETA:  3s
  
  	- Incidence rates (ir)..
  	- Proportional rates (pr)..
  	- Crude incidence rates (cir)..
  	- Age-standardized incidence rate (asir)..
  	- Crude incidence rates ratio (cirr)..
  	- Age-standardized incidence rates ratio (asirr)..
  	- Crude incidence rates difference (cird)..
  	- Age-standardized incidence rates difference (asird)..
  	- Indirect standardized incidence ratio (sir)..
  	- Proportional incidence ratio (pir)..
  	- Total number of cancer..
  > Aggregation level: any_migr
  	- Data aggregation..
  
  	- Incidence rates (ir)..
  	- Proportional rates (pr)..
  	- Crude incidence rates (cir)..
  	- Age-standardized incidence rate (asir)..
  	- Crude incidence rates ratio (cirr)..
  	- Age-standardized incidence rates ratio (asirr)..
  	- Crude incidence rates difference (cird)..
  	- Age-standardized incidence rates difference (asird)..
  	- Indirect standardized incidence ratio (sir)..
  	- Proportional incidence ratio (pir)..
  	- Total number of cancer..
  > Aggregation level: asr_rank_cat
  	- Data aggregation..
  custom aggregation ==>----------------------------    8% |  ETA: 20s
  custom aggregation ========>----------------------   26% |  ETA: 14s
  custom aggregation =============>-----------------   43% |  ETA: 11s
  custom aggregation ====================>----------   67% |  ETA:  5s
  
  	- Incidence rates (ir)..
  	- Proportional rates (pr)..
  	- Crude incidence rates (cir)..
  	- Age-standardized incidence rate (asir)..
  	- Crude incidence rates ratio (cirr)..
  	- Age-standardized incidence rates ratio (asirr)..
  	- Crude incidence rates difference (cird)..
  	- Age-standardized incidence rates difference (asird)..
  	- Indirect standardized incidence ratio (sir)..
  	- Proportional incidence ratio (pir)..
  	- Total number of cancer..
  
  > /tmp/RtmpfdE3rr/file2ba09b4e915bfe.xlsx created!
  
  
  processing file: static_report.Rmd
  
  Quitting from static_report.Rmd:45-62 [unnamed-chunk-2]
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  <error/rlang_error>
  Error in `library()`:
  ! there is no package called 'tidyverse'
  ---
  Backtrace:
      x
   1. \-base::library("tidyverse")
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 262 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-create_static_report.R:35:5'): create_static_report works with example output file ──
  Error in `library("tidyverse")`: there is no package called 'tidyverse'
  Backtrace:
      ▆
   1. └─base::library("tidyverse")
  ── Error ('test-read_cancerradar_output_02.R:105:5'): read_cancerradar_output_02 contains only expected index values ──
  Error in `unzip(file, exdir = xmlDir)`: cannot open file '/tmp/RtmpfdE3rr/file2ba09b2fb95e47/xl/worksheets/sheet16.xml': No space left on device
  Backtrace:
      ▆
   1. └─cancerradarr::read_cancerradar_output_02(filename.out, "un_region") at test-read_cancerradar_output_02.R:105:5
   2.   └─openxlsx::loadWorkbook(filename.out)
   3.     └─utils::unzip(file, exdir = xmlDir)
  ── Error ('test_cancerradarr.R:38:3'): Output file creation ────────────────────
  Error in `library("tidyverse")`: there is no package called 'tidyverse'
  Backtrace:
      ▆
   1. └─base::library("tidyverse")
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 262 ]
  Error:
  ! Test failures.
  Execution halted