- using R Under development (unstable) (2023-10-01 r85245)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 16.0.6 (15)
GNU Fortran (Debian 13.2.0-4) 13.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘bnspatial/DESCRIPTION’ ... OK
- this is package ‘bnspatial’ version ‘1.1.1’
- 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 ‘bnspatial’ 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 ... [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/1s] OK
- checking whether startup messages can be suppressed ... [0s/1s] 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 ... [10s/12s] 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 ... [11s/12s] WARNING
Error loading dataset 'ConwyData':
Error in .requirePackage(package) :
unable to find required package 'graph'
The dataset(s) may use package(s) not declared in Depends/Imports.
- 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 ... [19s/22s] ERROR
Running examples in ‘bnspatial-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bnspatial
> ### Title: Spatialize the Bayesian network
> ### Aliases: bnspatial
>
> ### ** Examples
>
> list2env(ConwyData, environment())
<environment: R_GlobalEnv>
>
> network <- LandUseChange
> spatialData <- c(ConwyLU, ConwySlope, ConwyStatus)
> lookup <- LUclasses
>
> bn <- bnspatial(network, 'FinalLULC', spatialData, lookup)
"CurrentLULC" points to:
-> ConwyLU
With states:
forest arable other
Represented by integer values:
2 <-> 3 <-> 1
----------------------------------
"Slope" points to:
-> ConwySlope
With states:
flat moderate steep
Discretized by intervals:
-Inf <-> 1 <-> 7 <-> Inf
----------------------------------
"LegalStatus" points to:
-> ConwyStatus
With states:
public private protected
Represented by integer values:
4 <-> 3 <-> 1
----------------------------------
Loading required package: graph
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘graph’
Error in .requirePackage(package) :
unable to find required package ‘graph’
Calls: bnspatial ... .extendsForS3 -> extends -> getClassDef -> .requirePackage
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [16s/18s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘bnspatial.Rmd’ using rmarkdown
Quitting from lines 93-114 [unnamed-chunk-5] (bnspatial.Rmd)
Error: processing vignette 'bnspatial.Rmd' failed with diagnostics:
unable to find required package 'graph'
--- failed re-building ‘bnspatial.Rmd’
SUMMARY: processing the following file failed:
‘bnspatial.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [7s/10s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs, 1 WARNING