Error in re-building vignettes:
  ...

Attaching package: 'igraph'

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

Loading required package: quickPlot
Loading required package: reproducible

Attaching package: 'SpaDES.core'

The following objects are masked from 'package:stats':

    end, start

The following object is masked from 'package:utils':

    citation

Loading required package: SpaDES.tools
Loading required package: RandomFields
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called 'RandomFields'
Setting:
  options(
    spades.modulePath = '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/SpaDES.core/sampleModules'
  )
Paths set to:
  options(
    reproducible.cachePath = '/tmp/Rtmpvw2zWc/reproducible/cache'
    spades.inputPath = '/tmp/RtmpGQbtwO/SpaDES/inputs'
    spades.outputPath = '/tmp/RtmpGQbtwO/SpaDES/outputs'
    spades.modulePath = '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/SpaDES.core/sampleModules'
  )
Setting:
  options(
    spades.modulePath = '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/SpaDES.core/sampleModules'
  )
Paths set to:
  options(
    reproducible.cachePath = '/tmp/Rtmpvw2zWc/reproducible/cache'
    spades.inputPath = '/tmp/RtmpGQbtwO/SpaDES/inputs'
    spades.outputPath = '/tmp/RtmpGQbtwO/SpaDES/outputs'
    spades.modulePath = '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/SpaDES.core/sampleModules'
  )
Setting:
  options(
    spades.modulePath = '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/SpaDES.core/sampleModules'
  )
Paths set to:
  options(
    reproducible.cachePath = '/tmp/Rtmpvw2zWc/reproducible/cache'
    spades.inputPath = '/tmp/RtmpGQbtwO/SpaDES/inputs'
    spades.outputPath = '/tmp/RtmpGQbtwO/SpaDES/outputs'
    spades.modulePath = '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/SpaDES.core/sampleModules'
  )

Attaching package: 'data.table'

The following object is masked from 'package:raster':

    shift

Setting:
  options(
    spades.outputPath = '/tmp/RtmpacrGMC/simOutputs'
    spades.modulePath = '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/SpaDES.core/sampleModules'
  )
Paths set to:
  options(
    reproducible.cachePath = '/tmp/Rtmpvw2zWc/reproducible/cache'
    spades.inputPath = '/tmp/RtmpGQbtwO/SpaDES/inputs'
    spades.outputPath = '/tmp/RtmpacrGMC/simOutputs'
    spades.modulePath = '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/SpaDES.core/sampleModules'
  )
Loading required namespace: RandomFields
Failed with error:  'there is no package called 'RandomFields''
Quitting from lines 638-678 (ii-modules.Rmd) 
Because of an interrupted spades call, the sim object at the time of interruption  was saved in 
SpaDES.core:::.pkgEnv$.sim . It will be deleted on next call to spades
Error: processing vignette ‘ii-modules.Rmd’ failed with diagnostics:
The 'RandomFields' package is required but not installed.
Execution halted