Running examples in ‘pMEM-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: SEMap-class
> ### Title: Class and Methods for Predictive Moran's Eigenvector Maps (pMEM)
> ### Aliases: SEMap-class pMEM genSEF print.SEMap as.data.frame.SEMap
> ###   as.matrix.SEMap predict.SEMap
> 
> ### ** Examples
> 
> ## Store graphical parameters:
> tmp <- par(no.readonly = TRUE)
> par(las=1)
> 
> ## Case 1: one-dimensional symmetrical
> 
> n <- 11
> x <- (n - 1)*seq(0, 1, length.out=n)
> xx <- (n - 1)*seq(0, 1, 0.01)
> 
> sefSym <- genSEF(x, genDistMetric(), genDWF("Gaussian",3))
Warning in m(x, x) : subscript out of bounds (index 0 >= vector size 0)
Warning in m(x, x) : subscript out of bounds (index 0 >= vector size 0)
Error in m(x, x) : attempt access index 0/0 in VECTOR_ELT
Calls: genSEF -> m
Execution halted
Running examples in ‘pMEM-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: SEMap-class
> ### Title: Class and Methods for Predictive Moran's Eigenvector Maps (pMEM)
> ### Aliases: SEMap-class pMEM genSEF print.SEMap as.data.frame.SEMap
> ###   as.matrix.SEMap predict.SEMap
> 
> ### ** Examples
> 
> ## Store graphical parameters:
> tmp <- par(no.readonly = TRUE)
> par(las=1)
> 
> ## Case 1: one-dimensional symmetrical
> 
> n <- 11
> x <- (n - 1)*seq(0, 1, length.out=n)
> xx <- (n - 1)*seq(0, 1, 0.01)
> 
> sefSym <- genSEF(x, genDistMetric(), genDWF("Gaussian",3))
Warning in m(x, x) : subscript out of bounds (index 0 >= vector size 0)
Warning in m(x, x) : subscript out of bounds (index 0 >= vector size 0)
Error in m(x, x) : attempt access index 0/0 in VECTOR_ELT
Calls: genSEF -> m
Execution halted
Running examples in ‘pMEM-Ex.R’ failed
The error most likely occurred in:

> ### Name: SEMap-class
> ### Title: Class and Methods for Predictive Moran's Eigenvector Maps (pMEM)
> ### Aliases: SEMap-class pMEM genSEF print.SEMap as.data.frame.SEMap
> ###   as.matrix.SEMap predict.SEMap
> 
> ### ** Examples
> 
> ## Store graphical parameters:
> tmp <- par(no.readonly = TRUE)
> par(las=1)
> 
> ## Case 1: one-dimensional symmetrical
> 
> n <- 11
> x <- (n - 1)*seq(0, 1, length.out=n)
> xx <- (n - 1)*seq(0, 1, 0.01)
> 
> sefSym <- genSEF(x, genDistMetric(), genDWF("Gaussian",3))
Warning in m(x, x) : subscript out of bounds (index 0 >= vector size 0)
Warning in m(x, x) : subscript out of bounds (index 0 >= vector size 0)
Error in m(x, x) : attempt access index 0/0 in VECTOR_ELT
Calls: genSEF -> m
Execution halted
Running examples in ‘pMEM-Ex.R’ failed
The error most likely occurred in:

> ### Name: SEMap-class
> ### Title: Class and Methods for Predictive Moran's Eigenvector Maps (pMEM)
> ### Aliases: SEMap-class pMEM genSEF print.SEMap as.data.frame.SEMap
> ###   as.matrix.SEMap predict.SEMap
> 
> ### ** Examples
> 
> ## Store graphical parameters:
> tmp <- par(no.readonly = TRUE)
> par(las=1)
> 
> ## Case 1: one-dimensional symmetrical
> 
> n <- 11
> x <- (n - 1)*seq(0, 1, length.out=n)
> xx <- (n - 1)*seq(0, 1, 0.01)
> 
> sefSym <- genSEF(x, genDistMetric(), genDWF("Gaussian",3))
Warning in m(x, x) : subscript out of bounds (index 0 >= vector size 0)
Warning in m(x, x) : subscript out of bounds (index 0 >= vector size 0)
Error in m(x, x) : attempt access index 0/0 in VECTOR_ELT
Calls: genSEF -> m
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘Using_pMEM.Rmd’ using rmarkdown

Quitting from Using_pMEM.Rmd:154-162 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `m()`:
! attempt access index 0/0 in VECTOR_ELT
---
Backtrace:
    ▆
 1. └─pMEM::genSEF(...)
 2.   └─pMEM (local) m(x, x)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'Using_pMEM.Rmd' failed with diagnostics:
attempt access index 0/0 in VECTOR_ELT
--- failed re-building ‘Using_pMEM.Rmd’

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

Error: Vignette re-building failed.
Execution halted
Running examples in 'pMEM-Ex.R' failed
The error most likely occurred in:

> ### Name: SEMap-class
> ### Title: Class and Methods for Predictive Moran's Eigenvector Maps (pMEM)
> ### Aliases: SEMap-class pMEM genSEF print.SEMap as.data.frame.SEMap
> ###   as.matrix.SEMap predict.SEMap
> 
> ### ** Examples
> 
> ## Store graphical parameters:
> tmp <- par(no.readonly = TRUE)
> par(las=1)
> 
> ## Case 1: one-dimensional symmetrical
> 
> n <- 11
> x <- (n - 1)*seq(0, 1, length.out=n)
> xx <- (n - 1)*seq(0, 1, 0.01)
> 
> sefSym <- genSEF(x, genDistMetric(), genDWF("Gaussian",3))
Warning in m(x, x) : subscript out of bounds (index 0 >= vector size 0)
Warning in m(x, x) : subscript out of bounds (index 0 >= vector size 0)
Error in m(x, x) : attempt access index 0/0 in VECTOR_ELT
Calls: genSEF -> m
Execution halted