# NOT RUN {
#get cropMaskMethod
pkgOptions("cropMaskMethod")
#set cropMaskMethod to "gdal"
pkgOptions(cropMaskMethod="gdal")
#check cropMaskMethod has changed
pkgOptions("cropMaskMethod")
#reset pkgOptions
pkgReset()
#check cropMaskMethod has been reset
pkgOptions("cropMaskMethod")
# }
Run the code above in your browser using DataLab