- using R Under development (unstable) (2023-12-02 r85657)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-13 (Debian 13.2.0-7) 13.2.0
GNU Fortran (Debian 13.2.0-7) 13.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘WoodSimulatR/DESCRIPTION’ ... OK
- this is package ‘WoodSimulatR’ version ‘0.6.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 serialization versions ... OK
- checking whether package ‘WoodSimulatR’ 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 ... 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/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/2s] 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 ... [8s/13s] OK
- checking Rd files ... [0s/1s] 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/1s] 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/4s] ERROR
Running examples in ‘WoodSimulatR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: simbase_covar
> ### Title: Calculate reference data for simulating values based on a
> ### covariance matrix approach
> ### Aliases: simbase_covar
>
> ### ** Examples
>
> # obtain a dataset for demonstration
> dataset <- simulate_dataset();
>
> # calculate a simbase without transforms
> simbase_covar(dataset, c('f', 'E', 'rho', 'E_dyn'));
$label
[1] "n5000_t_cov"
$variables
[1] "f" "E" "rho" "E_dyn"
$transforms
list()
$covar
f E rho E_dyn
f 154.8334 21554.85 163.3545 19249.99
E 21554.8511 6286487.37 67721.3714 5810449.78
rho 163.3545 67721.37 2277.7861 77431.13
E_dyn 19249.9902 5810449.78 77431.1314 5856671.37
$means
f E rho E_dyn
29.81409 10632.15418 444.84522 11606.19187
$loadtype
[1] "t"
attr(,"class")
[1] "simbase_covar"
>
> # calcuate a simbase with log-transformed f
> simbase_covar(dataset, c('f', 'E', 'rho', 'E_dyn'), list(f = scales::log_trans()));
Error in simbase_covar(dataset, c("f", "E", "rho", "E_dyn"), list(f = scales::log_trans())) :
All transforms must be objects of class "trans" (see scales::trans)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/7s] OK
Running ‘testthat.R’ [4s/6s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [7s/11s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘woodsimulatr_basics.Rmd’ using rmarkdown
Quitting from lines 431-439 [unnamed-chunk-15] (woodsimulatr_basics.Rmd)
Error: processing vignette 'woodsimulatr_basics.Rmd' failed with diagnostics:
All transforms must be objects of class "trans" (see scales::trans)
--- failed re-building ‘woodsimulatr_basics.Rmd’
SUMMARY: processing the following file failed:
‘woodsimulatr_basics.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [5s/10s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs