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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: SpATS.nogeno
> ### Title: Two-dimensional P-spline smoothing
> ### Aliases: SpATS.nogeno
> 
> ### ** Examples
> 
> # Get the data
> library(SemiPar)
> data(ethanol)
> 
> # Fit the PS-ANOVA model
> ps2d <- SpATS.nogeno(response = "NOx",
+                      spatial = ~PSANOVA(E, C,  nseg = c(20, 20), nest.div = c(2, 2)),
+                      data = ethanol,
+                      control = list(maxit = 100, tolerance = 1e-05,
+                                     monitoring = 0, update.psi = FALSE))
> 
> # Report effective dimensions, if desired
> # print(summary(ps2d))
> 
> # Compute component surface and their sum on a fine grid
> Tr = obtain.spatialtrend(ps2d, grid = c(100, 100))
Warning in max(cumDim[cumDim <= lstats]) :
  no non-missing arguments to max; returning -Inf
Error in array(STATS, dims[perm]) : 
  'data' must be of a vector type, was 'NULL'
Calls: obtain.spatialtrend -> sweep -> aperm -> array
Execution halted
Running examples in ‘JOPS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: SpATS.nogeno
> ### Title: Two-dimensional P-spline smoothing
> ### Aliases: SpATS.nogeno
> 
> ### ** Examples
> 
> # Get the data
> library(SemiPar)
> data(ethanol)
> 
> # Fit the PS-ANOVA model
> ps2d <- SpATS.nogeno(response = "NOx",
+                      spatial = ~PSANOVA(E, C,  nseg = c(20, 20), nest.div = c(2, 2)),
+                      data = ethanol,
+                      control = list(maxit = 100, tolerance = 1e-05,
+                                     monitoring = 0, update.psi = FALSE))
> 
> # Report effective dimensions, if desired
> # print(summary(ps2d))
> 
> # Compute component surface and their sum on a fine grid
> Tr = obtain.spatialtrend(ps2d, grid = c(100, 100))
Warning in max(cumDim[cumDim <= lstats]) :
  no non-missing arguments to max; returning -Inf
Error in array(STATS, dims[perm]) : 
  'data' must be of a vector type, was 'NULL'
Calls: obtain.spatialtrend -> sweep -> aperm -> array
Execution halted
Namespaces in Imports field not imported from:
  ‘MASS’ ‘boot’ ‘fds’ ‘rpart’
  All declared Imports should be used.
Running examples in ‘JOPS-Ex.R’ failed
The error most likely occurred in:

> ### Name: SpATS.nogeno
> ### Title: Two-dimensional P-spline smoothing
> ### Aliases: SpATS.nogeno
> 
> ### ** Examples
> 
> # Get the data
> library(SemiPar)
> data(ethanol)
> 
> # Fit the PS-ANOVA model
> ps2d <- SpATS.nogeno(response = "NOx",
+                      spatial = ~PSANOVA(E, C,  nseg = c(20, 20), nest.div = c(2, 2)),
+                      data = ethanol,
+                      control = list(maxit = 100, tolerance = 1e-05,
+                                     monitoring = 0, update.psi = FALSE))
> 
> # Report effective dimensions, if desired
> # print(summary(ps2d))
> 
> # Compute component surface and their sum on a fine grid
> Tr = obtain.spatialtrend(ps2d, grid = c(100, 100))
Warning in max(cumDim[cumDim <= lstats]) :
  no non-missing arguments to max; returning -Inf
Error in array(STATS, dims[perm]) : 
  'data' must be of a vector type, was 'NULL'
Calls: obtain.spatialtrend -> sweep -> aperm -> array
Execution halted
Namespaces in Imports field not imported from:
  ‘MASS’ ‘boot’ ‘fds’ ‘rpart’
  All declared Imports should be used.
Running examples in ‘JOPS-Ex.R’ failed
The error most likely occurred in:

> ### Name: SpATS.nogeno
> ### Title: Two-dimensional P-spline smoothing
> ### Aliases: SpATS.nogeno
> 
> ### ** Examples
> 
> # Get the data
> library(SemiPar)
> data(ethanol)
> 
> # Fit the PS-ANOVA model
> ps2d <- SpATS.nogeno(response = "NOx",
+                      spatial = ~PSANOVA(E, C,  nseg = c(20, 20), nest.div = c(2, 2)),
+                      data = ethanol,
+                      control = list(maxit = 100, tolerance = 1e-05,
+                                     monitoring = 0, update.psi = FALSE))
> 
> # Report effective dimensions, if desired
> # print(summary(ps2d))
> 
> # Compute component surface and their sum on a fine grid
> Tr = obtain.spatialtrend(ps2d, grid = c(100, 100))
Warning in max(cumDim[cumDim <= lstats]) :
  no non-missing arguments to max; returning -Inf
