Package suggested but not available for checking: ‘RStoolbox’
Running examples in ‘fieldRS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rankPlots
> ### Title: rankPlots
> ### Aliases: rankPlots
> 
> ### ** Examples
> 
> {
+ 
+ require(raster)
+ require(RStoolbox)
+ require(ggplot2)
+ 
+ # read raster data
+ r <- brick(system.file("extdata", "ndvi.tif", package="fieldRS"))
+ 
+ # read road information
+ data(roads)
+ 
+ # unsupervised classification with kmeans
+ uc <- unsuperClass(r, nSamples=5000, nClasses=5)$map
+ 
+ # derive potential sampling plots
+ pp <- derivePlots(uc, 1000)
+ 
+ # plot ranking
+ pp@data <- rankPlots(uc, pp, roads)
+ 
+ # plot output
+ gp <- fortify(pp, region="ranking")
+ ggplot(gp, aes(x=long, y=lat, group=group, fill=as.numeric(id))) + 
+ geom_polygon() + scale_fill_continuous(name="Ranking")
+ 
+ }
Loading required package: raster
Loading required package: sp
Loading required package: RStoolbox
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘RStoolbox’
Loading required package: ggplot2
Error in unsuperClass(r, nSamples = 5000, nClasses = 5) : 
  could not find function "unsuperClass"
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘fieldRS.Rmd’ using rmarkdown
Quitting from lines 21-28 (fieldRS.Rmd) 
Error: processing vignette ‘fieldRS.Rmd’ failed with diagnostics:
there is no package called 'RStoolbox'
--- failed re-building ‘fieldRS.Rmd’

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

Error: Vignette re-building failed.
Execution halted
Package suggested but not available for checking: ‘RStoolbox’
Running examples in ‘fieldRS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rankPlots
> ### Title: rankPlots
> ### Aliases: rankPlots
> 
> ### ** Examples
> 
> {
+ 
+ require(raster)
+ require(RStoolbox)
+ require(ggplot2)
+ 
+ # read raster data
+ r <- brick(system.file("extdata", "ndvi.tif", package="fieldRS"))
+ 
+ # read road information
+ data(roads)
+ 
+ # unsupervised classification with kmeans
+ uc <- unsuperClass(r, nSamples=5000, nClasses=5)$map
+ 
+ # derive potential sampling plots
+ pp <- derivePlots(uc, 1000)
+ 
+ # plot ranking
+ pp@data <- rankPlots(uc, pp, roads)
+ 
+ # plot output
+ gp <- fortify(pp, region="ranking")
+ ggplot(gp, aes(x=long, y=lat, group=group, fill=as.numeric(id))) + 
+ geom_polygon() + scale_fill_continuous(name="Ranking")
+ 
+ }
Loading required package: raster
Loading required package: sp
Loading required package: RStoolbox
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘RStoolbox’
Loading required package: ggplot2
Error in unsuperClass(r, nSamples = 5000, nClasses = 5) : 
  could not find function "unsuperClass"
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘fieldRS.Rmd’ using rmarkdown
Quitting from lines 21-28 (fieldRS.Rmd) 
Error: processing vignette ‘fieldRS.Rmd’ failed with diagnostics:
there is no package called 'RStoolbox'
--- failed re-building ‘fieldRS.Rmd’

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

Error: Vignette re-building failed.
Execution halted
Package suggested but not available for checking: ‘RStoolbox’
Running examples in ‘fieldRS-Ex.R’ failed
The error most likely occurred in:

> ### Name: rankPlots
> ### Title: rankPlots
> ### Aliases: rankPlots
> 
> ### ** Examples
> 
> {
+ 
+ require(raster)
+ require(RStoolbox)
+ require(ggplot2)
+ 
+ # read raster data
+ r <- brick(system.file("extdata", "ndvi.tif", package="fieldRS"))
+ 
+ # read road information
+ data(roads)
+ 
+ # unsupervised classification with kmeans
+ uc <- unsuperClass(r, nSamples=5000, nClasses=5)$map
+ 
+ # derive potential sampling plots
+ pp <- derivePlots(uc, 1000)
+ 
+ # plot ranking
+ pp@data <- rankPlots(uc, pp, roads)
+ 
+ # plot output
+ gp <- fortify(pp, region="ranking")
+ ggplot(gp, aes(x=long, y=lat, group=group, fill=as.numeric(id))) + 
+ geom_polygon() + scale_fill_continuous(name="Ranking")
+ 
+ }
Loading required package: raster
Loading required package: sp
Loading required package: RStoolbox
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘RStoolbox’
Loading required package: ggplot2
Error in unsuperClass(r, nSamples = 5000, nClasses = 5) : 
  could not find function "unsuperClass"
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘fieldRS.Rmd’ using rmarkdown
Quitting from lines 21-28 (fieldRS.Rmd) 
Error: processing vignette 'fieldRS.Rmd' failed with diagnostics:
there is no package called 'RStoolbox'
--- failed re-building ‘fieldRS.Rmd’

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

