Last updated on 2026-11-26 18:59:06 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.1 | 12.52 | 111.68 | 124.20 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.1.1 | 8.02 | 81.16 | 89.18 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.1.1 | 9.00 | 75.29 | 84.29 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.1 | 83.41 | ERROR | |||
| r-devel-windows-x86_64 | 0.1.1 | 17.00 | 187.00 | 204.00 | ERROR | |
| r-patched-linux-x86_64 | 0.1.1 | 10.25 | 97.94 | 108.19 | ERROR | |
| r-release-linux-x86_64 | 0.1.1 | 11.97 | 98.49 | 110.46 | ERROR | |
| r-release-macos-arm64 | 0.1.1 | 3.00 | 31.00 | 34.00 | OK | |
| r-release-macos-x86_64 | 0.1.1 | 9.00 | 118.00 | 127.00 | OK | |
| r-release-windows-x86_64 | 0.1.1 | 17.00 | 117.00 | 134.00 | ERROR | |
| r-oldrel-macos-arm64 | 0.1.1 | 3.00 | 34.00 | 37.00 | OK | |
| r-oldrel-macos-x86_64 | 0.1.1 | 10.00 | 109.00 | 119.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.1 | 25.00 | 138.00 | 163.00 | ERROR |
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/10s]
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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/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 '/home/hornik/tmp/scratch/RtmpUWqnqU/test_file.csv' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpUWqnqU/test_file.csv2' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpUWqnqU/test_file2.csv2' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpUWqnqU/test_file.rds' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpUWqnqU/test_file.json' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpUWqnqU/test_file.xlsx' completed successfully.
✅ Creating file '/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/data4health.Rcheck/tests/testthat/data4health_20261124_030335.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
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/8s]
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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/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 '/home/hornik/tmp/scratch/RtmpUIVkcK/test_file.csv' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpUIVkcK/test_file.csv2' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpUIVkcK/test_file2.csv2' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpUIVkcK/test_file.rds' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpUIVkcK/test_file.json' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpUIVkcK/test_file.xlsx' completed successfully.
✅ Creating file '/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/data4health.Rcheck/tests/testthat/data4health_20261125_165810.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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.1
Check: tests
Result: 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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/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/RtmpbJLCb5/working_dir/Rtmp9jWIWc/test_file.csv' completed successfully.
✅ Creating file '/tmp/RtmpbJLCb5/working_dir/Rtmp9jWIWc/test_file.csv2' completed successfully.
✅ Creating file '/tmp/RtmpbJLCb5/working_dir/Rtmp9jWIWc/test_file2.csv2' completed successfully.
✅ Creating file '/tmp/RtmpbJLCb5/working_dir/Rtmp9jWIWc/test_file.rds' completed successfully.
✅ Creating file '/tmp/RtmpbJLCb5/working_dir/Rtmp9jWIWc/test_file.json' completed successfully.
✅ Creating file '/tmp/RtmpbJLCb5/working_dir/Rtmp9jWIWc/test_file.xlsx' completed successfully.
✅ Creating file '/data/localhost/ripley/R/packages/tests-clang/data4health.Rcheck/tests/testthat/data4health_20261125_154745.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
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.1
Check: tests
Result: 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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/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/RtmprTKi6S/working_dir/RtmpTdUpOY/test_file.csv' completed successfully.
✅ Creating file '/tmp/RtmprTKi6S/working_dir/RtmpTdUpOY/test_file.csv2' completed successfully.
✅ Creating file '/tmp/RtmprTKi6S/working_dir/RtmpTdUpOY/test_file2.csv2' completed successfully.
✅ Creating file '/tmp/RtmprTKi6S/working_dir/RtmpTdUpOY/test_file.rds' completed successfully.
✅ Creating file '/tmp/RtmprTKi6S/working_dir/RtmpTdUpOY/test_file.json' completed successfully.
✅ Creating file '/tmp/RtmprTKi6S/working_dir/RtmpTdUpOY/test_file.xlsx' completed successfully.
✅ Creating file '/data/localhost/ripley/R/packages/tests-devel/data4health.Rcheck/tests/testthat/data4health_20261122_151543.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
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [7s]
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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/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 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/test_file.csv' completed successfully.
✅ Creating file 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/test_file.csv2' completed successfully.
✅ Creating file 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/test_file2.csv2' completed successfully.
✅ Creating file 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/test_file.rds' completed successfully.
✅ Creating file 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/test_file.json' completed successfully.
✅ Creating file 'D:\temp\2026_11_22_01_50_00_3014\RtmpsxpSaX/test_file.xlsx' completed successfully.
✅ Creating file 'd:/Rcompile/CRANpkg/local/4.7/data4health.Rcheck/tests/testthat/data4health_20261122_172225.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
Flavor: r-devel-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [7s/10s]
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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/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 '/home/hornik/tmp/scratch/RtmpRYnUz7/test_file.csv' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpRYnUz7/test_file.csv2' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpRYnUz7/test_file2.csv2' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpRYnUz7/test_file.rds' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpRYnUz7/test_file.json' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpRYnUz7/test_file.xlsx' completed successfully.
✅ Creating file '/home/hornik/tmp/R.check/r-patched-gcc/Work/PKGS/data4health.Rcheck/tests/testthat/data4health_20261125_145627.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
Flavor: r-patched-linux-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/11s]
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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/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 '/home/hornik/tmp/scratch/RtmpbdhAkJ/test_file.csv' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpbdhAkJ/test_file.csv2' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpbdhAkJ/test_file2.csv2' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpbdhAkJ/test_file.rds' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpbdhAkJ/test_file.json' completed successfully.
✅ Creating file '/home/hornik/tmp/scratch/RtmpbdhAkJ/test_file.xlsx' completed successfully.
✅ Creating file '/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/data4health.Rcheck/tests/testthat/data4health_20261121_143551.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
Flavor: r-release-linux-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [7s]
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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/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 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/test_file.csv' completed successfully.
✅ Creating file 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/test_file.csv2' completed successfully.
✅ Creating file 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/test_file2.csv2' completed successfully.
✅ Creating file 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/test_file.rds' completed successfully.
✅ Creating file 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/test_file.json' completed successfully.
✅ Creating file 'D:\temp\2026_11_23_10_37_00_27970\RtmpEvXRrI/test_file.xlsx' completed successfully.
✅ Creating file 'd:/Rcompile/CRANpkg/local/4.6/data4health.Rcheck/tests/testthat/data4health_20261124_032059.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
Flavor: r-release-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [10s]
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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/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 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/test_file.csv' completed successfully.
✅ Creating file 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/test_file.csv2' completed successfully.
✅ Creating file 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/test_file2.csv2' completed successfully.
✅ Creating file 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/test_file.rds' completed successfully.
✅ Creating file 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/test_file.json' completed successfully.
✅ Creating file 'D:\temp\2026_11_24_16_41_25_21070\RtmpsD98rr/test_file.xlsx' completed successfully.
✅ Creating file 'd:/Rcompile/CRANpkg/local/4.5/data4health.Rcheck/tests/testthat/data4health_20261125_045913.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
Flavor: r-oldrel-windows-x86_64