Error in array(STATS, dims[perm]) : 
  'data' must be of a vector type, was 'NULL'
Calls: obtain.spatialtrend -> sweep -> aperm -> array
Execution halted
Running examples in 'JOPS-Ex.R' failed
The error most likely occurred in:

> ### Name: SpATS.nogeno
> ### Title: Two-dimensional P-spline smoothing
> ### Aliases: SpATS.nogeno
> 
> ### ** Examples
> 
> # Get the data
> library(SemiPar)
> data(ethanol)
> 
> # Fit the PS-ANOVA model
> ps2d <- SpATS.nogeno(response = "NOx",
+                      spatial = ~PSANOVA(E, C,  nseg = c(20, 20), nest.div = c(2, 2)),
+                      data = ethanol,
+                      control = list(maxit = 100, tolerance = 1e-05,
+                                     monitoring = 0, update.psi = FALSE))
> 
> # Report effective dimensions, if desired
> # print(summary(ps2d))
> 
> # Compute component surface and their sum on a fine grid
> Tr = obtain.spatialtrend(ps2d, grid = c(100, 100))
Warning in max(cumDim[cumDim <= lstats]) :
  no non-missing arguments to max; returning -Inf
Error in array(STATS, dims[perm]) : 
  'data' must be of a vector type, was 'NULL'
Calls: obtain.spatialtrend -> sweep -> aperm -> array
Execution halted
Namespaces in Imports field not imported from:
  'MASS' 'boot' 'fds' 'rpart'
  All declared Imports should be used.
Running examples in 'JOPS-Ex.R' failed
The error most likely occurred in:

> ### Name: SpATS.nogeno
> ### Title: Two-dimensional P-spline smoothing
> ### Aliases: SpATS.nogeno
> 
> ### ** Examples
> 
> # Get the data
> library(SemiPar)
> data(ethanol)
> 
> # Fit the PS-ANOVA model
> ps2d <- SpATS.nogeno(response = "NOx",
+                      spatial = ~PSANOVA(E, C,  nseg = c(20, 20), nest.div = c(2, 2)),
+                      data = ethanol,
+                      control = list(maxit = 100, tolerance = 1e-05,
+                                     monitoring = 0, update.psi = FALSE))
> 
> # Report effective dimensions, if desired
> # print(summary(ps2d))
> 
> # Compute component surface and their sum on a fine grid
> Tr = obtain.spatialtrend(ps2d, grid = c(100, 100))
Warning in max(cumDim[cumDim <= lstats]) :
  no non-missing arguments to max; returning -Inf
Error in array(STATS, dims[perm]) : 
  'data' must be of a vector type, was 'NULL'
Calls: obtain.spatialtrend -> sweep -> aperm -> array
Execution halted
Running examples in ‘JOPS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: SpATS.nogeno
> ### Title: Two-dimensional P-spline smoothing
> ### Aliases: SpATS.nogeno
> 
> ### ** Examples
> 
> # Get the data
> library(SemiPar)
> data(ethanol)
> 
> # Fit the PS-ANOVA model
> ps2d <- SpATS.nogeno(response = "NOx",
+                      spatial = ~PSANOVA(E, C,  nseg = c(20, 20), nest.div = c(2, 2)),
+                      data = ethanol,
+                      control = list(maxit = 100, tolerance = 1e-05,
+                                     monitoring = 0, update.psi = FALSE))
> 
> # Report effective dimensions, if desired
> # print(summary(ps2d))
> 
> # Compute component surface and their sum on a fine grid
> Tr = obtain.spatialtrend(ps2d, grid = c(100, 100))
Warning in max(cumDim[cumDim <= lstats]) :
  no non-missing arguments to max; returning -Inf
Error in array(STATS, dims[perm]) : 
  'data' must be of a vector type, was 'NULL'
Calls: obtain.spatialtrend -> sweep -> aperm -> array
Execution halted
Namespaces in Imports field not imported from:
  ‘MASS’ ‘boot’ ‘fds’ ‘rpart’
  All declared Imports should be used.
Running examples in ‘JOPS-Ex.R’ failed
The error most likely occurred in:

> ### Name: SpATS.nogeno
> ### Title: Two-dimensional P-spline smoothing
> ### Aliases: SpATS.nogeno
> 
> ### ** Examples
> 
> # Get the data
> library(SemiPar)
> data(ethanol)
> 
> # Fit the PS-ANOVA model
> ps2d <- SpATS.nogeno(response = "NOx",
+                      spatial = ~PSANOVA(E, C,  nseg = c(20, 20), nest.div = c(2, 2)),
+                      data = ethanol,
+                      control = list(maxit = 100, tolerance = 1e-05,
+                                     monitoring = 0, update.psi = FALSE))
> 
> # Report effective dimensions, if desired
> # print(summary(ps2d))
> 
> # Compute component surface and their sum on a fine grid
> Tr = obtain.spatialtrend(ps2d, grid = c(100, 100))
Warning in max(cumDim[cumDim <= lstats]) :
  no non-missing arguments to max; returning -Inf
Error in array(STATS, dims[perm]) : 
  'data' must be of a vector type, was 'NULL'
Calls: obtain.spatialtrend -> sweep -> aperm -> array
Execution halted
Running examples in ‘JOPS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: SpATS.nogeno
> ### Title: Two-dimensional P-spline smoothing
> ### Aliases: SpATS.nogeno
> 
> ### ** Examples
> 
> # Get the data
> library(SemiPar)
> data(ethanol)
> 
> # Fit the PS-ANOVA model
> ps2d <- SpATS.nogeno(response = "NOx",
+                      spatial = ~PSANOVA(E, C,  nseg = c(20, 20), nest.div = c(2, 2)),
+                      data = ethanol,
+                      control = list(maxit = 100, tolerance = 1e-05,
+                                     monitoring = 0, update.psi = FALSE))
> 
> # Report effective dimensions, if desired
> # print(summary(ps2d))
> 
> # Compute component surface and their sum on a fine grid
> Tr = obtain.spatialtrend(ps2d, grid = c(100, 100))
Warning in max(cumDim[cumDim <= lstats]) :
  no non-missing arguments to max; returning -Inf
Error in array(STATS, dims[perm]) : 
  'data' must be of a vector type, was 'NULL'
Calls: obtain.spatialtrend -> sweep -> aperm -> array
Execution halted
Namespaces in Imports field not imported from:
  ‘MASS’ ‘boot’ ‘fds’ ‘rpart’
  All declared Imports should be used.
Running examples in 'JOPS-Ex.R' failed
The error most likely occurred in:

> ### Name: SpATS.nogeno
> ### Title: Two-dimensional P-spline smoothing
> ### Aliases: SpATS.nogeno
> 
> ### ** Examples
> 
> # Get the data
> library(SemiPar)
> data(ethanol)
> 
> # Fit the PS-ANOVA model
> ps2d <- SpATS.nogeno(response = "NOx",
+                      spatial = ~PSANOVA(E, C,  nseg = c(20, 20), nest.div = c(2, 2)),
+                      data = ethanol,
+                      control = list(maxit = 100, tolerance = 1e-05,
+                                     monitoring = 0, update.psi = FALSE))
> 
> # Report effective dimensions, if desired
> # print(summary(ps2d))
> 
> # Compute component surface and their sum on a fine grid
> Tr = obtain.spatialtrend(ps2d, grid = c(100, 100))
Warning in max(cumDim[cumDim <= lstats]) :
  no non-missing arguments to max; returning -Inf
Error in array(STATS, dims[perm]) : 
  'data' must be of a vector type, was 'NULL'
Calls: obtain.spatialtrend -> sweep -> aperm -> array
Execution halted
Namespaces in Imports field not imported from:
  ‘MASS’ ‘boot’ ‘fds’ ‘rpart’
  All declared Imports should be used.
Running examples in 'JOPS-Ex.R' failed
The error most likely occurred in:

> ### Name: SpATS.nogeno
> ### Title: Two-dimensional P-spline smoothing
> ### Aliases: SpATS.nogeno
> 
> ### ** Examples
> 
> # Get the data
> library(SemiPar)
> data(ethanol)
> 
> # Fit the PS-ANOVA model
> ps2d <- SpATS.nogeno(response = "NOx",
+                      spatial = ~PSANOVA(E, C,  nseg = c(20, 20), nest.div = c(2, 2)),
+                      data = ethanol,
+                      control = list(maxit = 100, tolerance = 1e-05,
+                                     monitoring = 0, update.psi = FALSE))
> 
> # Report effective dimensions, if desired
> # print(summary(ps2d))
> 
> # Compute component surface and their sum on a fine grid
> Tr = obtain.spatialtrend(ps2d, grid = c(100, 100))
Warning in max(cumDim[cumDim <= lstats]) :
  no non-missing arguments to max; returning -Inf
Error in array(STATS, dims[perm]) : 
  'data' must be of a vector type, was 'NULL'
Calls: obtain.spatialtrend -> sweep -> aperm -> array
Execution halted