- using R version 4.3.3 (2024-02-29)
- using platform: x86_64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘hardhat/DESCRIPTION’ ... OK
- this is package ‘hardhat’ version ‘1.4.0’
- 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 ‘hardhat’ can be installed ... [4s/6s] 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [5s/7s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... 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 ... [4s/6s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [15s/22s] OK
Running ‘testthat.R’ [14s/22s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [3s/4s] ERROR
Errors in running code in vignettes:
when running code in ‘forge.Rmd’
...
> test_missing_column <- subset(penguin_test, select = -species)
> forge(test_missing_column, formula_eng)
When sourcing ‘forge.R’:
Error: The following required columns are missing: 'species'.
Execution halted
when running code in ‘mold.Rmd’
...
8 1 3200
9 1 3800
10 1 4400
# ℹ 323 more rows
> mold(~body_mass_g - 1, penguins)
When sourcing ‘mold.R’:
Error: `formula` must not contain the intercept removal term: `- 1`.
Execution halted
when running code in ‘package.Rmd’
...
> data(penguins)
> penguins <- na.omit(penguins)
> knitr::include_graphics("../man/figures/Fitting.png")
When sourcing ‘package.R’:
Error: Cannot find the file(s): "../man/figures/Fitting.png"
Execution halted
‘forge.Rmd’ using ‘UTF-8’... failed
‘mold.Rmd’ using ‘UTF-8’... failed
‘package.Rmd’ using ‘UTF-8’... failed
- checking re-building of vignette outputs ... [24s/34s] OK
- checking PDF version of manual ... [8s/11s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '