CRAN Package Check Results for Package geodetector

Last updated on 2020-02-19 10:48:54 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0-3 4.10 40.57 44.67 ERROR
r-devel-linux-x86_64-debian-gcc 1.0-3 3.58 31.69 35.27 ERROR
r-devel-linux-x86_64-fedora-clang 1.0-3 55.02 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0-3 52.96 ERROR
r-devel-windows-ix86+x86_64 1.0-3 7.00 51.00 58.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.0-3 12.00 71.00 83.00 OK
r-patched-linux-x86_64 1.0-3 3.54 33.71 37.25 OK
r-patched-solaris-x86 1.0-3 67.90 NOTE
r-release-linux-x86_64 1.0-3 3.83 33.94 37.77 OK
r-release-windows-ix86+x86_64 1.0-3 6.00 50.00 56.00 OK
r-release-osx-x86_64 1.0-3 NOTE
r-oldrel-windows-ix86+x86_64 1.0-3 6.00 47.00 53.00 OK
r-oldrel-osx-x86_64 1.0-3 NOTE

Check Details

Version: 1.0-3
Check: examples
Result: ERROR
    Running examples in 'geodetector-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: interaction_detector
    > ### Title: interaction detector
    > ### Aliases: interaction_detector
    > ### Keywords: detector interaction
    >
    > ### ** Examples
    >
    > data(CollectData)
    > interaction_detector("incidence",c("soiltype","watershed"),CollectData)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    geodetector
     --- call from context ---
    reshapeMatrix_numeric(Intr_Result_q)
     --- call from argument ---
    if (class(dataset) == "character") dataset = t(as.matrix(dataset))
     --- R stacktrace ---
    where 1: reshapeMatrix_numeric(Intr_Result_q)
    where 2: interaction_detector("incidence", c("soiltype", "watershed"),
     CollectData)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (dataset)
    {
     if (class(dataset) == "character")
     dataset = t(as.matrix(dataset))
     fldName1 <- as.vector(dataset[, 1])
     fldName2 <- as.vector(dataset[, 2])
     fldName <- unique(c(fldName1, fldName2))
     lenFld <- length(fldName)
     CreatMat <- matrix(nrow = lenFld, ncol = lenFld, dimnames = list(fldName,
     fldName))
     lenDt <- nrow(dataset)
     for (i in 1:lenDt) {
     fld1 <- fldName1[i]
     fld2 <- fldName2[i]
     CreatMat[fld1, fld2] <- as.vector(dataset[i, 3])
     CreatMat[fld2, fld1] <- as.vector(dataset[i, 3])
     }
     T_CreatMat <- as.data.frame(CreatMat)
     return(T_CreatMat)
    }
    <bytecode: 0x6b334d0>
    <environment: namespace:geodetector>
     --- function search by body ---
    Function reshapeMatrix_numeric in namespace geodetector has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(dataset) == "character") dataset = t(as.matrix(dataset)) :
     the condition has length > 1
    Calls: interaction_detector -> reshapeMatrix_numeric
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0-3
Check: examples
Result: ERROR
    Running examples in ‘geodetector-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: interaction_detector
    > ### Title: interaction detector
    > ### Aliases: interaction_detector
    > ### Keywords: detector interaction
    >
    > ### ** Examples
    >
    > data(CollectData)
    > interaction_detector("incidence",c("soiltype","watershed"),CollectData)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    geodetector
     --- call from context ---
    reshapeMatrix_numeric(Intr_Result_q)
     --- call from argument ---
    if (class(dataset) == "character") dataset = t(as.matrix(dataset))
     --- R stacktrace ---
    where 1: reshapeMatrix_numeric(Intr_Result_q)
    where 2: interaction_detector("incidence", c("soiltype", "watershed"),
     CollectData)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (dataset)
    {
     if (class(dataset) == "character")
     dataset = t(as.matrix(dataset))
     fldName1 <- as.vector(dataset[, 1])
     fldName2 <- as.vector(dataset[, 2])
     fldName <- unique(c(fldName1, fldName2))
     lenFld <- length(fldName)
     CreatMat <- matrix(nrow = lenFld, ncol = lenFld, dimnames = list(fldName,
     fldName))
     lenDt <- nrow(dataset)
     for (i in 1:lenDt) {
     fld1 <- fldName1[i]
     fld2 <- fldName2[i]
     CreatMat[fld1, fld2] <- as.vector(dataset[i, 3])
     CreatMat[fld2, fld1] <- as.vector(dataset[i, 3])
     }
     T_CreatMat <- as.data.frame(CreatMat)
     return(T_CreatMat)
    }
    <bytecode: 0x555ea2b01968>
    <environment: namespace:geodetector>
     --- function search by body ---
    Function reshapeMatrix_numeric in namespace geodetector has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(dataset) == "character") dataset = t(as.matrix(dataset)) :
     the condition has length > 1
    Calls: interaction_detector -> reshapeMatrix_numeric
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0-3
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘maptools’ ‘rgdal’ ‘rgeos’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 1.0-3
Check: examples
Result: ERROR
    Running examples in ‘geodetector-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: interaction_detector
    > ### Title: interaction detector
    > ### Aliases: interaction_detector
    > ### Keywords: detector interaction
    >
    > ### ** Examples
    >
    > data(CollectData)
    > interaction_detector("incidence",c("soiltype","watershed"),CollectData)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    geodetector
     --- call from context ---
    reshapeMatrix_numeric(Intr_Result_q)
     --- call from argument ---
    if (class(dataset) == "character") dataset = t(as.matrix(dataset))
     --- R stacktrace ---
    where 1: reshapeMatrix_numeric(Intr_Result_q)
    where 2: interaction_detector("incidence", c("soiltype", "watershed"),
     CollectData)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (dataset)
    {
     if (class(dataset) == "character")
     dataset = t(as.matrix(dataset))
     fldName1 <- as.vector(dataset[, 1])
     fldName2 <- as.vector(dataset[, 2])
     fldName <- unique(c(fldName1, fldName2))
     lenFld <- length(fldName)
     CreatMat <- matrix(nrow = lenFld, ncol = lenFld, dimnames = list(fldName,
     fldName))
     lenDt <- nrow(dataset)
     for (i in 1:lenDt) {
     fld1 <- fldName1[i]
     fld2 <- fldName2[i]
     CreatMat[fld1, fld2] <- as.vector(dataset[i, 3])
     CreatMat[fld2, fld1] <- as.vector(dataset[i, 3])
     }
     T_CreatMat <- as.data.frame(CreatMat)
     return(T_CreatMat)
    }
    <bytecode: 0x504b660>
    <environment: namespace:geodetector>
     --- function search by body ---
    Function reshapeMatrix_numeric in namespace geodetector has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(dataset) == "character") dataset = t(as.matrix(dataset)) :
     the condition has length > 1
    Calls: interaction_detector -> reshapeMatrix_numeric
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0-3
Check: examples
Result: ERROR
    Running examples in ‘geodetector-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: interaction_detector
    > ### Title: interaction detector
    > ### Aliases: interaction_detector
    > ### Keywords: detector interaction
    >
    > ### ** Examples
    >
    > data(CollectData)
    > interaction_detector("incidence",c("soiltype","watershed"),CollectData)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    geodetector
     --- call from context ---
    reshapeMatrix_numeric(Intr_Result_q)
     --- call from argument ---
    if (class(dataset) == "character") dataset = t(as.matrix(dataset))
     --- R stacktrace ---
    where 1: reshapeMatrix_numeric(Intr_Result_q)
    where 2: interaction_detector("incidence", c("soiltype", "watershed"),
     CollectData)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (dataset)
    {
     if (class(dataset) == "character")
     dataset = t(as.matrix(dataset))
     fldName1 <- as.vector(dataset[, 1])
     fldName2 <- as.vector(dataset[, 2])
     fldName <- unique(c(fldName1, fldName2))
     lenFld <- length(fldName)
     CreatMat <- matrix(nrow = lenFld, ncol = lenFld, dimnames = list(fldName,
     fldName))
     lenDt <- nrow(dataset)
     for (i in 1:lenDt) {
     fld1 <- fldName1[i]
     fld2 <- fldName2[i]
     CreatMat[fld1, fld2] <- as.vector(dataset[i, 3])
     CreatMat[fld2, fld1] <- as.vector(dataset[i, 3])
     }
     T_CreatMat <- as.data.frame(CreatMat)
     return(T_CreatMat)
    }
    <bytecode: 0x47add18>
    <environment: namespace:geodetector>
     --- function search by body ---
    Function reshapeMatrix_numeric in namespace geodetector has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(dataset) == "character") dataset = t(as.matrix(dataset)) :
     the condition has length > 1
    Calls: interaction_detector -> reshapeMatrix_numeric
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc