* using log directory ‘/data/gannet/ripley/R/packages/tests-clang/manymodelr.Rcheck’
* using R Under development (unstable) (2025-03-02 r87864)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
    clang version 20.1.0-rc3
    flang version 20.1.0-rc3
* running under: Fedora Linux 40 (Workstation Edition)
* using session charset: UTF-8
* using option ‘--no-stop-on-test-error’
* 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 ... [28s/75s] OK
See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-clang/manymodelr-00install.html' 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 ... [8s/20s] OK
* checking whether the package can be loaded with stated dependencies ... [7s/17s] OK
* checking whether the package can be unloaded cleanly ... [7s/16s] OK
* checking whether the namespace can be loaded with stated dependencies ... [6s/13s] OK
* checking whether the namespace can be unloaded cleanly ... [8s/17s] OK
* checking loading without being on the library search path ... [9s/19s] OK
* checking whether startup messages can be suppressed ... [8s/15s] 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 ... [36s/62s] 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 contents of ‘data’ directory ... OK
* checking data for non-ASCII characters ... 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 ... [8s/12s] ERROR
Running examples in ‘manymodelr-Ex.R’ failed
The error most likely occurred in:

> ### 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 boolean
Calls: head ... sub -> is.factor -> mysub -> sub -> is.factor -> gsub
Execution halted
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... [18s/23s] ERROR
  Running ‘testthat.R’ [17s/22s]
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 7 | 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 boolean
  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 7 | 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 ... [55s/66s] ERROR
Error(s) in re-building vignettes:
--- re-building ‘correlations.rmd’ using rmarkdown
** Processing: /data/gannet/ripley/R/packages/tests-clang/manymodelr.Rcheck/vign_test/manymodelr/vignettes/correlations_files/figure-html/unnamed-chunk-5-1.png
1344x960 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 118359 bytes
Input file size = 118605 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 102759
  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 = 102759

Output IDAT size = 102759 bytes (15600 bytes decrease)
Output file size = 102837 bytes (15768 bytes = 13.29% decrease)

** Processing: /data/gannet/ripley/R/packages/tests-clang/manymodelr.Rcheck/vign_test/manymodelr/vignettes/correlations_files/figure-html/unnamed-chunk-6-1.png
1344x960 pixels, 3x8 bits/pixel, RGB
Input IDAT size = 92706 bytes
Input file size = 92916 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 72957
  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 = 72957

Output IDAT size = 72957 bytes (19749 bytes decrease)
Output file size = 73035 bytes (19881 bytes = 21.40% decrease)

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

--- re-building ‘manymodelr_vignette.rmd’ using rmarkdown
** Processing: /data/gannet/ripley/R/packages/tests-clang/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 = 118359 bytes
Input file size = 118605 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 102759
  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 = 102759

Output IDAT size = 102759 bytes (15600 bytes decrease)
Output file size = 102837 bytes (15768 bytes = 13.29% decrease)

** Processing: /data/gannet/ripley/R/packages/tests-clang/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 = 92706 bytes
Input file size = 92916 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 72957
  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 = 72957

Output IDAT size = 72957 bytes (19749 bytes decrease)
Output file size = 73035 bytes (19881 bytes = 21.40% 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 boolean
--- 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 boolean
--- 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 ... 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: 3 ERRORs