Running ‘anisotropyTest.R’ [38s/46s]
  Running ‘block.R’
  Running ‘idw.R’
  Running ‘interpolate.R’ [15s/16s]
  Running ‘interpolateBlock.R’ [9s/11s]
  Running ‘javaR.R’
  Running ‘linearVariogram.R’
  Running ‘minimal.R’
  Running ‘transGaussian.R’ [9s/11s]
  Running ‘unbiased.R’ [8s/11s]
Running the tests in ‘tests/idw.R’ failed.
Complete output:
  > library(intamap)
  Loading required package: sp
  > 
  > set.seed(13131)
  > 
  > # set up data:
  > data(meuse)
  > coordinates(meuse) = ~x+y
  > meuse$value = log(meuse$zinc)
  > data(meuse.grid)
  > gridded(meuse.grid) = ~x+y
  > proj4string(meuse) = CRS("+init=epsg:28992")
  > proj4string(meuse.grid) = CRS("+init=epsg:28992")
  > 
  > # set up intamap object:
  > idwObject = createIntamapObject(
  + 	observations = meuse,
  + 	formulaString=as.formula(zinc~1),
  +   predictionLocations = meuse.grid,
  + 	targetCRS = "+init=epsg:3035",
  + 	constantBias = 0,
  + 	classes = "idw"
  + )
  > 
  > # run test:
  > checkSetup(idwObject)
  Checking object ... OK
  > 
  > # do interpolation steps:
  > idwObject = preProcess(idwObject)
  > idwObject = estimateParameters(idwObject, idpRange = seq(0.25,2.75,.5), nfold=3) # faster
  [1] "best idp value found is 2.25 rmse 272.204794157114"
  > idwObject = spatialPredict(idwObject)
  > idwObject = postProcess(idwObject)
  Error in project(t(bbox(obj))[, 1:2], tg, inv = TRUE, use_aoi = FALSE) : 
    is.character(proj) is not TRUE
  Calls: postProcess ... spTransform -> spTransform -> get_aoi -> project -> stopifnot
  In addition: Warning messages:
  1: In spTransform(object$predictions, CRS(object$targetCRS)) :
    Grid warping not available, coercing to points
  2: In wkt(obj) : CRS object has no comment
  3: In wkt(CRS(tg)) : CRS object has no comment
  Execution halted
Running the tests in ‘tests/linearVariogram.R’ failed.
Complete output:
  > library(intamap)
  Loading required package: sp
  > 
  > # set up data:
  > data(meuse)
  > coordinates(meuse) = ~x+y
  > meuse$value = log(meuse$zinc)
  > data(meuse.grid)
  > gridded(meuse.grid) = ~x+y
  > proj4string(meuse) = CRS("+init=epsg:28992")
  > proj4string(meuse.grid) = CRS("+init=epsg:28992")
  > set.seed(13531)
  > 
  > mgrid = coarsenGrid(meuse.grid,4)
  > # set up intamap object:
  > obj = createIntamapObject(
  + 	observations = meuse,
  + 	predictionLocations = mgrid,
  + 	targetCRS = "+init=epsg:3035",
  + 	params = list(predictType=list(quantiles=c(0.05,0.5,0.95)),thresh=c(5.5,6.6)),
  +   outputWhat = list(mean = 1,
  +          variance = 1,
  +           quantile = 0.05,
  +           quantile = 0.5,
  +           quantile = 0.95,
  +       		excprob = 5.5,
  +       		excprob = 6.6,
  +       		cumdistr = 5.5,
  +       		cumdistr = 6.6,
  +       		cumdistr = 7.9)
  + )
  [1] "createIntamapObject: formulaString is missing, using:  value~1"
  > class(obj) = "linearVariogram"
  > 
  > # check:
  > checkSetup(obj)
  Checking object ... OK
  > 
  > # do interpolation steps:
  > obj = preProcess(obj)
  > obj = estimateParameters(obj)
  > obj = spatialPredict(obj)
  > obj = postProcess(obj)
  Error in project(t(bbox(obj))[, 1:2], tg, inv = TRUE, use_aoi = FALSE) : 
    is.character(proj) is not TRUE
  Calls: postProcess ... spTransform -> spTransform -> get_aoi -> project -> stopifnot
  In addition: Warning messages:
  1: In spTransform(object$predictions, CRS(object$targetCRS)) :
    Grid warping not available, coercing to points
  2: In wkt(obj) : CRS object has no comment
  3: In wkt(CRS(tg)) : CRS object has no comment
  Execution halted