Error: Vignette re-building failed.
Execution halted
Package suggested but not available for checking: ‘RStoolbox’
Running examples in ‘fieldRS-Ex.R’ failed
The error most likely occurred in:

> ### Name: rankPlots
> ### Title: rankPlots
> ### Aliases: rankPlots
> 
> ### ** Examples
> 
> {
+ 
+ require(raster)
+ require(RStoolbox)
+ require(ggplot2)
+ 
+ # read raster data
+ r <- brick(system.file("extdata", "ndvi.tif", package="fieldRS"))
+ 
+ # read road information
+ data(roads)
+ 
+ # unsupervised classification with kmeans
+ uc <- unsuperClass(r, nSamples=5000, nClasses=5)$map
+ 
+ # derive potential sampling plots
+ pp <- derivePlots(uc, 1000)
+ 
+ # plot ranking
+ pp@data <- rankPlots(uc, pp, roads)
+ 
+ # plot output
+ gp <- fortify(pp, region="ranking")
+ ggplot(gp, aes(x=long, y=lat, group=group, fill=as.numeric(id))) + 
+ geom_polygon() + scale_fill_continuous(name="Ranking")
+ 
+ }
Loading required package: raster
Loading required package: sp
Loading required package: RStoolbox
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘RStoolbox’
Loading required package: ggplot2
Error in unsuperClass(r, nSamples = 5000, nClasses = 5) : 
  could not find function "unsuperClass"
Execution halted
Error(s) in re-building vignettes:
--- re-building ‘fieldRS.Rmd’ using rmarkdown
Quitting from lines 21-28 (fieldRS.Rmd) 
Error: processing vignette 'fieldRS.Rmd' failed with diagnostics:
there is no package called 'RStoolbox'
--- failed re-building ‘fieldRS.Rmd’

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

Error: Vignette re-building failed.
Execution halted
Package suggested but not available for checking: ‘RStoolbox’
Running examples in ‘fieldRS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rankPlots
> ### Title: rankPlots
> ### Aliases: rankPlots
> 
> ### ** Examples
> 
> {
+ 
+ require(raster)
+ require(RStoolbox)
+ require(ggplot2)
+ 
+ # read raster data
+ r <- brick(system.file("extdata", "ndvi.tif", package="fieldRS"))
+ 
+ # read road information
+ data(roads)
+ 
+ # unsupervised classification with kmeans
+ uc <- unsuperClass(r, nSamples=5000, nClasses=5)$map
+ 
+ # derive potential sampling plots
+ pp <- derivePlots(uc, 1000)
+ 
+ # plot ranking
+ pp@data <- rankPlots(uc, pp, roads)
+ 
+ # plot output
+ gp <- fortify(pp, region="ranking")
+ ggplot(gp, aes(x=long, y=lat, group=group, fill=as.numeric(id))) + 
+ geom_polygon() + scale_fill_continuous(name="Ranking")
+ 
+ }
Loading required package: raster
Loading required package: sp
Loading required package: RStoolbox
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘RStoolbox’
Loading required package: ggplot2
Error in unsuperClass(r, nSamples = 5000, nClasses = 5) : 
  could not find function "unsuperClass"
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘fieldRS.Rmd’ using rmarkdown
Quitting from lines 21-28 (fieldRS.Rmd) 
Error: processing vignette ‘fieldRS.Rmd’ failed with diagnostics:
there is no package called 'RStoolbox'
--- failed re-building ‘fieldRS.Rmd’

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

Error: Vignette re-building failed.
Execution halted
Package suggested but not available for checking: ‘RStoolbox’
Running examples in ‘fieldRS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rankPlots
> ### Title: rankPlots
> ### Aliases: rankPlots
> 
> ### ** Examples
> 
> {
+ 
+ require(raster)
+ require(RStoolbox)
+ require(ggplot2)
+ 
+ # read raster data
+ r <- brick(system.file("extdata", "ndvi.tif", package="fieldRS"))
+ 
+ # read road information
+ data(roads)
+ 
+ # unsupervised classification with kmeans
+ uc <- unsuperClass(r, nSamples=5000, nClasses=5)$map
+ 
+ # derive potential sampling plots
+ pp <- derivePlots(uc, 1000)
+ 
+ # plot ranking
+ pp@data <- rankPlots(uc, pp, roads)
+ 
+ # plot output
+ gp <- fortify(pp, region="ranking")
+ ggplot(gp, aes(x=long, y=lat, group=group, fill=as.numeric(id))) + 
+ geom_polygon() + scale_fill_continuous(name="Ranking")
+ 
+ }
Loading required package: raster
Loading required package: sp
Loading required package: RStoolbox
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘RStoolbox’
Loading required package: ggplot2
Error in unsuperClass(r, nSamples = 5000, nClasses = 5) : 
  could not find function "unsuperClass"
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘fieldRS.Rmd’ using rmarkdown
Quitting from lines 21-28 (fieldRS.Rmd) 
Error: processing vignette ‘fieldRS.Rmd’ failed with diagnostics:
there is no package called 'RStoolbox'
--- failed re-building ‘fieldRS.Rmd’

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

Error: Vignette re-building failed.
Execution halted
install log '' does not exist