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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: singleplotter
> ### Title: Depict the empirical (null) distribution for class-focused
> ###   pattern metrics.
> ### Aliases: singleplotter
> ### Keywords: distributions
> 
> ### ** Examples
> 
> # EXAMPLE USES PREVIOUSLY PRODUCED RESULTS TO SPEED-UP THE EXAMPLE,
> # BUT THE EXAMPLE FROM singlemap() SHOULD BE CALLED FIRST
> singleplotter(dat = data$result1, img = data$demoimage1, metrics = c(1, 5, 10))
Warning: Please use 'check_landscape()' to ensure the input data is valid.
Warning: Number of classes must be >= 3, IJI = NA.
Warning: Class 2: PAFRAC = NA for class with < 10 patches
Error in names(actual) <- names(dat) : 
  'names' attribute [110] must be the same length as the vector [1]
Calls: singleplotter
Execution halted
Running examples in ‘PatternClass-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: singleplotter
> ### Title: Depict the empirical (null) distribution for class-focused
> ###   pattern metrics.
> ### Aliases: singleplotter
> ### Keywords: distributions
> 
> ### ** Examples
> 
> # EXAMPLE USES PREVIOUSLY PRODUCED RESULTS TO SPEED-UP THE EXAMPLE,
> # BUT THE EXAMPLE FROM singlemap() SHOULD BE CALLED FIRST
> singleplotter(dat = data$result1, img = data$demoimage1, metrics = c(1, 5, 10))
Warning: Please use 'check_landscape()' to ensure the input data is valid.
Warning: Number of classes must be >= 3, IJI = NA.
Warning: Class 2: PAFRAC = NA for class with < 10 patches
Error in names(actual) <- names(dat) : 
  'names' attribute [110] must be the same length as the vector [1]
Calls: singleplotter
Execution halted
Running examples in ‘PatternClass-Ex.R’ failed
The error most likely occurred in:

> ### Name: singleplotter
> ### Title: Depict the empirical (null) distribution for class-focused
> ###   pattern metrics.
> ### Aliases: singleplotter
> ### Keywords: distributions
> 
> ### ** Examples
> 
> # EXAMPLE USES PREVIOUSLY PRODUCED RESULTS TO SPEED-UP THE EXAMPLE,
> # BUT THE EXAMPLE FROM singlemap() SHOULD BE CALLED FIRST
> singleplotter(dat = data$result1, img = data$demoimage1, metrics = c(1, 5, 10))
Warning: Please use 'check_landscape()' to ensure the input data is valid.
Warning: Number of classes must be >= 3, IJI = NA.
Warning: Class 2: PAFRAC = NA for class with < 10 patches
Error in names(actual) <- names(dat) : 
  'names' attribute [110] must be the same length as the vector [1]
Calls: singleplotter
Execution halted
Running examples in ‘PatternClass-Ex.R’ failed
The error most likely occurred in:

> ### Name: singleplotter
> ### Title: Depict the empirical (null) distribution for class-focused
> ###   pattern metrics.
> ### Aliases: singleplotter
> ### Keywords: distributions
> 
> ### ** Examples
> 
> # EXAMPLE USES PREVIOUSLY PRODUCED RESULTS TO SPEED-UP THE EXAMPLE,
> # BUT THE EXAMPLE FROM singlemap() SHOULD BE CALLED FIRST
> singleplotter(dat = data$result1, img = data$demoimage1, metrics = c(1, 5, 10))
Warning: Please use 'check_landscape()' to ensure the input data is valid.
Warning: Number of classes must be >= 3, IJI = NA.
Warning: Class 2: PAFRAC = NA for class with < 10 patches
Error in names(actual) <- names(dat) : 
  'names' attribute [110] must be the same length as the vector [1]
Calls: singleplotter
Execution halted
Running examples in 'PatternClass-Ex.R' failed
The error most likely occurred in:

> ### Name: singleplotter
> ### Title: Depict the empirical (null) distribution for class-focused
> ###   pattern metrics.
> ### Aliases: singleplotter
> ### Keywords: distributions
> 
> ### ** Examples
> 
> # EXAMPLE USES PREVIOUSLY PRODUCED RESULTS TO SPEED-UP THE EXAMPLE,
> # BUT THE EXAMPLE FROM singlemap() SHOULD BE CALLED FIRST
> singleplotter(dat = data$result1, img = data$demoimage1, metrics = c(1, 5, 10))
Warning: Please use 'check_landscape()' to ensure the input data is valid.
Warning: Number of classes must be >= 3, IJI = NA.
Warning: Class 2: PAFRAC = NA for class with < 10 patches
Error in names(actual) <- names(dat) : 
  'names' attribute [110] must be the same length as the vector [1]
Calls: singleplotter
Execution halted
Running examples in 'PatternClass-Ex.R' failed
The error most likely occurred in:

> ### Name: singleplotter
> ### Title: Depict the empirical (null) distribution for class-focused
> ###   pattern metrics.
> ### Aliases: singleplotter
> ### Keywords: distributions
> 
> ### ** Examples
> 
> # EXAMPLE USES PREVIOUSLY PRODUCED RESULTS TO SPEED-UP THE EXAMPLE,
> # BUT THE EXAMPLE FROM singlemap() SHOULD BE CALLED FIRST
> singleplotter(dat = data$result1, img = data$demoimage1, metrics = c(1, 5, 10))
Warning: Please use 'check_landscape()' to ensure the input data is valid.
Warning: Number of classes must be >= 3, IJI = NA.
Warning: Class 2: PAFRAC = NA for class with < 10 patches
Error in names(actual) <- names(dat) : 
  'names' attribute [110] must be the same length as the vector [1]
Calls: singleplotter
Execution halted