Last updated on 2025-10-31 13:51:19 CET.
| Package | ERROR | NOTE | OK | 
|---|---|---|---|
| cancerradarr | 3 | 2 | 8 | 
Current CRAN status: ERROR: 3, NOTE: 2, OK: 8
Version: 2.0.0
Check: tests
Result: ERROR
    Running ‘testthat.R’ [381s/507s]
  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
    
    > input_file_test.xlsx has been created, please fill it with cancer registry data
    > Reading /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/cancerradarr/extdata/ex_cancerRADAR_input_filled.xlsx
    > Reference population aggregation
    custom aggregation ==================>------------   58% |  ETA:  3s
    
    > Aggregation level: un_region
    	- Data aggregation..
    custom aggregation ==>----------------------------    8% |  ETA: 39s
    custom aggregation =====>-------------------------   16% |  ETA: 34s
    custom aggregation =======>-----------------------   23% |  ETA: 34s
    custom aggregation ============>------------------   39% |  ETA: 20s
    custom aggregation ==============>----------------   46% |  ETA: 18s
    custom aggregation ================>--------------   54% |  ETA: 16s
    custom aggregation ====================>----------   67% |  ETA: 11s
    custom aggregation ========================>------   79% |  ETA:  7s
    custom aggregation ========================>------   80% |  ETA:  7s
    custom aggregation =========================>-----   82% |  ETA:  7s
    custom aggregation ==========================>----   88% |  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..
    > Aggregation level: un_subregion
    	- Data aggregation..
    custom aggregation ==>----------------------------    6% |  ETA:  1m
    custom aggregation ==>----------------------------    7% |  ETA:  2m
    custom aggregation ===>---------------------------    9% |  ETA:  2m
    custom aggregation ===>---------------------------   10% |  ETA:  3m
    custom aggregation ===>---------------------------   10% |  ETA:  3m
    custom aggregation ====>--------------------------   12% |  ETA:  3m
    custom aggregation ====>--------------------------   14% |  ETA:  3m
    custom aggregation =====>-------------------------   16% |  ETA:  2m
    custom aggregation =====>-------------------------   17% |  ETA:  2m
    custom aggregation ======>------------------------   20% |  ETA:  2m
    custom aggregation ======>------------------------   22% |  ETA:  2m
    custom aggregation =======>-----------------------   24% |  ETA:  2m
    custom aggregation ========>----------------------   26% |  ETA:  2m
    custom aggregation ========>----------------------   28% |  ETA:  2m
    custom aggregation =========>---------------------   30% |  ETA:  2m
    custom aggregation =========>---------------------   30% |  ETA:  2m
    custom aggregation ==========>--------------------   33% |  ETA:  2m
    custom aggregation ==========>--------------------   33% |  ETA:  2m
    custom aggregation ============>------------------   38% |  ETA:  2m
    custom aggregation ==============>----------------   45% |  ETA:  1m
    custom aggregation ==============>----------------   47% |  ETA:  1m
    custom aggregation ==============>----------------   48% |  ETA:  1m
    custom aggregation ===============>---------------   50% |  ETA:  1m
    custom aggregation ================>--------------   52% |  ETA:  1m
    custom aggregation ================>--------------   52% |  ETA:  1m
    custom aggregation ================>--------------   53% |  ETA:  1m
    custom aggregation ================>--------------   54% |  ETA:  1m
    custom aggregation =================>-------------   57% |  ETA:  1m
    custom aggregation ==================>------------   58% |  ETA:  1m
    custom aggregation ==================>------------   60% |  ETA:  1m
    custom aggregation ====================>----------   66% |  ETA: 50s
    custom aggregation ====================>----------   68% |  ETA: 47s
    custom aggregation =====================>---------   69% |  ETA: 46s
    custom aggregation =====================>---------   71% |  ETA: 43s
    custom aggregation ======================>--------   73% |  ETA: 41s
    custom aggregation ======================>--------   75% |  ETA: 37s
    custom aggregation =======================>-------   77% |  ETA: 34s
    custom aggregation ========================>------   79% |  ETA: 31s
    custom aggregation ========================>------   81% |  ETA: 28s
    custom aggregation =========================>-----   83% |  ETA: 25s
    custom aggregation ==========================>----   86% |  ETA: 21s
    custom aggregation ============================>--   92% |  ETA: 12s
    custom aggregation ============================>--   94% |  ETA:  8s
    custom aggregation =============================>-   97% |  ETA:  5s
    custom aggregation ==============================>   98% |  ETA:  2s
    custom aggregation ==============================>  100% |  ETA:  1s
    
    	- 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 =====>-------------------------   18% |  ETA: 24s
    custom aggregation ======>------------------------   19% |  ETA: 25s
    custom aggregation =======>-----------------------   24% |  ETA: 28s
    custom aggregation =========>---------------------   29% |  ETA: 29s
    custom aggregation ==============>----------------   48% |  ETA: 16s
    custom aggregation ==================>------------   58% |  ETA: 13s
    custom aggregation ====================>----------   65% |  ETA: 11s
    custom aggregation ======================>--------   74% |  ETA:  8s
    custom aggregation =========================>-----   82% |  ETA:  6s
    custom aggregation ============================>--   94% |  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: any_migr
    	- Data aggregation..
    custom aggregation ======================>--------   75% |  ETA:  1s
    
    	- 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 =>-----------------------------    5% |  ETA: 32s
    custom aggregation ====>--------------------------   12% |  ETA: 33s
    custom aggregation ======>------------------------   19% |  ETA: 33s
    custom aggregation =========>---------------------   30% |  ETA: 25s
    custom aggregation ===========>-------------------   38% |  ETA: 22s
    custom aggregation ===============>---------------   49% |  ETA: 18s
    custom aggregation ==================>------------   61% |  ETA: 13s
    
    	- 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..
    
    > /home/hornik/tmp/scratch/Rtmp8uMhx3/file334cc6ae71cf4.xlsx created!
    
    
    processing file: static_report.Rmd
    [ FAIL 2 | WARN 2 | SKIP 0 | PASS 263 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-create_static_report.R:35:5'): create_static_report works with example output file ──
    Error in `file(con, "w")`: cannot open the connection
    Backtrace:
        ▆
     1. └─cancerradarr::create_static_report(temp_file) at test-create_static_report.R:35:5
     2.   └─rmarkdown::render(...)
     3.     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
     4.       └─xfun::write_utf8(res, output)
     5.         └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
     6.           └─base::file(con, "w")
    ── Error ('test_cancerradarr.R:38:3'): Output file creation ────────────────────
    Error in `file(con, "w")`: cannot open the connection
    Backtrace:
        ▆
     1. └─cancerradarr::create_static_report(file.out) at test_cancerradarr.R:38:3
     2.   └─rmarkdown::render(...)
     3.     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
     4.       └─xfun::write_utf8(res, output)
     5.         └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
     6.           └─base::file(con, "w")
    
    [ FAIL 2 | WARN 2 | SKIP 0 | PASS 263 ]
    Error: Test failures
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 2.0.0
Check: tests
Result: ERROR
    Running ‘testthat.R’ [245s/284s]
  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
    
    > 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 ==================>------------   58% |  ETA:  2s
    
    > Aggregation level: un_region
    	- Data aggregation..
    custom aggregation ==>----------------------------    8% |  ETA: 17s
    custom aggregation =======>-----------------------   22% |  ETA: 17s
    custom aggregation =============>-----------------   45% |  ETA:  9s
    custom aggregation ==================>------------   60% |  ETA:  7s
    custom aggregation ========================>------   79% |  ETA:  4s
    custom aggregation ==========================>----   88% |  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: un_subregion
    	- Data aggregation..
    custom aggregation ==>----------------------------    8% |  ETA: 45s
    custom aggregation ====>--------------------------   12% |  ETA:  1m
    custom aggregation =====>-------------------------   17% |  ETA: 48s
    custom aggregation =======>-----------------------   22% |  ETA: 44s
    custom aggregation ========>----------------------   28% |  ETA: 41s
    custom aggregation =========>---------------------   30% |  ETA: 44s
    custom aggregation =============>-----------------   42% |  ETA: 30s
    custom aggregation ===============>---------------   49% |  ETA: 26s
    custom aggregation ================>--------------   53% |  ETA: 25s
    custom aggregation =================>-------------   56% |  ETA: 24s
    custom aggregation ==================>------------   60% |  ETA: 23s
    custom aggregation ====================>----------   68% |  ETA: 17s
    custom aggregation ======================>--------   72% |  ETA: 16s
    custom aggregation =======================>-------   78% |  ETA: 12s
    custom aggregation =========================>-----   82% |  ETA: 10s
    custom aggregation ===========================>---   90% |  ETA:  5s
    custom aggregation ============================>--   94% |  ETA:  3s
    custom aggregation =============================>-   97% |  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 ======>------------------------   19% |  ETA: 15s
    custom aggregation ========>----------------------   25% |  ETA: 20s
    custom aggregation =============>-----------------   43% |  ETA: 12s
    custom aggregation =================>-------------   57% |  ETA:  9s
    custom aggregation =====================>---------   69% |  ETA:  7s
    custom aggregation =========================>-----   83% |  ETA:  4s
    custom aggregation =============================>-   98% |  ETA:  1s
    
    	- 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 =>-----------------------------    4% |  ETA: 38s
    custom aggregation ====>--------------------------   14% |  ETA: 24s
    custom aggregation ========>----------------------   26% |  ETA: 20s
    custom aggregation ============>------------------   39% |  ETA: 16s
    custom aggregation ===============>---------------   51% |  ETA: 12s
    custom aggregation ======================>--------   74% |  ETA:  6s
    
    	- 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/RtmpOFVMwQ/file3063c619376e80.xlsx created!
    
    
    processing file: static_report.Rmd
    [ FAIL 2 | WARN 2 | SKIP 0 | PASS 263 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-create_static_report.R:35:5'): create_static_report works with example output file ──
    Error in `file(con, "w")`: cannot open the connection
    Backtrace:
        ▆
     1. └─cancerradarr::create_static_report(temp_file) at test-create_static_report.R:35:5
     2.   └─rmarkdown::render(...)
     3.     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
     4.       └─xfun::write_utf8(res, output)
     5.         └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
     6.           └─base::file(con, "w")
    ── Error ('test_cancerradarr.R:38:3'): Output file creation ────────────────────
    Error in `file(con, "w")`: cannot open the connection
    Backtrace:
        ▆
     1. └─cancerradarr::create_static_report(file.out) at test_cancerradarr.R:38:3
     2.   └─rmarkdown::render(...)
     3.     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
     4.       └─xfun::write_utf8(res, output)
     5.         └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
     6.           └─base::file(con, "w")
    
    [ FAIL 2 | WARN 2 | SKIP 0 | PASS 263 ]
    Error: Test failures
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.0.0
Check: tests
Result: ERROR
    Running ‘testthat.R’ [365s/423s]
  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
    
    > input_file_test.xlsx has been created, please fill it with cancer registry data
    > Reading /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/cancerradarr/extdata/ex_cancerRADAR_input_filled.xlsx
    > Reference population aggregation
    custom aggregation ==========>--------------------   33% |  ETA:  5s
    
    > Aggregation level: un_region
    	- Data aggregation..
    custom aggregation =>-----------------------------    4% |  ETA:  1m
    custom aggregation ===>---------------------------   10% |  ETA: 46s
    custom aggregation =====>-------------------------   17% |  ETA: 42s
    custom aggregation =======>-----------------------   23% |  ETA: 38s
    custom aggregation ============>------------------   42% |  ETA: 20s
    custom aggregation ===============>---------------   50% |  ETA: 17s
    custom aggregation =================>-------------   57% |  ETA: 15s
    custom aggregation =======================>-------   76% |  ETA:  7s
    custom aggregation ========================>------   79% |  ETA:  7s
    custom aggregation ========================>------   80% |  ETA:  7s
    custom aggregation ==========================>----   88% |  ETA:  5s
    custom aggregation ============================>--   95% |  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: un_subregion
    	- Data aggregation..
    custom aggregation ==>----------------------------    7% |  ETA:  1m
    custom aggregation ==>----------------------------    7% |  ETA:  2m
    custom aggregation ===>---------------------------    9% |  ETA:  2m
    custom aggregation ===>---------------------------   10% |  ETA:  2m
    custom aggregation ====>--------------------------   13% |  ETA:  2m
    custom aggregation ====>--------------------------   15% |  ETA:  2m
    custom aggregation ======>------------------------   18% |  ETA:  2m
    custom aggregation ======>------------------------   21% |  ETA:  2m
    custom aggregation ========>----------------------   25% |  ETA:  1m
    custom aggregation ========>----------------------   28% |  ETA:  1m
    custom aggregation =========>---------------------   30% |  ETA:  1m
    custom aggregation ==========>--------------------   33% |  ETA:  1m
    custom aggregation ==============>----------------   46% |  ETA:  1m
    custom aggregation ==============>----------------   48% |  ETA: 50s
    custom aggregation ================>--------------   52% |  ETA: 48s
    custom aggregation ================>--------------   52% |  ETA: 48s
    custom aggregation ================>--------------   54% |  ETA: 47s
    custom aggregation =================>-------------   56% |  ETA: 45s
    custom aggregation =================>-------------   58% |  ETA: 44s
    custom aggregation ==================>------------   61% |  ETA: 41s
    custom aggregation ====================>----------   66% |  ETA: 34s
    custom aggregation ====================>----------   68% |  ETA: 33s
    custom aggregation =====================>---------   71% |  ETA: 30s
    custom aggregation ======================>--------   73% |  ETA: 28s
    custom aggregation =======================>-------   76% |  ETA: 25s
    custom aggregation ========================>------   79% |  ETA: 22s
    custom aggregation =========================>-----   82% |  ETA: 19s
    custom aggregation ==========================>----   86% |  ETA: 15s
    custom aggregation ============================>--   93% |  ETA:  7s
    custom aggregation =============================>-   97% |  ETA:  3s
    custom aggregation ==============================>   99% |  ETA:  1s
    
    	- 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 =====>-------------------------   18% |  ETA: 19s
    custom aggregation =======>-----------------------   24% |  ETA: 21s
    custom aggregation =========>---------------------   29% |  ETA: 23s
    custom aggregation ===============>---------------   49% |  ETA: 13s
    custom aggregation ==================>------------   60% |  ETA: 10s
    custom aggregation ====================>----------   68% |  ETA:  9s
    custom aggregation =======================>-------   77% |  ETA:  6s
    custom aggregation =========================>-----   85% |  ETA:  4s
    custom aggregation ============================>--   92% |  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: any_migr
    	- Data aggregation..
    custom aggregation =====================>---------   71% |  ETA:  1s
    
    	- 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 ===>---------------------------   11% |  ETA: 29s
    custom aggregation ======>------------------------   20% |  ETA: 25s
    custom aggregation =========>---------------------   31% |  ETA: 22s
    custom aggregation ============>------------------   42% |  ETA: 17s
    custom aggregation ===============>---------------   51% |  ETA: 15s
    custom aggregation ====================>----------   67% |  ETA:  9s
    
    	- 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..
    
    > /home/hornik/tmp/scratch/RtmpIE42nZ/file17a69647087d84.xlsx created!
    
    
    processing file: static_report.Rmd
    [ FAIL 2 | WARN 2 | SKIP 0 | PASS 263 ]
    
    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-create_static_report.R:35:5'): create_static_report works with example output file ──
    Error in `file(con, "w")`: cannot open the connection
    Backtrace:
        ▆
     1. └─cancerradarr::create_static_report(temp_file) at test-create_static_report.R:35:5
     2.   └─rmarkdown::render(...)
     3.     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
     4.       └─xfun::write_utf8(res, output)
     5.         └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
     6.           └─base::file(con, "w")
    ── Error ('test_cancerradarr.R:38:3'): Output file creation ────────────────────
    Error in `file(con, "w")`: cannot open the connection
    Backtrace:
        ▆
     1. └─cancerradarr::create_static_report(file.out) at test_cancerradarr.R:38:3
     2.   └─rmarkdown::render(...)
     3.     └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
     4.       └─xfun::write_utf8(res, output)
     5.         └─base::writeLines(enc2utf8(text), con, ..., useBytes = TRUE)
     6.           └─base::file(con, "w")
    
    [ FAIL 2 | WARN 2 | SKIP 0 | PASS 263 ]
    Error: Test failures
    Execution halted
Flavor: r-patched-linux-x86_64
Version: 2.0.0
Check: installed package size
Result: NOTE
    installed size is  7.7Mb
    sub-directories of 1Mb or more:
      extdata   7.2Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64