Running examples in 'voluModel-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: smoothRaster
> ### Title: Smooth rasters
> ### Aliases: smoothRaster
> ### Keywords: dataPrep
> 
> ### ** Examples
> 
> library(raster)
Loading required package: sp
> library(fields)
Loading required package: spam
Spam version 2.8-0 (2022-01-05) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: 'spam'

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

    backsolve, forwardsolve

Loading required package: viridis
Loading required package: viridisLite

Try help(fields) to get started.
> # Create sample raster
> r <- raster(ncol=100, nrow=100)
> values(r) <- 1:10000
> 
> # Introduce a "bubble"
> values(r)[520:525] <- 9999
> plot(r)
> 
> # Smooth bubble with smoothRaster
> smoothedRaster <- smoothRaster(r)
Warning: 
Grid searches over lambda (nugget and sill variances) with  minima at the endpoints: 
  (GCV) Generalized Cross-Validation 
   minimum at  right endpoint  lambda  =  3.025469e-06 (eff. df= 593.75 )
> plot(smoothedRaster)
> 
> fastSmooth <- smoothRaster(r, fast = TRUE, aRange = 3.0)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'x' in selecting a method for function 'diag': Lapack routine dgesv: system is exactly singular: U[1,1] = 0
Calls: smoothRaster ... solve -> solve -> solve.default -> .handleSimpleError -> h
Execution halted
Running examples in ‘voluModel-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: smoothRaster
> ### Title: Smooth rasters
> ### Aliases: smoothRaster
> ### Keywords: dataPrep
> 
> ### ** Examples
> 
> library(raster)
Loading required package: sp
> library(fields)
Loading required package: spam
Spam version 2.8-0 (2022-01-05) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: ‘spam’

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

    backsolve, forwardsolve

Loading required package: viridis
Loading required package: viridisLite

Try help(fields) to get started.
> # Create sample raster
> r <- raster(ncol=100, nrow=100)
> values(r) <- 1:10000
> 
> # Introduce a "bubble"
> values(r)[520:525] <- 9999
> plot(r)
> 
> # Smooth bubble with smoothRaster
> smoothedRaster <- smoothRaster(r)
Warning: 
Grid searches over lambda (nugget and sill variances) with  minima at the endpoints: 
  (GCV) Generalized Cross-Validation 
   minimum at  right endpoint  lambda  =  3.025469e-06 (eff. df= 593.75 )
> plot(smoothedRaster)
> 
> fastSmooth <- smoothRaster(r, fast = TRUE, aRange = 3.0)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'x' in selecting a method for function 'diag': Lapack routine dgesv: system is exactly singular: U[1,1] = 0
Calls: smoothRaster ... solve -> solve -> solve.default -> .handleSimpleError -> h
Execution halted
Running examples in ‘voluModel-Ex.R’ failed
The error most likely occurred in:

> ### Name: smoothRaster
> ### Title: Smooth rasters
> ### Aliases: smoothRaster
> ### Keywords: dataPrep
> 
> ### ** Examples
> 
> library(raster)
Loading required package: sp
> library(fields)
Loading required package: spam
Spam version 2.8-0 (2022-01-05) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: ‘spam’

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

    backsolve, forwardsolve

Loading required package: viridis
Loading required package: viridisLite

Try help(fields) to get started.
> # Create sample raster
> r <- raster(ncol=100, nrow=100)
> values(r) <- 1:10000
> 
> # Introduce a "bubble"
> values(r)[520:525] <- 9999
> plot(r)
> 
> # Smooth bubble with smoothRaster
> smoothedRaster <- smoothRaster(r)
Warning: 
Grid searches over lambda (nugget and sill variances) with  minima at the endpoints: 
  (GCV) Generalized Cross-Validation 
   minimum at  right endpoint  lambda  =  3.025469e-06 (eff. df= 593.75 )
> plot(smoothedRaster)
> 
> fastSmooth <- smoothRaster(r, fast = TRUE, aRange = 3.0)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'x' in selecting a method for function 'diag': Lapack routine dgesv: system is exactly singular: U[1,1] = 0
Calls: smoothRaster ... solve -> solve -> solve.default -> .handleSimpleError -> h
Execution halted
Running examples in ‘voluModel-Ex.R’ failed
The error most likely occurred in:

> ### Name: smoothRaster
> ### Title: Smooth rasters
> ### Aliases: smoothRaster
> ### Keywords: dataPrep
> 
> ### ** Examples
> 
> library(raster)
Loading required package: sp
> library(fields)
Loading required package: spam
Spam version 2.8-0 (2022-01-05) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: ‘spam’

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

    backsolve, forwardsolve

Loading required package: viridis
Loading required package: viridisLite

Try help(fields) to get started.
> # Create sample raster
> r <- raster(ncol=100, nrow=100)
> values(r) <- 1:10000
> 
> # Introduce a "bubble"
> values(r)[520:525] <- 9999
> plot(r)
> 
> # Smooth bubble with smoothRaster
> smoothedRaster <- smoothRaster(r)
Warning: 
Grid searches over lambda (nugget and sill variances) with  minima at the endpoints: 
  (GCV) Generalized Cross-Validation 
   minimum at  right endpoint  lambda  =  3.025469e-06 (eff. df= 593.75 )
> plot(smoothedRaster)
> 
> fastSmooth <- smoothRaster(r, fast = TRUE, aRange = 3.0)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'x' in selecting a method for function 'diag': Lapack routine dgesv: system is exactly singular: U[1,1] = 0
Calls: smoothRaster ... solve -> solve -> solve.default -> .handleSimpleError -> h
Execution halted
Running examples in 'voluModel-Ex.R' failed
The error most likely occurred in:

> ### Name: smoothRaster
> ### Title: Smooth rasters
> ### Aliases: smoothRaster
> ### Keywords: dataPrep
> 
> ### ** Examples
> 
> library(raster)
Loading required package: sp
> library(fields)
Loading required package: spam
Spam version 2.8-0 (2022-01-05) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction 
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.

Attaching package: 'spam'

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

    backsolve, forwardsolve

Loading required package: viridis
Loading required package: viridisLite

Try help(fields) to get started.
> # Create sample raster
> r <- raster(ncol=100, nrow=100)
> values(r) <- 1:10000
> 
> # Introduce a "bubble"
> values(r)[520:525] <- 9999
> plot(r)
> 
> # Smooth bubble with smoothRaster
> smoothedRaster <- smoothRaster(r)
Warning: 
Grid searches over lambda (nugget and sill variances) with  minima at the endpoints: 
  (GCV) Generalized Cross-Validation 
   minimum at  right endpoint  lambda  =  3.025469e-06 (eff. df= 593.75 )
> plot(smoothedRaster)
> 
> fastSmooth <- smoothRaster(r, fast = TRUE, aRange = 3.0)
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'x' in selecting a method for function 'diag': Lapack routine dgesv: system is exactly singular: U[1,1] = 0
Calls: smoothRaster ... solve -> solve -> solve.default -> .handleSimpleError -> h
Execution halted