Error(s) in re-building vignettes:
  ...
--- re-building 'phylin_tutorial.Snw' using Sweave
Killed
--- re-building 'resistance_tutorial.Snw' using Sweave
Loading required package: raster
Loading required package: sp
Loading required package: igraph

Attaching package: 'igraph'

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

    union

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

    decompose, spectrum

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

    union

Loading required package: Matrix

Attaching package: 'gdistance'

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

    normalize

Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
Warning in gen.variogram(geo.dist, simul.gen.dist, lag = 0.01) :
  The variogram contains NAs.Consider adjusting the lag.
Warning in gen.variogram(res.dist, simul.gen.dist, lag = 120) :
  The variogram contains NAs.Consider adjusting the lag.
Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "numeric") { :
  the condition has length > 1 and only the first element will be used
Warning in if (class(Coords) == "matrix") { :
  the condition has length > 1 and only the first element will be used
--- finished re-building 'resistance_tutorial.Snw'

SUMMARY: processing the following file failed:
  'phylin_tutorial.Snw'

Error: Vignette re-building failed.
Execution halted