R Under development (unstable) (2024-06-13 r86731 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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") # nolint > library("cleanepi") # nolint > > test_check("cleanepi") Removing unrecognised column name: fake_nameDetected 2 incorrect date sequences at line(s): 6, 8At least 2 event dates are required! cleaning column names removing the constant columns, empty rows and columns removing duplicated rows cleaning column names replacing missing values with NA removing the constant columns, empty rows and columns removing duplicated rows standardising date columns checking subject IDs format converting sex en into numeric performing dictionary-based cleaning checking whether date the sequences are respected 'target_columns' must be provided. cleaning column names replacing missing values with NA removing the constant columns, empty rows and columns removing duplicated rows standardising date columns checking subject IDs format Replace column names already existsAssertion on',keep,'failed: usage of 'linelist_tags' is only reserved for 'linelist' type of data.Assertion on',keep or rename,'failed: Only the column names from the input data can be renamed or kept.Supplied incorrect target column name'fake_column_name' not found.'gender' column has similar number of numeric and character values.'gender' column has similar number of numeric and character values.target_columns not specified and could not be identified from scan_data() function. Detected misspelled values at lines 2 of column 'gender' Please add the misspelled options to the data dictionary using the add_to_dictionary() function. Please add the misspelled options to the data dictionary using the add_to_dictionary() function. Unrecognised column name: 'fake_column_name'Found 57 duplicated rows. Please consult the report for more details. Found 57 duplicated rows. Please consult the report for more details. Found 57 duplicated rows. Please consult the report for more details. Found 57 duplicated rows. Please consult the report for more details. The provided missing value strings must be part of the columns in the data.Can't find columns: fake_column_nameCan't find columns: fake_column_nameorders must be a list of character vectorsDetected incorrect subject ids at lines: 5, 7, 3 Use the correct_subject_ids() function to adjust them.Assertion on',data,'failed: input data frame must be provided.Assertion on',id_column_name,'failed: Missing value not allowed for 'id_column_name'.Assertion on',id_column_name,'failed: Must be a character of length 1.Assertion on',nchar,'failed: template sample IDs format must be provided.All subject ids in the correction table should be part of the subject ids column of the input data.Column in 'correction_table' must be named as 'from' and 'to'Missing values found on ID column in lines: 7Assertion on',target_columns,'failed: all specified target columns will be ignored because they are either empty or constant.Assertion on',keep,'failed: usage of 'linelist_tags' is only reserved for 'linelist' type of data.Some specified column names indices are out of bound.[ FAIL 0 | WARN 139 | SKIP 2 | PASS 297 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-print_report.R:33:3', 'test-print_report.R:49:3' [ FAIL 0 | WARN 139 | SKIP 2 | PASS 297 ] > > proc.time() user system elapsed 44.56 2.03 46.57