* using log directory 'd:/RCompile/CRANincoming/R-devel/appusageR.Rcheck' * using R Under development (unstable) (2026-10-26 r90766 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-10-27 07:20:41 UTC * checking for file 'appusageR/DESCRIPTION' ... OK * this is package 'appusageR' version '0.3.9' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [14s] NOTE Maintainer: 'Kunru Song ' New submission Possibly misspelled words in DESCRIPTION: resumable (13:57) * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'appusageR' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [39s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [10m] ERROR Running 'testthat.R' [10m] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(appusageR) > > test_check("appusageR") second-level workers capped at 12. Saving _problems/test-cache-identity-111.R appusageR diagnostic Source data context: - stage: first_level - source_file: D:/temp/2026_10_27_08_20_17_18183/Rtmps3tOQy/appusage_project_root_25797595/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_27_08_20_17_18183/Rtmps3tOQy/appusage_project_output_4906418/ProjectName-StudyA_ProjectID-123/diagnostics/error_reports/seq102-div-style-tex-AppUsage-meta-2024-1-2-3-4-5-stage-first-level.md [ FAIL 1 | WARN 183 | SKIP 2 | PASS 2363 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (2): 'test-category039.R:309:3', 'test-workflow-plan.R:124:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cache-identity.R:107:3'): same participant and type publish distinct proc-2 pairs and resume ── Error in `file(con, "w")`: cannot open the connection Backtrace: ▆ 1. └─appusageR::write_second_level_batch(...) at test-cache-identity.R:107:3 2. └─appusageR:::process_second_level_batch_rows(...) 3. └─appusageR:::write_second_level_one(...) 4. └─appusageR:::write_second_level_status_metadata(...) 5. └─appusageR:::appusage_atomic_write_metadata_json(metadata, metadata_file) 6. └─appusageR:::write_metadata_json(metadata, transaction$temp_json) 7. └─jsonlite::write_json(...) 8. └─base::writeLines(json, path, useBytes = TRUE) 9. └─base::file(con, "w") [ FAIL 1 | WARN 183 | SKIP 2 | PASS 2363 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE