CRAN Package Check Results for Package jmvReadWrite

Last updated on 2025-12-06 00:48:46 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.12 6.02 98.09 104.11 OK
r-devel-linux-x86_64-debian-gcc 0.4.12 3.99 38.07 42.06 ERROR
r-devel-linux-x86_64-fedora-clang 0.4.12 14.00 132.99 146.99 OK
r-devel-linux-x86_64-fedora-gcc 0.4.12 13.00 149.14 162.14 OK
r-devel-windows-x86_64 0.4.12 6.00 111.00 117.00 OK
r-patched-linux-x86_64 0.4.12 6.17 87.67 93.84 OK
r-release-linux-x86_64 0.4.12 4.49 88.23 92.72 OK
r-release-macos-arm64 0.4.12 OK
r-release-macos-x86_64 0.4.12 5.00 115.00 120.00 OK
r-release-windows-x86_64 0.4.12 7.00 108.00 115.00 OK
r-oldrel-macos-arm64 0.4.12 OK
r-oldrel-macos-x86_64 0.4.12 6.00 145.00 151.00 OK
r-oldrel-windows-x86_64 0.4.12 9.00 137.00 146.00 OK

Check Details

Version: 0.4.12
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'jmv', 'knitr', 'rmarkdown', 'RProtoBuf' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.12
Check: examples
Result: ERROR Running examples in ‘jmvReadWrite-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: describe_omv > ### Title: Adds a title and a description for a data set stored as > ### .omv-file for the statistical spreadsheet 'jamovi' > ### (<https://www.jamovi.org>) > ### Aliases: describe_omv > > ### ** Examples > > dtaFrm <- jmvReadWrite::ToothGrowth[, c("len", "supp", "dose")] > nmeOut <- tempfile(fileext = ".omv") > > # the paste's underneath are only for readability (without them, the vignettes are misformatted) > lstDsc <- list(description = paste("The response is the length of odontoblasts (cells responsible", + "for tooth growth) in 60 guinea pigs. Each animal received one", + "of three dose levels of vitamin C (0.5, 1, and 2 mg / day) by", + "one of two delivery methods, orange juice or ascorbic acid (a", + "form of vitamin C and coded as VC)."), + variables = list(len = "Tooth length", + supp = "Supplement type (VC or OJ)", + dose = "Dose (in milligrams / day"), + references = paste("Crampton, E. W. (1947). The growth of the odontoblast of the", + "incisor teeth as a criterion of vitamin C intake of the guinea", + "pig. <em>The Journal of Nutrition, 33</em>(5), 491-504.", + "https://doi.org/10.1093/jn/33.5.491"), + license = "") > jmvReadWrite::describe_omv(dtaInp = dtaFrm, fleOut = nmeOut, dtaTtl = "ToothGrowth", + dtaDsc = lstDsc) Warning in jmvPtB() : For using protocol buffers, the package(s) "RProtoBuf" need(s) to be installed. Error in jmvReadWrite::describe_omv(dtaInp = dtaFrm, fleOut = nmeOut, : The R-packages RProtoBuf and jmvcore must be installed for using describe_omv (see warnings() for further details). Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.12
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/12s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if (nzchar(system.file(package = "testthat"))) { + library(testthat) + library(jmvReadWrite) + + test_check("jmvReadWrite") + } Attaching package: 'jmvReadWrite' The following object is masked from 'package:datasets': ToothGrowth Saving _problems/test-arrange_cols_omv-119.R Saving _problems/test-describe_omv-20.R Saving _problems/test-globals-53.R Saving _problems/test-label_vars_omv-102.R Saving _problems/test-merge_cols_omv-115.R Saving _problems/test-read_omv-58.R Saving _problems/test-read_omv-60.R Saving _problems/test-read_omv-60.R Saving _problems/test-sort_omv-67.R [ FAIL 9 | WARN 10 | SKIP 2 | PASS 1400 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • {RProtoBuf} is not installed. (2): 'test-globals.R:54:5', 'test-write_omv.R:224:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-arrange_cols_omv.R:116:5'): arrange_cols_omv works ─────────── Expected `attr(df4Chk, "syntax")` to equal `c(...)`. Differences: `actual` is NULL `expected` is a character vector ('jmv::ANOVA(formula = len ~ supp + dose2 + supp:dose2, data = data, effectSize = "partEta", modelTest = TRUE, qq = TRUE, contrasts = list(list(var="supp", type="none"), list(var="dose2", type="polynomial")), postHoc = ~ supp + dose2, emMeans = ~ dose2:supp)', 'jmv::ancova(formula = len ~ supp + dose, data = data, effectSize = "partEta", modelTest = TRUE)') ── Error ('test-describe_omv.R:20:9'): describe_omv works ────────────────────── Error in `describe_omv(dtaInp = jmvReadWrite::ToothGrowth[, c("len", "supp", "dose")], fleOut = nmeOut, dtaTtl = "ToothGrowth", dtaDsc = lstDsc)`: The R-packages RProtoBuf and jmvcore must be installed for using describe_omv (see warnings() for further details). Backtrace: ▆ 1. └─jmvReadWrite::describe_omv(...) at test-describe_omv.R:20:9 ── Failure ('test-globals.R:53:5'): globals work ─────────────────────────────── Expected `jmvPtB()` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE ── Failure ('test-label_vars_omv.R:99:5'): label_vars_omv works ──────────────── Expected `attr(df4Chk, "syntax")` to equal `c(...)`. Differences: `actual` is NULL `expected` is a character vector ('jmv::ANOVA(formula = len ~ supp + dose2 + supp:dose2, data = data, effectSize = "partEta", modelTest = TRUE, qq = TRUE, contrasts = list(list(var="supp", type="none"), list(var="dose2", type="polynomial")), postHoc = ~ supp + dose2, emMeans = ~ dose2:supp)', 'jmv::ancova(formula = len ~ supp + dose, data = data, effectSize = "partEta", modelTest = TRUE)') ── Failure ('test-merge_cols_omv.R:112:5'): merge_cols_omv works ─────────────── Expected `attr(df4Chk, "syntax")` to equal `c(...)`. Differences: `actual` is NULL `expected` is a character vector ('jmv::ANOVA(formula = len ~ supp + dose2 + supp:dose2, data = data, effectSize = "partEta", modelTest = TRUE, qq = TRUE, contrasts = list(list(var="supp", type="none"), list(var="dose2", type="polynomial")), postHoc = ~ supp + dose2, emMeans = ~ dose2:supp)', 'jmv::ancova(formula = len ~ supp + dose, data = data, effectSize = "partEta", modelTest = TRUE)') ── Failure ('test-read_omv.R:58:5'): read_omv works ──────────────────────────── Expected `names(attributes(df4Chk))` to equal `c("names", "row.names", "class", "fltLst", "syntax", "protobuf")`. Differences: `actual[2:5]`: "row.names" "class" "fltLst" "protobuf" `expected[2:6]`: "row.names" "class" "fltLst" "syntax" "protobuf" ── Failure ('test-read_omv.R:60:5'): read_omv works ──────────────────────────── `attr(df4Chk, "syntax")` must be a vector, not `NULL`. Backtrace: ▆ 1. ├─testthat::expect_vector(attr(df4Chk, "syntax"), c(), 2) at test-read_omv.R:60:5 2. │ ├─base::withCallingHandlers(...) 3. │ └─vctrs::vec_assert(act$val, ptype = ptype, size = size, arg = act$lab) 4. │ └─vctrs:::stop_scalar_type(x, arg, call = call) 5. │ └─vctrs:::stop_vctrs(...) 6. │ └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call) 7. │ └─rlang:::signal_abort(cnd, .file) 8. │ └─base::signalCondition(cnd) 9. └─testthat (local) `<fn>`(`<vctrs___>`) ── Error ('test-read_omv.R:60:5'): read_omv works ────────────────────────────── <vctrs_error_scalar_type/vctrs_error/rlang_error/error/condition> Error in `expect_vector(attr(df4Chk, "syntax"), c(), 2)`: `attr(df4Chk, "syntax")` must be a vector, not `NULL`. Backtrace: ▆ 1. └─testthat::expect_vector(attr(df4Chk, "syntax"), c(), 2) at test-read_omv.R:60:5 2. ├─base::withCallingHandlers(...) 3. └─vctrs::vec_assert(act$val, ptype = ptype, size = size, arg = act$lab) 4. └─vctrs:::stop_scalar_type(x, arg, call = call) 5. └─vctrs:::stop_vctrs(...) 6. └─rlang::abort(message, class = c(class, "vctrs_error"), ..., call = call) ── Failure ('test-sort_omv.R:64:5'): sort_omv works ──────────────────────────── Expected `attr(df4Chk, "syntax")` to equal `c(...)`. Differences: `actual` is NULL `expected` is a character vector ('jmv::ANOVA(formula = len ~ supp + dose2 + supp:dose2, data = data, effectSize = "partEta", modelTest = TRUE, qq = TRUE, contrasts = list(list(var="supp", type="none"), list(var="dose2", type="polynomial")), postHoc = ~ supp + dose2, emMeans = ~ dose2:supp)', 'jmv::ancova(formula = len ~ supp + dose, data = data, effectSize = "partEta", modelTest = TRUE)') [ FAIL 9 | WARN 10 | SKIP 2 | PASS 1400 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.4.12
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc