R Under development (unstable) (2025-02-04 r87685 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. > library(testthat) > library(NMsim) NMsim 0.1.6. Browse NMsim documentation at https://NMautoverse.github.io/NMsim/ > > test_check("NMsim") [ FAIL 2 | WARN 0 | SKIP 0 | PASS 81 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_NMsim_NWPRI.R:57:9'): NMsim_NWPRI ────────────────────────────── Error in `NMextractText(file = file, lines = lines, text = text, section = section, char.section = "\\$", return = return, keep.empty = keep.empty, keep.name = keep.name, keep.comments = keep.comments, as.one = as.one, simplify = simplify, clean.spaces = clean.spaces, type = "mod", match.exactly = match.exactly, ...)`: When using the file argument, file has to point to an existing file. Backtrace: ▆ 1. └─NMdata::NMreadSection("testOutput/xgxr032_sd1_NWPRI/xgxr032_sd1_NWPRI.mod") at test_NMsim_NWPRI.R:57:9 2. └─NMdata::NMextractText(...) ── Error ('test_NMsim_NWPRI.R:110:9'): NMsim_NWPRI_Omega44 ───────────────────── Error in `NMextractText(file = file, lines = lines, text = text, section = section, char.section = "\\$", return = return, keep.empty = keep.empty, keep.name = keep.name, keep.comments = keep.comments, as.one = as.one, simplify = simplify, clean.spaces = clean.spaces, type = "mod", match.exactly = match.exactly, ...)`: When using the file argument, file has to point to an existing file. Backtrace: ▆ 1. └─NMdata::NMreadSection("testOutput/predu_sd2_NWPRI/predu_sd2_NWPRI.mod") at test_NMsim_NWPRI.R:110:9 2. └─NMdata::NMextractText(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 81 ] Error: Test failures Execution halted