CRAN Package Check Results for Package spup

Last updated on 2019-12-21 10:48:01 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3-1 11.56 132.14 143.70 ERROR
r-devel-linux-x86_64-debian-gcc 1.3-1 9.86 102.45 112.31 ERROR
r-devel-linux-x86_64-fedora-clang 1.3-1 217.82 OK
r-devel-linux-x86_64-fedora-gcc 1.3-1 227.54 OK
r-devel-windows-ix86+x86_64 1.3-1 32.00 162.00 194.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.3-1 29.00 165.00 194.00 OK
r-patched-linux-x86_64 1.3-1 OK
r-patched-solaris-x86 1.3-1 288.40 OK
r-release-linux-x86_64 1.3-1 9.28 157.15 166.43 OK
r-release-windows-ix86+x86_64 1.3-1 20.00 223.00 243.00 OK
r-release-osx-x86_64 1.3-1 OK
r-oldrel-windows-ix86+x86_64 1.3-1 13.00 223.00 236.00 OK
r-oldrel-osx-x86_64 1.3-1 OK

Check Details

Version: 1.3-1
Check: examples
Result: ERROR
    Running examples in 'spup-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: defineMUM
    > ### Title: Define Mulivariate Uncertainty Model
    > ### Aliases: defineMUM
    >
    > ### ** Examples
    >
    >
    > set.seed(12345)
    >
    > data(OC, OC_sd, TN, TN_sd)
    > OC_crm <- makeCRM(acf0 = 0.6, range = 5000, model = "Sph")
    > OC_UM <- defineUM(TRUE, distribution = "norm", distr_param = c(OC, OC_sd), crm = OC_crm, id = "OC")
    > class(OC_UM)
    [1] "MarginalNumericSpatial"
    > TN_crm <- makeCRM(acf0 = 0.4, range = 5000, model = "Sph")
    > TN_UM <- defineUM(TRUE, distribution = "norm", distr_param = c(TN, TN_sd), crm = TN_crm, id = "TN")
    > class(TN_UM)
    [1] "MarginalNumericSpatial"
    >
    > soil_prop <- list(OC_UM,TN_UM)
    > mySpatialMUM <- defineMUM(soil_prop, matrix(c(1,0.7,0.7,1), nrow=2, ncol=2))
    Error in defineMUM(soil_prop, matrix(c(1, 0.7, 0.7, 1), nrow = 2, ncol = 2)) :
     class(cormatrix) == "matrix" are not all TRUE
    Calls: defineMUM -> stopifnot
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.3-1
Check: tests
Result: ERROR
     Running 'run_testthat.R' [5s/5s]
     Running 'test_defineMUM.R' [3s/4s]
     Running 'test_genSample_jointSPDF.R' [3s/4s]
     Running 'test_genSample_marginalRaster.R' [6s/7s]
     Running 'test_genSample_marginalSPDF.R' [4s/5s]
     Running 'test_makeCRM.R' [3s/4s]
     Running 'test_propagate_raster.R' [5s/6s]
     Running 'test_render.R' [3s/4s]
    Running the tests in 'tests/test_defineMUM.R' failed.
    Complete output:
     > # test -- defineMUM()
     >
     > library(spup)
     > library(gstat)
     > library(sp)
     >
     > # test with data from gstat
     > data(meuse)
     > # make spatial
     > coordinates(meuse) = ~x+y
     > # make separate spatial grid data frames for mean and sd
     > m1 <- meuse["zinc"]
     > m1.sd <- m1
     > m1.sd[[1]] <- m1.sd[[1]] * rnorm(n = 155, mean = 1, sd = 0.5)
     > m2 <- meuse["lead"]
     > m2.sd <- m2
     > m2.sd[[1]] <- m2.sd[[1]] * rnorm(n = 155, mean = 1, sd = 0.5)
     > # define srm and UM and sample
     > crm1 <- makeCRM(acf0 = 0.6, range = 100, model = "Sph")
     > crm2 <- makeCRM(acf0 = 0.7, range = 100, model = "Exp")
     > UM1 <- defineUM(uncertain = TRUE, distribution = "norm",
     + distr_param = c(m1, m1.sd), crm = crm1)
     > UM2 <- defineUM(uncertain = TRUE, distribution = "norm",
     + distr_param = c(m2, m2.sd), crm = crm2)
     > cormat <- matrix(c(1,0.7,0.7,1), nrow = 2, ncol = 2)
     > JointUM <- defineMUM(list(UM1,UM2), cormatrix = cormat)
     Error in defineMUM(list(UM1, UM2), cormatrix = cormat) :
     class(cormatrix) == "matrix" are not all TRUE
     Calls: defineMUM -> stopifnot
     Execution halted
    Running the tests in 'tests/test_genSample_jointSPDF.R' failed.
    Complete output:
     > # test -- defineMUM()
     >
     > library(spup)
     > library(gstat)
     > library(sp)
     >
     > # test with data from gstat
     > data(meuse)
     > # make spatial
     > coordinates(meuse) = ~x+y
     > # make separate spatial grid data frames for mean and sd
     > m1 <- meuse["zinc"]
     > m1.sd <- m1
     > m1.sd[[1]] <- m1.sd[[1]] * rnorm(n = 155, mean = 1, sd = 0.5)
     > m2 <- meuse["lead"]
     > m2.sd <- m2
     > m2.sd[[1]] <- m2.sd[[1]] * rnorm(n = 155, mean = 1, sd = 0.5)
     > # define srm and UM and sample
     > crm1 <- makeCRM(acf0 = 0.6, range = 200, model = "Exp")
     > crm2 <- makeCRM(acf0 = 0.7, range = 200, model = "Exp")
     > UM1 <- defineUM(uncertain = TRUE, distribution = "norm",
     + distr_param = c(m1, m1.sd), crm = crm1, id = "zinc")
     > UM2 <- defineUM(uncertain = TRUE, distribution = "norm",
     + distr_param = c(m2, m2.sd), crm = crm2, id = "lead")
     > cormat <- matrix(c(1,0.7,0.7,1), nrow = 2, ncol = 2)
     > JointUM <- defineMUM(list(UM1,UM2), cormatrix = cormat)
     Error in defineMUM(list(UM1, UM2), cormatrix = cormat) :
     class(cormatrix) == "matrix" are not all TRUE
     Calls: defineMUM -> stopifnot
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.3-1
Check: tests
Result: ERROR
     Running ‘run_testthat.R’ [4s/7s]
     Running ‘test_defineMUM.R’ [3s/4s]
     Running ‘test_genSample_jointSPDF.R’ [3s/4s]
     Running ‘test_genSample_marginalRaster.R’ [4s/7s]
     Running ‘test_genSample_marginalSPDF.R’ [3s/6s]
     Running ‘test_makeCRM.R’ [3s/4s]
     Running ‘test_propagate_raster.R’ [4s/7s]
     Running ‘test_render.R’ [3s/4s]
    Running the tests in ‘tests/test_defineMUM.R’ failed.
    Complete output:
     > # test -- defineMUM()
     >
     > library(spup)
     > library(gstat)
     > library(sp)
     >
     > # test with data from gstat
     > data(meuse)
     > # make spatial
     > coordinates(meuse) = ~x+y
     > # make separate spatial grid data frames for mean and sd
     > m1 <- meuse["zinc"]
     > m1.sd <- m1
     > m1.sd[[1]] <- m1.sd[[1]] * rnorm(n = 155, mean = 1, sd = 0.5)
     > m2 <- meuse["lead"]
     > m2.sd <- m2
     > m2.sd[[1]] <- m2.sd[[1]] * rnorm(n = 155, mean = 1, sd = 0.5)
     > # define srm and UM and sample
     > crm1 <- makeCRM(acf0 = 0.6, range = 100, model = "Sph")
     > crm2 <- makeCRM(acf0 = 0.7, range = 100, model = "Exp")
     > UM1 <- defineUM(uncertain = TRUE, distribution = "norm",
     + distr_param = c(m1, m1.sd), crm = crm1)
     > UM2 <- defineUM(uncertain = TRUE, distribution = "norm",
     + distr_param = c(m2, m2.sd), crm = crm2)
     > cormat <- matrix(c(1,0.7,0.7,1), nrow = 2, ncol = 2)
     > JointUM <- defineMUM(list(UM1,UM2), cormatrix = cormat)
     Error in defineMUM(list(UM1, UM2), cormatrix = cormat) :
     class(cormatrix) == "matrix" are not all TRUE
     Calls: defineMUM -> stopifnot
     Execution halted
    Running the tests in ‘tests/test_genSample_jointSPDF.R’ failed.
    Complete output:
     > # test -- defineMUM()
     >
     > library(spup)
     > library(gstat)
     > library(sp)
     >
     > # test with data from gstat
     > data(meuse)
     > # make spatial
     > coordinates(meuse) = ~x+y
     > # make separate spatial grid data frames for mean and sd
     > m1 <- meuse["zinc"]
     > m1.sd <- m1
     > m1.sd[[1]] <- m1.sd[[1]] * rnorm(n = 155, mean = 1, sd = 0.5)
     > m2 <- meuse["lead"]
     > m2.sd <- m2
     > m2.sd[[1]] <- m2.sd[[1]] * rnorm(n = 155, mean = 1, sd = 0.5)
     > # define srm and UM and sample
     > crm1 <- makeCRM(acf0 = 0.6, range = 200, model = "Exp")
     > crm2 <- makeCRM(acf0 = 0.7, range = 200, model = "Exp")
     > UM1 <- defineUM(uncertain = TRUE, distribution = "norm",
     + distr_param = c(m1, m1.sd), crm = crm1, id = "zinc")
     > UM2 <- defineUM(uncertain = TRUE, distribution = "norm",
     + distr_param = c(m2, m2.sd), crm = crm2, id = "lead")
     > cormat <- matrix(c(1,0.7,0.7,1), nrow = 2, ncol = 2)
     > JointUM <- defineMUM(list(UM1,UM2), cormatrix = cormat)
     Error in defineMUM(list(UM1, UM2), cormatrix = cormat) :
     class(cormatrix) == "matrix" are not all TRUE
     Calls: defineMUM -> stopifnot
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc