- 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 ‘rdecision/DESCRIPTION’ ... OK
- this is package ‘rdecision’ version ‘1.2.1’
- 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 ‘rdecision’ can be installed ... [14s/27s] 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [2s/3s] OK
- checking Rd files ... [1s/2s] 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 data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... NONE
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [89s/173s] OK
Running ‘testthat.R’ [89s/173s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking running R code from vignettes ... [4s/10s] ERROR
Errors in running code in vignettes:
when running code in ‘DT00-DecisionTreeTutorial.Rmd’
...
> knitr::opts_chunk$set(collapse = TRUE, echo = FALSE,
+ comment = "#>")
> library("rdecision")
> dt$draw()
When sourcing ‘DT00-DecisionTreeTutorial.R’:
Error: object of type 'closure' is not subsettable
Execution halted
when running code in ‘DT01-Sumatriptan.Rmd’
...
> library(rdecision)
> DT$draw(border = TRUE)
When sourcing ‘DT01-Sumatriptan.R’:
Error: object 'DT' not found
Execution halted
when running code in ‘DT03-ShaleGas.Rmd’
...
> library(rdecision)
> RES[, "Run"] <- NULL
When sourcing ‘DT03-ShaleGas.R’:
Error: object 'RES' not found
Execution halted
when running code in ‘GT01-NewScientistPuzzle.Rmd’
...
[[7]]
line.to[GRID.line.to.36]
> names(ct) <- c("n", "frequency")
When sourcing ‘GT01-NewScientistPuzzle.R’:
Error: object 'ct' not found
Execution halted
when running code in ‘SM01-HIV.Rmd’
...
> library(rdecision)
> pngfile <- gv2png(dot = m$as_DOT(rankdir = "TB", width = 7,
+ height = 7))
When sourcing ‘SM01-HIV.R’:
Error: could not find function "gv2png"
Execution halted
when running code in ‘SM02-TKR.Rmd’
...
> library(rdecision)
> pngfile <- gv2png(dot = SMM_base$as_DOT(rankdir = "TB",
+ width = 7, height = 7))
When sourcing ‘SM02-TKR.R’:
Error: could not find function "gv2png"
Execution halted
‘DT00-DecisionTreeTutorial.Rmd’ using ‘UTF-8’... failed
‘DT01-Sumatriptan.Rmd’ using ‘UTF-8’... failed
‘DT02-Tegaderm.Rmd’ using ‘UTF-8’... [1s/1s] OK
‘DT03-ShaleGas.Rmd’ using ‘UTF-8’... failed
‘GT01-NewScientistPuzzle.Rmd’ using ‘UTF-8’... failed
‘SM01-HIV.Rmd’ using ‘UTF-8’... failed
‘SM02-TKR.Rmd’ using ‘UTF-8’... failed
- checking re-building of vignette outputs ... [98s/194s] OK
- checking PDF version of manual ... [9s/19s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '