R Under development (unstable) (2025-11-28 r89073 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(cleanIVENT) > > test_check("cleanIVENT") Saving _problems/test-export_results-3.R Saving _problems/test-load_and_clean-12.R Saving _problems/test-split_for_ai-5.R [ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-export_results.R:3:3'): export_results writes output files ───── Error in `tibble(Type = "A.", `S/N` = 1)`: could not find function "tibble" ── Error ('test-load_and_clean.R:3:3'): load_and_clean removes SDA/IPD and adds columns ── Error in `write_csv(tibble(`Patient Class` = c("OP", "IPD", "SDA"), Subtype = c("(Re) Started Drug for Untreated Indication - Indication", "Dose or Frequency increased - Efficacy", "Stopped Drug because of duplicate therapy - Safety"), Response = c("Accepted", "Rejected", NA)), tmp)`: could not find function "write_csv" ── Error ('test-split_for_ai.R:2:3'): split_for_AI splits A–D correctly ──────── Error in `tibble(Type = c("A.", "B.", "C.", "D.", "E.", "F.", NA), `S/N` = 1:7)`: could not find function "tibble" [ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ] Error: ! Test failures. Execution halted