- using R Under development (unstable) (2026-11-10 r90874)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 23.1.5
flang version 23.1.5
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-11-11 13:36:11 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘data4health/DESCRIPTION’ ... OK
- this is package ‘data4health’ version ‘0.1.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘data4health’ can be installed ... OK
See the install log for details.
- used C compiler: ‘clang version 23.1.5’
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [10s/12s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... ERROR
Running ‘testthat.R’
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/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(data4health)
>
> test_check("data4health")
⚠ No 'time_col' was passed. The aggregation will be done without any temporal resolution.
✅ Aggregation completed successfully.
✅ Aggregation completed successfully.
⚠ No 'space_col' was passed. The aggregation will be done without any spatial resolution.
✅ Aggregation completed successfully.
⚠ No 'time_col' was passed. The aggregation will be done without any temporal resolution.
✅ Aggregation completed successfully.
✅ Aggregation completed successfully.
✅ Aggregation completed successfully.
⚠ No 'space_col' was passed. The aggregation will be done without any spatial resolution.
✅ Aggregation completed successfully.
⚠ No 'time_col' was passed. The aggregation will be done without any temporal resolution.
✅ Aggregation completed successfully.
⚠ No 'space_col' was passed. The aggregation will be done without any spatial resolution.
⚠ No 'time_col' was passed. The aggregation will be done without any temporal resolution.
✅ Aggregation completed successfully.
✅ Aggregation completed successfully.
✅ Aggregation completed successfully.
✅ Aggregation completed successfully.
✅ Aggregation completed successfully.
⚠ No 'time_col' was passed. The aggregation will be done without any temporal resolution.
✅ Aggregation completed successfully.
⚠ No 'space_col' was passed. The aggregation will be done without any spatial resolution.
✅ Aggregation completed successfully.
⚠ No 'time_col' was passed. The aggregation will be done without any temporal resolution.
✅ Aggregation completed successfully.
⚠ No 'time_col' was passed. The aggregation will be done without any temporal resolution.
✅ Successfully loaded 1 file(s).
✅ Aggregation completed successfully.
✅ Aggregation completed successfully.
⚠ No 'time_col' was passed. The aggregation will be done without any temporal resolution.
✅ Aggregation completed successfully.
⚠ Including columns completed partially:
Included: b
Not included: .
✅ Including columns completed successfully. Only the following columns were kept from your dataset: a, b.
✅ Removing columns completed successfully: The following columns were removed from your dataset: b.
✅ Removing columns completed successfully: The following columns were removed from your dataset: a, b.
✅ The following columns were removed from your dataset because they contain more missing data than the established threshold of 50 : b
✅ Renaming columns completed successfully.
✅ Renaming columns completed successfully.
✅ Renaming columns completed successfully.
✅ Renaming columns completed successfully.
✅ Renaming categories completed successfully.
✅ Transforming week to date completed successfully: New column 'epiweek_weekdate' was created.
✅ Transforming week to date completed successfully: New column 'year_week_weekdate' was created.
✅ Transforming month to date completed successfully: New column 'month_monthdate' was created.
✅ Transforming month to date completed successfully: New column 'year_month_monthdate' was created.
✅ Transforming date to monthdate completed successfully: New column 'date_monthdate' was created.
✅ Transforming date to monthnumber completed successfully: New column 'date_monthnumber' was created.
✅ Transforming date to yearnumber completed successfully: New column 'date_year' was created.
✅ Transforming week to date completed successfully: New column 'epiweek_weekdate' was created.
❌ Transforming from epiweek to date has failed: 'epiyw' contains epiweek 53 for an epiyear that only has 52 epiweeks.
Saving _problems/test-d4h_clean-328.R
✅ Transforming date to weekdate completed successfully: New column 'date_weekdate' was created.
✅ Transforming date to weekdate completed successfully: New column 'date_weekdate' was created.
✅ Transforming date to weekdate completed successfully: New column 'date_weekdate' was created.
✅ Transforming date to weeknumber completed successfully: New column 'date_epiyw' was created.
✅ Transforming date to weeknumber completed successfully: New column 'date_epiyw' was created.
✅ Transforming date to weeknumber completed successfully: New column 'date_epiyw' was created.
✅ Transforming date to weekdate completed successfully: New column 'dt_weekdate' was created.
✅ Transforming date to weeknumber completed successfully: New column 'dt_epiyw' was created.
✅ Transforming date to monthdate completed successfully: New column 'dt_monthdate' was created.
✅ Transforming date to monthnumber completed successfully: New column 'dt_monthnumber' was created.
✅ Transforming date to yearnumber completed successfully: New column 'dt_year' was created.
✅ Successfully filtered the dataset.
✅ Successfully filtered the dataset.
✅ Successfully filtered the dataset.
✅ Successfully filtered the dataset.
✅ Successfully filtered the dataset.
✅ Successfully filtered the dataset.
✅ Successfully filtered the dataset.
✅ Successfully filtered the dataset.
✅ Successfully filtered the dataset.
✅ Successfully filtered the dataset.
✅ Successfully filtered the dataset.
✅ Successfully filtered the dataset.
⚠ Your column 'Date' was converted to numeric because you passed filtering parameter 'between'. This may lead to unexpected behaviour.
✅ Successfully filtered the dataset.
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 2 file(s).
✅ Successfully loaded 2 file(s).
✅ Successfully loaded 2 file(s).
✅ Successfully loaded 2 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 2 file(s).
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 1 file(s).
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ One of the files that was merged did not have a header. Only proceed if you are sure that the columns align
✅ Successfully loaded 2 file(s).
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 2 file(s).
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ One of the files that was merged did not have a header. Only proceed if you are sure that the columns align
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 1 file(s).
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ One of the files that was merged did not have a header. Only proceed if you are sure that the columns align
✅ Successfully loaded 2 file(s).
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 1 file(s).
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
✅ Successfully loaded 1 file(s).
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 1 file(s).
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
✅ Successfully loaded 1 file(s).
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 1 file(s).
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 1 file(s).
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ One of the files that was merged did not have a header. Only proceed if you are sure that the columns align
✅ Successfully loaded 2 file(s).
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 2 file(s).
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ One of the files that was merged did not have a header. Only proceed if you are sure that the columns align
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ One of the files that was merged did not have a header. Only proceed if you are sure that the columns align
✅ Successfully loaded 2 file(s).
⚠ It looks like your file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/file1.csv' is missing a header.
If your data has a header, you should specify with setting the header parameter to TRUE.
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ One of the files that was merged did not have a header. Only proceed if you are sure that the columns align
✅ Successfully loaded 2 file(s).
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 2 file(s).
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 2 file(s).
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
⚠ A header will be introduced. Make sure to give it meaningful columnnames using the rename_columns parameters of d4h_clean().
✅ Successfully loaded 2 file(s).
✅ Creating file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/test_file.csv' completed successfully.
✅ Creating file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/test_file.csv2' completed successfully.
✅ Creating file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/test_file2.csv2' completed successfully.
✅ Creating file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/test_file.rds' completed successfully.
✅ Creating file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/test_file.json' completed successfully.
✅ Creating file '/tmp/RtmpHaM36H/working_dir/Rtmp3CoBCb/test_file.xlsx' completed successfully.
✅ Creating file '/data/localhost/ripley/R/packages/tests-clang/data4health.Rcheck/tests/testthat/data4health_20261111_133725.csv' completed successfully.
⚠ Filename included an extension. File will be saved as csv
✅ Creating file 'test.csv' completed successfully.
⚠ Filename included an extension. File will be saved as rds
✅ Creating file 'test.rds' completed successfully.
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 292 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-d4h_ui.R:21:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-d4h_clean.R:323:3'): week_to_date handles week_start correctly ──
Expected `result2$epiweek_weekdate` to be identical to `as.Date(...)`.
Differences:
`actual` is NULL
`expected` is an S3 object of class <Date>, a double vector
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 292 ]
Deleting unused snapshots: 'linux-4.5/d4h_ui/d4h-initial-render-001.png'
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... OK
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR