- using R Under development (unstable) (2026-03-06 r89561)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-14) 15.2.0
GNU Fortran (Debian 15.2.0-14) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-03-07 14:33:12 UTC
- checking for file ‘cuadramelo/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘cuadramelo’ version ‘1.0.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- 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 serialization versions ... OK
- checking whether package ‘cuadramelo’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘apply_by_blocks.R’ ‘balance_by_blocks.Rd’ ‘balance_matrix.R’
‘balance_matrix.Rd’ ‘make_non_negative.Rd’ ‘round_by_blocks.Rd’
‘round_matrix.R’ ‘round_matrix.Rd’ ‘round_vector.Rd’
- 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 ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [2s/2s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... WARNING
Missing or unexported object: ‘CVXR::solve’
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [10s/14s] OK
- checking Rd files ... [0s/0s] 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 ... [2s/3s] ERROR
Running examples in ‘cuadramelo-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: balance_by_blocks
> ### Title: Balance matrix by blocks
> ### Aliases: balance_by_blocks
>
> ### ** Examples
>
> set.seed(10)
> Y <- (rnorm(32)*10) |> matrix(ncol = 2) |> round(3)
> v <- aggregate(Y, by = list(rep(1:4, times = rep(4,4))), FUN = sum)[, -1] |>
+ round() |> as.matrix()
> X <- balance_by_blocks(Y, v, layout = 2, L = 4)
Error in `Variable()`:
! Variable name "2" must be a string.
Backtrace:
▆
1. └─cuadramelo::balance_by_blocks(Y, v, layout = 2, L = 4)
2. └─cuadramelo::balance_matrix(X, col_totals = v, row_totals = h)
3. └─CVXR::Variable(m, n)
4. └─cli::cli_abort("Variable name {.val {as.character(name)}} must be a string.")
5. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [7s/9s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘balance-matrix.Rmd’ using rmarkdown
Quitting from balance-matrix.Rmd:59-64 [unnamed-chunk-6]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `Variable()`:
! Variable name "5" must be a string.
---
Backtrace:
▆
1. └─cuadramelo::balance_matrix(example_matrix, col_totals, row_totals)
2. └─CVXR::Variable(m, n)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'balance-matrix.Rmd' failed with diagnostics:
Variable name "5" must be a string.
--- failed re-building ‘balance-matrix.Rmd’
--- re-building ‘round-matrix.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘round-matrix.Rmd’
SUMMARY: processing the following file failed:
‘balance-matrix.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [3s/6s] OK
- checking HTML version of manual ... [0s/0s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 WARNING, 1 NOTE