R version 4.6.0 beta (2026-04-12 r89872 ucrt) -- "Because it was There" Copyright (C) 2026 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(REDCapSync) > > test_check("REDCapSync") v Directory is Valid! C:/Users/CRAN/AppData/Local/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45703acf5bf3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45703acf5bf3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457059e83fd2/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457059e83fd2/Cache/R/REDCapSync ! No cached projects... use `setup_project(...)` v Saved TEST_CLASSIC! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457059e83fd2/Cache/R/REDCapSync/R_objects/TEST_CLASSIC_REDCapSync.RData v Cleared project datasets! i Saved 'TEST_CLASSIC_fake.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457059e83fd2/Cache/R/REDCapSync/output/TEST_CLASSIC_fake.xlsx v Saved TEST_CLASSIC! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457059e83fd2/Cache/R/REDCapSync/R_objects/TEST_CLASSIC_REDCapSync.RData i Saved 'TEST_CLASSIC_fake2.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457059e83fd2/Cache/R/REDCapSync/output/TEST_CLASSIC_fake2.xlsx v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45703acf5bf3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45705248469e/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API ! new_summary is already a defined dataset i It will be loaded... other paramers ignored v Cleared project datasets! ! `dataset_name` not provided: Using 'custom' v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45703acf5bf3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API -- REDCapSyncProject ----------------------------------------------------------- Title: Test Classic PID: 12341 Token Name: REDCAPSYNC_TEST_CLASSIC Sync Frequency: daily Last Update: 2026-04-12 17:47:57.784648 REDCap: Directory: 'D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45703acf5bf3/Cache/R/REDCapSync' -- Help -- Pkgdown: Github: Datasets: `vignette(REDCapSync::Datasets)` Tokens: `vignette(REDCapSync::Tokens)` -- REDCapSyncProject ----------------------------------------------------------- Name: TEST_CLASSIC Title: Test Classic PID: 12341 Sync Frequency: daily Last Update: 2026-04-12 17:47:57.784648 REDCap: Directory: 'D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45703acf5bf3/Cache/R/REDCapSync' -- Help -- Pkgdown: Github: Datasets: `vignette(REDCapSync::Datasets)` Tokens: `vignette(REDCapSync::Tokens)` -- REDCapSyncProject ----------------------------------------------------------- Name: TEST_CLASSIC Title: Test Classic Token Name: REDCAPSYNC_TEST_CLASSIC Sync Frequency: daily Last Update: 2026-04-12 17:47:57.784648 REDCap: Directory: 'D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45703acf5bf3/Cache/R/REDCapSync' -- Help -- Pkgdown: Github: Datasets: `vignette(REDCapSync::Datasets)` Tokens: `vignette(REDCapSync::Tokens)` v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45703acf5bf3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API Would have uploaded! Would have synced! v 'FAKE4' removed from cache, but files may still be located in the directory. ! 'FAKE4' is not in your cache. Nothing to do. ! You must delete files manually from the directory. v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702b7c3864/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API ! No cached projects... use `setup_project(...)` ! No cached projects... use `setup_project(...)` ! No cached projects... use `setup_project(...)` v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702b7c3864/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API ! No cached projects... use `setup_project(...)` ! No cached projects... use `setup_project(...)` ! No cached projects... use `setup_project(...)` v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702b7c3864/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702b7c3864/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API i Updated cache! This can happen when using multiple computers or with version changes. v REDCapSync saved 1 project locations to the cache...TEST_CLASSIC v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Cleared project datasets! v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Cleared project datasets! v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API i Saved 'TEST_CLASSIC_SAVE_SUMMARY_TEST.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/output/TEST_CLASSIC_SAVE_SUMMARY_TEST.xlsx i Saved 'TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_merged.csv'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/output/TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_merged.csv i Saved 'TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_forms.csv'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/output/TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_forms.csv i Saved 'TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_fields.csv'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/output/TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_fields.csv i Saved 'TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_choices.csv'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/output/TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_choices.csv i Saved 'TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_missing_codes.csv'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/output/TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_missing_codes.csv i Saved 'TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_users.csv'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/output/TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_users.csv i Saved 'TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_records.csv'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/output/TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_records.csv i Saved 'TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_dataset_details.csv'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/output/TEST_CLASSIC_SAVE_SUMMARY_TEST_CSV_dataset_details.csv v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Cleared project datasets! i Saved 'TEST_CLASSIC_text.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_text.xlsx i Saved 'TEST_CLASSIC_other.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_other.xlsx i Saved 'TEST_CLASSIC_forms.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_forms.xlsx i Saved 'TEST_CLASSIC_fields.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_fields.xlsx i Saved 'TEST_CLASSIC_choices.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_choices.xlsx i Saved 'TEST_CLASSIC_missing_codes.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_missing_codes.xlsx i Saved 'TEST_CLASSIC_users.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_users.xlsx i Saved 'TEST_CLASSIC_dataset_details.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_dataset_details.xlsx i Saved 'TEST_CLASSIC_REDCapSync.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457039f91f26/Cache/R/REDCapSync/output/TEST_CLASSIC_REDCapSync.xlsx v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702526545f/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Cleared project datasets! x REDCapSync not included in current dataset_names! i Saved 'TEST_CLASSIC_REDCapSync.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702526545f/Cache/R/REDCapSync/output/TEST_CLASSIC_REDCapSync.xlsx v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570736f10d0/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570736f10d0/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API x Random Thing x Affected records: 3 v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570736f10d0/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570736f10d0/Cache/R/REDCapSync v Loaded TEST project TEST_REDCAPR_LONGITUDINAL! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570736f10d0/Cache/R/REDCapSync v Loaded TEST project TEST_REPEATING! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570736f10d0/Cache/R/REDCapSync v Loaded TEST project TEST_REPEATING! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570736f10d0/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570736f10d0/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570736f10d0/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API ! No cached projects... use `setup_project(...)` ! No cached projects... use `setup_project(...)` v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570ed75690/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API ! No cached projects... use `setup_project(...)` v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570346c370e/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API ! No cached projects... use `setup_project(...)` v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457073b426a8/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API ! No cached projects... use `setup_project(...)` ! No cached projects... use `setup_project(...)` v Saved TEST_CLASSIC! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457073b426a8/Cache/R/REDCapSync/R_objects/TEST_CLASSIC_REDCapSync.RData ! You must delete files manually from the directory. v REDCapSync cache cleared! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457073b426a8/Cache/R/REDCapSync ! No cached projects... use `setup_project(...)` v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570561a3efe/Cache/R/REDCapSync v Loaded TEST project TEST_REPEATING! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570561a3efe/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570561a3efe/Cache/R/REDCapSync v Loaded TEST project TEST_REDCAPR_LONGITUDINAL! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570561a3efe/Cache/R/REDCapSync v Loaded TEST project TEST_REPEATING! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570561a3efe/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570561a3efe/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570561a3efe/Cache/R/REDCapSync v Loaded TEST project TEST_REDCAPR_LONGITUDINAL! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570561a3efe/Cache/R/REDCapSync v Loaded TEST project TEST_REPEATING! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570561a3efe/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457044b71be/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API x API FAILED! x `other_var_sig_ID_1.png` failed to save! x API FAILED! x `other_var_file_ID_1.csv` failed to save! v Checked for files! Stored at ... D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457044b71be/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/files > `other_var_sig_ID_1.png` saved. v Checked for files! Stored at ... D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457044b71be/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/files > `signature_2025-11-19_1956.png` saved. v Checked for files! Stored at ... D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457044b71be/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/files v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457014f867d/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API i Renamed: 1c i Updated: updated_record i Comments: comment_record i Deleted: deleted_record i Comments: comment_record i Deleted: deleted_record i Updated: updated_record v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45702da37ee3/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API ! No cached projects... use `setup_project(...)` v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45706fa9602/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45706fa9602/Cache/R/REDCapSync v Loaded TEST project TEST_DATA! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45706fa9602/Cache/R/REDCapSync v Loaded TEST project TEST_LONGITUDINAL! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45706fa9602/Cache/R/REDCapSync i Setup blank project because `hard_reset = TRUE` ! No valid token in session: Sys.getenv('REDCAPSYNC_TEST_CLASSIC') v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457068fc7770 v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457068fc7770 v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570725973df/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API ! No cached projects... use `setup_project(...)` v Saved TEST_CLASSIC! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570725973df/Cache/R/REDCapSync/R_objects/TEST_CLASSIC_REDCapSync.RData v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570725973df/Cache/R/REDCapSync v Loaded TEST_CLASSIC! v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570725973df/Cache/R/REDCapSync v Loaded TEST_CLASSIC! ! No valid token in session: Sys.getenv('REDCAPSYNC_TEST_CLASSIC') v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570725973df/Cache/R/REDCapSync v Loaded TEST_CLASSIC! i Setup blank project because `hard_reset = TRUE` ! No valid token in session: Sys.getenv('REDCAPSYNC_TEST_CLASSIC') v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45703ecd2cc2/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API ! No cached projects... use `setup_project(...)` v Saved TEST_CLASSIC! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45703ecd2cc2/Cache/R/REDCapSync/R_objects/TEST_CLASSIC_REDCapSync.RData v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45703ecd2cc2/Cache/R/REDCapSync v Loaded TEST_CLASSIC! v All projects are synced! v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45701869ec/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v All projects are synced! ! No cached projects... use `setup_project(...)` v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API ! No cached projects... use `setup_project(...)` v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API i Updated: 1 i Comments: 7, 1 i Saved 'TEST_CLASSIC_text.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_text.xlsx i Saved 'TEST_CLASSIC_other.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_other.xlsx i Saved 'TEST_CLASSIC_forms.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_forms.xlsx i Saved 'TEST_CLASSIC_fields.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_fields.xlsx i Saved 'TEST_CLASSIC_choices.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_choices.xlsx i Saved 'TEST_CLASSIC_missing_codes.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_missing_codes.xlsx i Saved 'TEST_CLASSIC_users.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_users.xlsx i Saved 'TEST_CLASSIC_dataset_details.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync/REDCap/TEST_CLASSIC/TEST_CLASSIC_dataset_details.xlsx i Saved 'TEST_CLASSIC_REDCapSync.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync/output/TEST_CLASSIC_REDCapSync.xlsx v Saved TEST_CLASSIC! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync/R_objects/TEST_CLASSIC_REDCapSync.RData v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Up to date already! v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file45704f3e50f9/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Full TEST_CLASSIC update! v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457034866e3c/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API i You can set REDCap tokens the following ways ... i See the `vignette(REDCapSync::Tokens)` vignette. i 1. environment variables (preferred) * User R environ file --> 'd:/RCompile/CRANincoming/R-devel/REDCapSync.Rcheck/tests/testthat/'no_such_file'' * Try `edit_r_environ()` from `usethis` package. * Add `REDCAPSYNC_TEST_CLASSIC = 'YoUrNevErShaReToKeNfRoMREDCapWebsiTe'` to your user .Renviron file... then save the file and restart R under session tab ... The way to tell it worked is to run `Sys.getenv('REDCAPSYNC_TEST_CLASSIC')` i 2. keyring i 3. console i x. scripts (not recommended) i You can request, regenerate, or delete with `project$url_launch('api')` or click link: https://redcap.fake.edu/redcap_v16.1.4/API/project_api.php?pid=12341 i REDCap Home i You can set REDCap tokens the following ways ... i See the `vignette(REDCapSync::Tokens)` vignette. i 1. environment variables (preferred) * User R environ file --> 'd:/RCompile/CRANincoming/R-devel/REDCapSync.Rcheck/tests/testthat/'no_such_file'' * Try `edit_r_environ()` from `usethis` package. * Add `REDCAPSYNC_TEST_CLASSIC = 'YoUrNevErShaReToKeNfRoMREDCapWebsiTe'` to your user .Renviron file... then save the file and restart R under session tab ... The way to tell it worked is to run `Sys.getenv('REDCAPSYNC_TEST_CLASSIC')` i 2. keyring i 3. console i x. scripts (not recommended) i You can request, regenerate, or delete with `project$url_launch('api')` or click link: https://redcap.fake.edu/redcap_v16.1.4/API/project_api.php?pid=12341 i You can set REDCap tokens the following ways ... i See the `vignette(REDCapSync::Tokens)` vignette. i 1. environment variables (preferred) * User R environ file --> 'd:/RCompile/CRANincoming/R-devel/REDCapSync.Rcheck/tests/testthat/'no_such_file'' * Try `edit_r_environ()` from `usethis` package. * Add `REDCAPSYNC_TEST_CLASSIC = 'YoUrNevErShaReToKeNfRoMREDCapWebsiTe'` to your user .Renviron file... then save the file and restart R under session tab ... The way to tell it worked is to run `Sys.getenv('REDCAPSYNC_TEST_CLASSIC')` i 2. keyring i 3. console i x. scripts (not recommended) i You can request, regenerate, or delete with `project$url_launch('api')` or click link: https://redcap.fake.edu/redcap_v16.1.4/API/project_api.php?pid=12341 v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457034866e3c/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Connected to REDCap! https://redcap.fake.edu/redcap_v16.1.4/index.php?pid=12341 v Connected to REDCap! https://redcap.fake.edu/redcap_v16.1.4/index.php?pid=12341 v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457034866e3c/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API x Your REDCap API token check failed. Check privileges. v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457034866e3c/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457034866e3c/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457034866e3c/Cache/R/REDCapSync v Loaded TEST project TEST_DATA! ! Does not actually communicate with any REDCap API v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457034866e3c/Cache/R/REDCapSync v Loaded TEST project TEST_LONGITUDINAL! ! Does not actually communicate with any REDCap API i `keyring` package can be used to store tokens... install.packages("keyring") i Your system does not support keyring. Set to NULL. keyring::has_keyring_support() ! keyring = "test_keyring" is locked i it can be unlocked with following code ... keyring::keyring_unlock(keyring = "test_keyring") ! keyring = "nonexistent_keyring" does not exist! i it can be created with following code ... keyring::keyring_create("nonexistent_keyring") i Saved 'cars.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570d842efb/cars.xlsx i Saved 'cars_one.csv'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570d842efb/cars_one.csv i Saved 'cars_two.csv'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570d842efb/cars_two.csv i Saved 'cars.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457058ac52b0/cars.xlsx i Saved 'cars_one.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457058ac52b0/cars_one.xlsx i Saved 'cars_two.xlsx'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file457058ac52b0/cars_two.xlsx i Use CSV or shorten the names and make sure they are unique if they are trimmed to 31 char. For now will make unique by adding number. i Saved 'cars.csv'! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570d842efb/cars.csv x env_name is NULL x Short name cannot be empty. x Short name cannot start with a number. x Short name can only contain letters, numbers, and underscores. v Directory is Valid! D:/temp/2026_04_13_07_15_17_18216/RtmpofxeFs/file4570a027ddc/Cache/R/REDCapSync v Loaded TEST project TEST_CLASSIC! ! Does not actually communicate with any REDCap API Invalid environment name: 'My Name Invalid environment name: 'Another-Name Invalid environment name: 'Dup Name Invalid environment name: 'Dup-Name Non-unique environment name: 'dup_name', added numbers... [ FAIL 0 | WARN 0 | SKIP 76 | PASS 889 ] ══ Skipped tests (76) ══════════════════════════════════════════════════════════ • On CRAN (6): 'test-redcap_api.R:5:3', 'test-redcap_api.R:21:3', 'test-redcap_api.R:55:3', 'test-redcap_api.R:156:3', 'test-redcap_api.R:268:3', 'test-redcap_api.R:292:3' • empty test (70): 'test-REDCapSyncDataset.R:1:1', 'test-REDCapSyncProject.R:107:1', 'test-REDCapSyncProject.R:117:1', 'test-REDCapSyncProject.R:119:1', 'test-REDCapSyncProject.R:121:1', 'test-REDCapSyncProject.R:124:1', 'test-REDCapSyncProject.R:127:1', 'test-REDCapSyncProject.R:130:1', 'test-REDCapSyncProject.R:133:1', 'test-REDCapSyncProject.R:136:1', 'test-REDCapSyncProject.R:163:1', 'test-dataset.R:32:1', 'test-dataset.R:65:1', 'test-dataset.R:68:1', 'test-dataset.R:71:1', 'test-dataset.R:74:1', 'test-dataset.R:97:1', 'test-dataset.R:100:1', 'test-dataset.R:103:1', 'test-dataset.R:131:1', 'test-dataset.R:223:1', 'test-dataset.R:287:1', 'test-dataset.R:401:1', 'test-project_helpers.R:152:1', 'test-project_helpers.R:155:1', 'test-project_helpers.R:158:1', 'test-project_helpers.R:161:1', 'test-project_helpers.R:164:1', 'test-project_helpers.R:167:1', 'test-project_helpers.R:170:1', 'test-project_helpers.R:184:1', 'test-project_helpers.R:225:1', 'test-redcap_api.R:152:1', 'test-redcap_api.R:219:1', 'test-redcap_api.R:222:1', 'test-redcap_log.R:179:1', 'test-setup.R:18:1', 'test-setup.R:113:1', 'test-setup.R:116:1', 'test-setup.R:119:1', 'test-setup.R:122:1', 'test-sync.R:305:1', 'test-tokens.R:57:1', 'test-utils-assert.R:4:1', 'test-utils-assert.R:7:1', 'test-utils-assert.R:25:1', 'test-utils-assert.R:28:1', 'test-utils-assert.R:31:1', 'test-utils-assert.R:34:1', 'test-utils-assert.R:37:1', 'test-utils-assert.R:40:1', 'test-utils-assert.R:43:1', 'test-utils-assert.R:46:1', 'test-utils-xlsx-csv.R:19:1', 'test-utils-xlsx-csv.R:64:1', 'test-utils-xlsx-csv.R:120:1', 'test-utils.R:51:1', 'test-utils.R:54:1', 'test-utils.R:89:1', 'test-utils.R:92:1', 'test-utils.R:116:1', 'test-utils.R:153:1', 'test-utils.R:179:1', 'test-utils.R:278:1', 'test-utils.R:281:1', 'test-utils.R:294:1', 'test-utils.R:297:1', 'test-utils.R:300:1', 'test-utils.R:303:1', 'test-zzz.R:2:1' [ FAIL 0 | WARN 0 | SKIP 76 | PASS 889 ] > > proc.time() user system elapsed 30.67 13.64 44.62