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.
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
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
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.
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
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
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.
Running examples in ‘bnspatial-Ex.R’ failed
The error most likely occurred in:

> ### 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
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
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.
Running examples in ‘bnspatial-Ex.R’ failed
The error most likely occurred in:

> ### 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
Loading required package: BiocGenerics

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:stats’:

    IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:

    Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, setdiff, table, tapply,
    union, unique, unsplit, which.max, which.min

Error in moralize.default(getgin(object, "dag"), result = "dgCMatrix") : 
  object 'm' not found
Calls: bnspatial ... .add_jtree.cpt_grain -> moralize -> moralize.default -> as -> .class1
Execution halted
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:
object 'm' not found
--- failed re-building ‘bnspatial.Rmd’

SUMMARY: processing the following file failed:
  ‘bnspatial.Rmd’

Error: Vignette re-building failed.
Execution halted
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.
Running examples in 'bnspatial-Ex.R' failed
The error most likely occurred in:

> ### 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
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
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.
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
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
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.
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
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
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.
Running examples in 'bnspatial-Ex.R' failed
The error most likely occurred in:

> ### 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
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
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.
Running examples in 'bnspatial-Ex.R' failed
The error most likely occurred in:

> ### 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
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