R Under development (unstable) (2026-10-28 r90783 ucrt) -- "Unsuffered Consequences" 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. > library(testthat) > library(appusageR) > > run_appusage_tests <- function() { + if (identical(Sys.getenv("NOT_CRAN"), "true")) return(test_check("appusageR")) + # Keep this fixture around the entire installed-package test run, rather than + # a helper's shorter lifetime. Policy/fallback tests still provide their own + # explicit inputs; test-memory-probe.R also exercises the saved real detector. + probe <- function() list( + detected_total_memory_bytes = 64 * 1024^3, + detected_free_memory_bytes = 32 * 1024^3, + memory_detected = TRUE, + memory_source = "synthetic_cran_test_fixture" + ) + attr(probe, "real_probe") <- getFromNamespace("appusage_detect_memory_info", "appusageR") + with_mocked_bindings(test_check("appusageR"), + appusage_detect_memory_info = probe, .package = "appusageR") + } > run_appusage_tests() second-level workers capped at 12. appusageR diagnostic Source data context: - stage: first_level - source_file: D:/temp/2026_10_30_09_55_21_31280/RtmpCG8DH7/appusage_project_root_5346105/ProjectName-StudyA_ProjectID-123/seq102_div style=tex_AppUsage_meta_2024_1_2_3_4_5.txt - source_basename: seq102_div style=tex_AppUsage_meta_2024_1_2_3_4_5.txt - file_size: 0 - wenjuanxing_sequence_id: 102 - native_export_type: meta Error context: - code_function: read_appusage_batch - code_location: NA - condition_class: appusage_zero_byte_source,appusage_source_preflight_error,error,condition - condition_message: Source file is zero-byte and contains no APP Usage data. Traceback/report: - diagnostic_report: D:/temp/2026_10_30_09_55_21_31280/RtmpCG8DH7/appusage_project_output_93499120/ProjectName-StudyA_ProjectID-123/diagnostics/error_reports/seq102-div-style-tex-AppUsage-meta-2024-1-2-3-4-5-stage-first-level.md [ FAIL 0 | WARN 0 | SKIP 2 | PASS 2424 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-category039.R:309:3', 'test-workflow-plan.R:124:3' [ FAIL 0 | WARN 0 | SKIP 2 | PASS 2424 ] > > proc.time() user system elapsed 227.26 50.98 312.73