pkgReset: Reset global options for the Rnightlights package

Description Usage Examples

View source: R/options.R

Description

Reset global options for the Rnightlights package

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#get cropMaskMethod
pkgOptions("cropMaskMethod") #returns default "rast"

#set cropMaskMethod to "gdal"
pkgOptions(cropMaskMethod="gdal") #sets to "gdal"

#check cropMaskMethod has changed
pkgOptions("cropMaskMethod") #returns "gdal"

#reset pkgOptions
pkgReset()

#check cropMaskMethod has been reset
pkgOptions("cropMaskMethod") #returns default "rast"

Rnightlights documentation built on Aug. 29, 2019, 5:02 p.m.