[Raster-commits] r153 - pkg/raster/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Jan 18 15:13:26 CET 2009
Author: rhijmans
Date: 2009-01-18 15:13:26 +0100 (Sun, 18 Jan 2009)
New Revision: 153
Modified:
pkg/raster/R/exportGDAL.R
Log:
Modified: pkg/raster/R/exportGDAL.R
===================================================================
--- pkg/raster/R/exportGDAL.R 2009-01-18 13:52:30 UTC (rev 152)
+++ pkg/raster/R/exportGDAL.R 2009-01-18 14:13:26 UTC (rev 153)
@@ -47,6 +47,7 @@
} else { dataformat <- 'Float32' }
driver = new("GDALDriver", gdalfiletype)
+
if (!is.null(options) && !is.character(options)) { stop("options not character") }
transient = new("GDALTransientDataset", driver = driver, rows = nrow(raster), cols = ncol(raster), bands = nbands, type = dataformat, options = options, handle = NULL)
More information about the Raster-commits
mailing list