- using R Under development (unstable) (2026-11-19 r90937)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 23.1.5
flang version 23.1.5
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-11-19 17:53:24 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘svMisc/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘svMisc’ version ‘1.4.3’
- package encoding: UTF-8
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘svMisc’ can be installed ... [6s/13s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 whether startup messages can be suppressed ... 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 ... [13s/27s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... ERROR
Running examples in ‘svMisc-Ex.R’ failed
The error most likely occurred in:
> ### Name: to_rjson
> ### Title: Convert R object to and from RJSON specification
> ### Aliases: to_rjson eval_rjson list_to_json toRjson evalRjson listToJson
> ### Keywords: utilities
>
> ### ** Examples
>
> # A complex R object
> obj <- structure(list(
+ a = as.double(c(1:5, 6)),
+ LETTERS,
+ c = c(c1 = 4.5, c2 = 7.8, c3 = Inf, c4 = -Inf, NA, c6 = NaN),
+ c(TRUE, FALSE, NA),
+ e = factor(c("a", "b", "a")),
+ f = 'this is a "string" with quote',
+ g = matrix(rnorm(4), ncol = 2),
+ `h&$@` = data.frame(x = 1:3, y = rnorm(3),
+ fact = factor(c("b", "a", "b"))),
+ i = Sys.Date(),
+ j = list(1:5, y = "another item")),
+ comment = "My comment",
+ anAttrib = 1:10,
+ anotherAttrib = list(TRUE, y = 1:4))
>
> # Convert to simplest RJSON, without attributes
> rjson1 <- to_rjson(obj)
> rjson1
[1] list("a" := c(1., 2., 3., 4., 5., 6.), "" := c("A",
[2] "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N",
[3] "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"),
[4] "c" := c(c1 = 4.5, c2 = 7.8, c3 = Inf, c4 = -Inf,
[5] NA, c6 = NaN), "" := c(TRUE, FALSE, NA), "e" := c("a",
[6] "b", "a"), "f" := "this is a \\"string\\" with quote",
[7] "g" := c(-0.626453810742332, 0.183643324222082,
[8] -0.835628612410047, 1.59528080213779), "h&$@" := list(
[9] "x" := seq(1, 3), "y" := c(0.329507771815361,
[10] -0.820468384118015, 0.487429052428485), "fact" := c("b",
[11] "a", "b")), "i" := "2026-11-19", "j" := list(
[12] "" := seq(1, 5), "y" := "another item"))
> eval_rjson(rjson1)
$a
[1] 1 2 3 4 5 6
[[2]]
[1] "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S"
[20] "T" "U" "V" "W" "X" "Y" "Z"
$c
c1 c2 c3 c4 c6
4.5 7.8 Inf -Inf NA NaN
[[4]]
[1] TRUE FALSE NA
$e
[1] "a" "b" "a"
$f
[1] "this is a \"string\" with quote"
$g
[1] -0.6264538 0.1836433 -0.8356286 1.5952808
$`h&$@`
$`h&$@`$x
[1] 1 2 3
$`h&$@`$y
[1] 0.3295078 -0.8204684 0.4874291
$`h&$@`$fact
[1] "b" "a" "b"
$i
[1] "2026-11-19"
$j
$j[[1]]
[1] 1 2 3 4 5
$j$y
[1] "another item"
>
> # More complex RJSON, with attributes
> rjson2 <- to_rjson(obj, TRUE)
> rjson2
[1] list("Data_" := list("a" := c(1., 2., 3., 4., 5., 6.), "" := c("A",
[2] "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N",
[3] "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"),
[4] "c" := c(c1 = 4.5, c2 = 7.8, c3 = Inf, c4 = -Inf,
[5] NA, c6 = NaN), "" := c(TRUE, FALSE, NA), "e" := list("Data_" := c(1,
[6] 2, 1), "levels" := c("a", "b"), "class" := "factor"),
[7] "f" := "this is a \\"string\\" with quote", "g" := list("Data_" := c(-0.626453810742332,
[8] 0.183643324222082, -0.835628612410047, 1.59528080213779), "dim" := c(2,
[9] 2)), "h&$@" := list("Data_" := list("x" := seq(1, 3),
[10] "y" := c(0.329507771815361, -0.820468384118015,
[11] 0.487429052428485), "fact" := list("Data_" := c(2,
[12] 1, 2), "levels" := c("a", "b"), "class" := "factor")), "row.names" := seq(1, 3), "class" := "data.frame"),
[13] "i" := list("Data_" := 20776., "class" := "Date"),
[14] "j" := list("" := seq(1, 5), "y" := "another item")), "comment" := "My comment", "anAttrib" := seq(1, 10), "anotherAttrib" := list(
[15] "" := TRUE, "y" := seq(1, 4)))
> obj2 <- eval_rjson(rjson2)
Error in attributes(.Data) <- c(attributes(.Data), attrib) :
adding class "factor" to an invalid object
Calls: eval_rjson ... eval -> list -> structure -> list -> list -> structure
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... OK
Running ‘spelling.R’
Running ‘testthat.R’
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [3s/11s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘svMisc.Rmd’ using rmarkdown
Help files with alias or concept or title matching 'kalman' using fuzzy
matching:
stats::KalmanLike Kalman Filtering
Aliases: KalmanLike, KalmanRun, KalmanSmooth, KalmanForecast
Type '?PKG::FOO' to inspect entries 'PKG::FOO', or 'TYPE?PKG::FOO' for
entries like 'PKG::FOO-TYPE'.
Quitting from svMisc.Rmd:143-168 [unnamed-chunk-12]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `attributes(.Data) <- c(attributes(.Data), attrib)`:
! adding class "factor" to an invalid object
---
Backtrace:
▆
1. └─svMisc::eval_rjson(rjson1)
2. ├─base::eval(parse(text = rjson))
3. │ └─base::eval(parse(text = rjson))
4. ├─svMisc (local) list(...)
5. │ └─base::structure(Data_, ...)
6. ├─svMisc (local) list(...)
7. └─svMisc (local) list(Data_ = c(1, 2, 1), levels = c("a", "b"), class = "factor")
8. └─base::structure(Data_, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'svMisc.Rmd' failed with diagnostics:
adding class "factor" to an invalid object
--- failed re-building ‘svMisc.Rmd’
--- re-building ‘temporary_environment.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘temporary_environment.Rmd’
SUMMARY: processing the following file failed:
‘svMisc.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [5s/12s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs