CRAN Package Check Results for Maintainer ‘Kyle T Baron <kyleb at metrumrg.com>’

Last updated on 2025-12-07 07:50:35 CET.

Package ERROR NOTE OK
mrgsolve 1 2 10

Package mrgsolve

Current CRAN status: ERROR: 1, NOTE: 2, OK: 10

Version: 1.6.1
Check: examples
Result: ERROR Running examples in ‘mrgsolve-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mread_yaml > ### Title: Read a model from yaml format > ### Aliases: mread_yaml yaml_to_cpp > > ### ** Examples > > mod <- house() > > temp <- tempfile(fileext = ".yaml") > > mwrite_yaml(mod, file = temp) Error in `require_yaml()`: ! The package "yaml" is required. Backtrace: ▆ 1. └─mrgsolve::mwrite_yaml(mod, file = temp) 2. └─mrgsolve:::require_yaml() 3. └─rlang::abort("The package \"yaml\" is required.") Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.6.1
Check: tests
Result: ERROR Running ‘testthat.R’ [19s/24s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # Copyright (C) 2013 - 2023 Metrum Research Group > # > # This file is part of mrgsolve. > # > # mrgsolve is free software: you can redistribute it and/or modify it > # under the terms of the GNU General Public License as published by > # the Free Software Foundation, either version 2 of the License, or > # (at your option) any later version. > # > # mrgsolve is distributed in the hope that it will be useful, but > # WITHOUT ANY WARRANTY; without even the implied warranty of > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > # GNU General Public License for more details. > # > # You should have received a copy of the GNU General Public License > # along with mrgsolve. If not, see <http://www.gnu.org/licenses/>. > > Sys.setenv("R_TESTS" = "") > library(magrittr) > library(mrgsolve) Attaching package: 'mrgsolve' The following object is masked from 'package:stats': filter > library(testthat) Attaching package: 'testthat' The following objects are masked from 'package:magrittr': equals, is_less_than, not > > test_check("mrgsolve", reporter="summary") S4: test-S4: ......... annot: test-annot: ...................................................... as_data_set: test-as_data_set: .................................. as_list_mrgmod: test-as_list_mrgmod: ........................................... cache: test-cache: .... carry-out: test-carry-out: ......... carry_out: test-carry_out_recover: .................... data_set: test-data_set: ................................................ deslist: test-deslist: ........... dplyr-generics: test-dplyr-generics: ...................W.. env: test-env: .................... ev: test-ev: ................................................................................ ev_assign: test-ev_assign: ... ev_days: test-ev_days: ....... ev_rx: test-ev_rx: ................ evd: test-evd: ................................................. evid4: test-evid4: ......... fixed-cmtn: test-fixed-cmtn: ... funset: test-funset: ... idata_set: test-idata_set: ... infusion: test-infusion: .............. init: test-init: ...... inventory-too: test-inventory-too: .....W............................... inventory: test-inventory: ....... iv-po: test-iv-po: ...... knobs: test-knobs: ....... matlist: test-matlist: .......................................... matrix: test-matrix: .................... modlib: test-modlib: ... modspec: test-modspec: ................................................................................................................................................................ mread: test-mread: ..... mrgindata: test-mrgindata: .............................SS......... mrgmod: test-mrgmod: ................... mrgsim: test-mrgsim: ........................................................... mrgsim_q: test-mrgsim_q: ... mrgsims: test-mrgsims: .... mwrite: test-mwrite: .....1SSSSSSS......SSS nmxml: test-nmxml: ................................................................................... numericlist: test-numericlist: .... obsonly-obsaug: test-obsonly-obsaug: ......... opts: test-opts: .... param: test-param: ............................ rcpp_globals: test-rcpp_globals: ..... realize: test-realize: ...... records: test-records: .. recsort: test-recsort: ............ relabel: test-relabel: ............ rename: test-rename: ....... rng: test-rng: ..... ss: test-ss: ................. tad: test-tad: ........ tgrid: test-tgrid: ......... tolerances: .......................................................................................... update: test-update: ............................................ utils: test-utils: ...................................................... workflow: test-workflow: ... ══ Skipped ═════════════════════════════════════════════════════════════════════ 1. integer64 columns are dropped from data_set [SLV-TEST-0011] ('test-mrgindata.R:166:3') - Reason: {bit64} is not installed 2. integer64 columns are dropped from idata_set [SLV-TEST-0012] ('test-mrgindata.R:186:3') - Reason: {bit64} is not installed 3. mwrite, mread yaml ('test-mwrite.R:71:3') - Reason: {yaml} is not installed 4. yaml_to_cpp ('test-mwrite.R:100:3') - Reason: {yaml} is not installed 5. imposter code ('test-mwrite.R:119:3') - Reason: {yaml} is not installed 6. mwrite with no file ('test-mwrite.R:134:3') - Reason: {yaml} is not installed 7. captures are handled ('test-mwrite.R:142:3') - Reason: {yaml} is not installed 8. handle multiple unnamed matrices ('test-mwrite.R:172:3') - Reason: {yaml} is not installed 9. matrix names are retained ('test-mwrite.R:188:3') - Reason: {yaml} is not installed 10. code gets appropriately quoted ('test-mwrite.R:213:3') - Reason: {yaml} is not installed 11. model with lower case names ('test-mwrite.R:235:3') - Reason: {yaml} is not installed 12. mwrite normalizes block names to upper case ('test-mwrite.R:250:3') - Reason: {yaml} is not installed ══ Warnings ════════════════════════════════════════════════════════════════════ 1. select_mrgsims ('test-dplyr-generics.R:86:3') - Using an external vector in selections was deprecated in tidyselect 1.1.0. ℹ Please use `all_of()` or `any_of()` instead. # Was: data %>% select(vars) # Now: data %>% select(all_of(vars)) See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>. 2. inventory conditions ('test-inventory-too.R:39:3') - Using an external vector in selections was deprecated in tidyselect 1.1.0. ℹ Please use `all_of()` or `any_of()` instead. # Was: data %>% select(need) # Now: data %>% select(all_of(need)) See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>. ══ Failed ══════════════════════════════════════════════════════════════════════ ── 1. Error ('test-mwrite.R:36:3'): convert model to list ────────────────────── Error in `mrgsolve:::mwrite_model_to_list(mod)`: The package "knitr" is required. Backtrace: ▆ 1. └─mrgsolve:::mwrite_model_to_list(mod) at test-mwrite.R:36:3 2. └─rlang::abort("The package \"knitr\" is required.") ══ DONE ════════════════════════════════════════════════════════════════════════ Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.6.1
Check: installed package size
Result: NOTE installed size is 7.5Mb sub-directories of 1Mb or more: libs 5.5Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64