* using log directory ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/manymodelr.Rcheck’
* using R Under development (unstable) (2025-02-25 r87824)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
    gcc-14 (Debian 14.2.0-16) 14.2.0
    GNU Fortran (Debian 14.2.0-16) 14.2.0
* running under: Debian GNU/Linux trixie/sid
* using session charset: UTF-8
* checking for file ‘manymodelr/DESCRIPTION’ ... OK
* this is package ‘manymodelr’ version ‘0.3.7’
* 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 ‘manymodelr’ can be installed ... OK
See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/manymodelr-00install.html' for details.
* checking package directory ... OK
* checking for future file timestamps ... 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 ... [3s/4s] OK
* checking whether the package can be loaded with stated dependencies ... [3s/3s] OK
* checking whether the package can be unloaded cleanly ... [4s/5s] OK
* checking whether the namespace can be loaded with stated dependencies ... [3s/4s] OK
* checking whether the namespace can be unloaded cleanly ... [3s/4s] OK
* checking loading without being on the library search path ... [3s/5s] OK
* checking whether startup messages can be suppressed ... [3s/4s] 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 ... [15s/19s] 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 contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... [0s/0s] OK
* checking LazyData ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... [3s/5s] ERROR
Running examples in ‘manymodelr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: agg_by_group
> ### Title: A convenient way to perform grouped operations
> ### Aliases: agg_by_group
> 
> ### ** Examples
> 
> head(agg_by_group(airquality,.~Month,sum))
Error in gsub(as.character(pattern), as.character(replacement), x, ignore.case,  : 
  NA in coercion to Rboolean
Calls: head ... sub -> is.factor -> mysub -> sub -> is.factor -> gsub
Execution halted
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... [7s/11s] ERROR
  Running ‘testthat.R’ [7s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(manymodelr)
  Loading required package: caret
  Loading required package: ggplot2
  Loading required package: lattice
  Loading required package: Metrics
  
  Attaching package: 'Metrics'
  
  The following objects are masked from 'package:caret':
  
      precision, recall
  
  Loading required package: e1071
  Welcome to manymodelr. This is manymodelr version 0.3.7.
   Please file issues and feedback at https://www.github.com/Nelson-Gon/manymodelr/issues
  Turn this message off using 'suppressPackageStartupMessages(library(manymodelr))'
   Happy Modelling! :)
  > data("yields", package = "manymodelr")
  > test_check("manymodelr")
  [1] ### Ordered by height ###
  [1] ### Ordered by height ###
  [ FAIL 1 | WARN 5 | SKIP 0 | PASS 94 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_agg_by_group.R:11:5'): agg_by_group test ───────────────────────
  Error in `gsub(as.character(pattern), as.character(replacement), x, ignore.case, 
      perl, fixed, useBytes)`: NA in coercion to Rboolean
  Backtrace:
       â–†
    1. ├─testthat::expect_equal(...) at test_agg_by_group.R:11:5
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─manymodelr::agg_by_group(yields, . ~ normal, length)
    5. └─manymodelr:::agg_by_group.data.frame(yields, . ~ normal, length)
    6.   ├─base::trimws(...)
    7.   │ ├─base (local) mysub(...)
    8.   │ │ └─base::sub(re, "", x, perl = TRUE)
    9.   │ │   └─base::is.factor(x)
   10.   │ └─base (local) mysub(paste0("^", whitespace, "+"), x)
   11.   │   └─base::sub(re, "", x, perl = TRUE)
   12.   │     └─base::is.factor(x)
   13.   └─base::gsub(...)
  
  [ FAIL 1 | WARN 5 | SKIP 0 | PASS 94 ]
  Error: Test failures
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking re-building of vignette outputs ... [25s/39s] ERROR
Error(s) in re-building vignettes:
  ...
--- re-building ‘correlations.rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/manymodelr.Rcheck/vign_test/manymodelr/vignettes/correlations_files/figure-html/unnamed-chunk-5-1.png
1344x960 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 118656 bytes
Input file size = 118902 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 104324
  zc = 9  zm = 8  zs = 1  f = 0
  zc = 1  zm = 8  zs = 2  f = 0
  zc = 9  zm = 8  zs = 3  f = 0
  zc = 9  zm = 8  zs = 0  f = 5
  zc = 9  zm = 8  zs = 1  f = 5
  zc = 1  zm = 8  zs = 2  f = 5
  zc = 9  zm = 8  zs = 3  f = 5
                               
Selecting parameters:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 104324

Output IDAT size = 104324 bytes (14332 bytes decrease)
Output file size = 104402 bytes (14500 bytes = 12.19% decrease)

** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/manymodelr.Rcheck/vign_test/manymodelr/vignettes/correlations_files/figure-html/unnamed-chunk-6-1.png
1344x960 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 93239 bytes
Input file size = 93449 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 74512
  zc = 9  zm = 8  zs = 1  f = 0
  zc = 1  zm = 8  zs = 2  f = 0
  zc = 9  zm = 8  zs = 3  f = 0
  zc = 9  zm = 8  zs = 0  f = 5
  zc = 9  zm = 8  zs = 1  f = 5
  zc = 1  zm = 8  zs = 2  f = 5
  zc = 9  zm = 8  zs = 3  f = 5
                               
Selecting parameters:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 74512

Output IDAT size = 74512 bytes (18727 bytes decrease)
Output file size = 74590 bytes (18859 bytes = 20.18% decrease)

--- finished re-building ‘correlations.rmd’

--- re-building ‘manymodelr_vignette.rmd’ using rmarkdown
** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/manymodelr.Rcheck/vign_test/manymodelr/vignettes/manymodelr_vignette_files/figure-html/unnamed-chunk-20-1.png
1344x960 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 118656 bytes
Input file size = 118902 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 104324
  zc = 9  zm = 8  zs = 1  f = 0
  zc = 1  zm = 8  zs = 2  f = 0
  zc = 9  zm = 8  zs = 3  f = 0
  zc = 9  zm = 8  zs = 0  f = 5
  zc = 9  zm = 8  zs = 1  f = 5
  zc = 1  zm = 8  zs = 2  f = 5
  zc = 9  zm = 8  zs = 3  f = 5
                               
Selecting parameters:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 104324

Output IDAT size = 104324 bytes (14332 bytes decrease)
Output file size = 104402 bytes (14500 bytes = 12.19% decrease)

** Processing: /home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/manymodelr.Rcheck/vign_test/manymodelr/vignettes/manymodelr_vignette_files/figure-html/unnamed-chunk-21-1.png
1344x960 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 93239 bytes
Input file size = 93449 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 74512
  zc = 9  zm = 8  zs = 1  f = 0
  zc = 1  zm = 8  zs = 2  f = 0
  zc = 9  zm = 8  zs = 3  f = 0
  zc = 9  zm = 8  zs = 0  f = 5
  zc = 9  zm = 8  zs = 1  f = 5
  zc = 1  zm = 8  zs = 2  f = 5
  zc = 9  zm = 8  zs = 3  f = 5
                               
Selecting parameters:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 74512

Output IDAT size = 74512 bytes (18727 bytes decrease)
Output file size = 74590 bytes (18859 bytes = 20.18% decrease)


Quitting from lines 296-299 [unnamed-chunk-22] (manymodelr_vignette.rmd)
Error: processing vignette 'manymodelr_vignette.rmd' failed with diagnostics:
NA in coercion to Rboolean
--- failed re-building ‘manymodelr_vignette.rmd’

--- re-building ‘misc.rmd’ using rmarkdown

Quitting from lines 30-34 [unnamed-chunk-2] (misc.rmd)
Error: processing vignette 'misc.rmd' failed with diagnostics:
NA in coercion to Rboolean
--- failed re-building ‘misc.rmd’

--- re-building ‘modeling.rmd’ using rmarkdown
--- finished re-building ‘modeling.rmd’

SUMMARY: processing the following files failed:
  ‘manymodelr_vignette.rmd’ ‘misc.rmd’

Error: Vignette re-building failed.
Execution halted

* checking PDF version of manual ... [4s/6s] OK
* checking HTML version of manual ... [0s/1s] OK
* checking for non-standard things in the check directory ... OK
* DONE
Status: 3 ERRORs