CRAN Package Check Results for Package PCIT

Last updated on 2020-02-19 14:48:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5-3 3.07 27.24 30.31 ERROR
r-devel-linux-x86_64-debian-gcc 1.5-3 2.34 22.90 25.24 ERROR
r-devel-linux-x86_64-fedora-clang 1.5-3 38.56 ERROR
r-devel-linux-x86_64-fedora-gcc 1.5-3 38.20 ERROR
r-devel-windows-ix86+x86_64 1.5-3 10.00 55.00 65.00 NOTE
r-devel-windows-ix86+x86_64-gcc8 1.5-3 15.00 71.00 86.00 NOTE
r-patched-linux-x86_64 1.5-3 2.12 27.43 29.55 NOTE
r-patched-solaris-x86 1.5-3 60.00 NOTE
r-release-linux-x86_64 1.5-3 2.32 27.66 29.98 NOTE
r-release-windows-ix86+x86_64 1.5-3 9.00 76.00 85.00 NOTE
r-release-osx-x86_64 1.5-3 NOTE
r-oldrel-windows-ix86+x86_64 1.5-3 8.00 48.00 56.00 NOTE
r-oldrel-osx-x86_64 1.5-3 NOTE

Check Details

Version: 1.5-3
Check: R code for possible problems
Result: NOTE
    defineTasks: no visible global function definition for 'par'
    defineTasks: no visible global function definition for 'abline'
    plotCorCoeff: no visible global function definition for 'hist'
    plotCorCoeff: no visible global function definition for 'plot.new'
    plotCorCoeff: no visible global function definition for 'plot.window'
    plotCorCoeff: no visible global function definition for 'rect'
    plotCorCoeff: no visible global function definition for 'axis'
    plotCorCoeff: no visible global function definition for 'title'
    plotCorCoeff: no visible global function definition for 'legend'
    Undefined global functions or variables:
     abline axis hist legend par plot.new plot.window rect title
    Consider adding
     importFrom("graphics", "abline", "axis", "hist", "legend", "par",
     "plot.new", "plot.window", "rect", "title")
    to your NAMESPACE file.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.5-3
Check: examples
Result: ERROR
    Running examples in 'PCIT-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: idxInvert
    > ### Title: Invert linear indices from a matrix
    > ### Aliases: idxInvert
    >
    > ### ** Examples
    >
    > m <- matrix(1, 5, 5)
    > diag(m) <- 0
    > m
     [,1] [,2] [,3] [,4] [,5]
    [1,] 0 1 1 1 1
    [2,] 1 0 1 1 1
    [3,] 1 1 0 1 1
    [4,] 1 1 1 0 1
    [5,] 1 1 1 1 0
    > idx <- which(m==0)
    > idx
    [1] 1 7 13 19 25
    > idxInvert(m, idx)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    PCIT
     --- call from context ---
    idxInvert(m, idx)
     --- call from argument ---
    if (class(m) == "numeric" | class(m) == "integer") {
     nNodes <- m
    } else {
     nNodes <- try(nrow(m), silent = TRUE)
     if (class(nNodes) == "try-error" | is.null(nNodes)) {
     cat("ERROR: argument 'm' must be a numeric OR an object on which nrow() can be performed.\n\n",
     geterrmessage())
     return(FALSE)
     }
    }
     --- R stacktrace ---
    where 1: idxInvert(m, idx)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (m, idx)
    {
     if (class(m) == "numeric" | class(m) == "integer") {
     nNodes <- m
     }
     else {
     nNodes <- try(nrow(m), silent = TRUE)
     if (class(nNodes) == "try-error" | is.null(nNodes)) {
     cat("ERROR: argument 'm' must be a numeric OR an object on which nrow() can be performed.\n\n",
     geterrmessage())
     return(FALSE)
     }
     }
     return(setdiff(1:(nNodes^2), idx))
    }
    <bytecode: 0x283d170>
    <environment: namespace:PCIT>
     --- function search by body ---
    Function idxInvert in namespace PCIT has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(m) == "numeric" | class(m) == "integer") { :
     the condition has length > 1
    Calls: idxInvert
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.5-3
Check: for non-standard things in the check directory
Result: NOTE
    Found the following files/directories:
     'el.txt'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.5-3
Check: examples
Result: ERROR
    Running examples in ‘PCIT-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: idxInvert
    > ### Title: Invert linear indices from a matrix
    > ### Aliases: idxInvert
    >
    > ### ** Examples
    >
    > m <- matrix(1, 5, 5)
    > diag(m) <- 0
    > m
     [,1] [,2] [,3] [,4] [,5]
    [1,] 0 1 1 1 1
    [2,] 1 0 1 1 1
    [3,] 1 1 0 1 1
    [4,] 1 1 1 0 1
    [5,] 1 1 1 1 0
    > idx <- which(m==0)
    > idx
    [1] 1 7 13 19 25
    > idxInvert(m, idx)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    PCIT
     --- call from context ---
    idxInvert(m, idx)
     --- call from argument ---
    if (class(m) == "numeric" | class(m) == "integer") {
     nNodes <- m
    } else {
     nNodes <- try(nrow(m), silent = TRUE)
     if (class(nNodes) == "try-error" | is.null(nNodes)) {
     cat("ERROR: argument 'm' must be a numeric OR an object on which nrow() can be performed.\n\n",
     geterrmessage())
     return(FALSE)
     }
    }
     --- R stacktrace ---
    where 1: idxInvert(m, idx)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (m, idx)
    {
     if (class(m) == "numeric" | class(m) == "integer") {
     nNodes <- m
     }
     else {
     nNodes <- try(nrow(m), silent = TRUE)
     if (class(nNodes) == "try-error" | is.null(nNodes)) {
     cat("ERROR: argument 'm' must be a numeric OR an object on which nrow() can be performed.\n\n",
     geterrmessage())
     return(FALSE)
     }
     }
     return(setdiff(1:(nNodes^2), idx))
    }
    <bytecode: 0x5593fc431ad0>
    <environment: namespace:PCIT>
     --- function search by body ---
    Function idxInvert in namespace PCIT has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(m) == "numeric" | class(m) == "integer") { :
     the condition has length > 1
    Calls: idxInvert
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.5-3
Check: compiled code
Result: NOTE
    File ‘PCIT/libs/PCIT.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.5-3
Check: examples
Result: ERROR
    Running examples in ‘PCIT-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: idxInvert
    > ### Title: Invert linear indices from a matrix
    > ### Aliases: idxInvert
    >
    > ### ** Examples
    >
    > m <- matrix(1, 5, 5)
    > diag(m) <- 0
    > m
     [,1] [,2] [,3] [,4] [,5]
    [1,] 0 1 1 1 1
    [2,] 1 0 1 1 1
    [3,] 1 1 0 1 1
    [4,] 1 1 1 0 1
    [5,] 1 1 1 1 0
    > idx <- which(m==0)
    > idx
    [1] 1 7 13 19 25
    > idxInvert(m, idx)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    PCIT
     --- call from context ---
    idxInvert(m, idx)
     --- call from argument ---
    if (class(m) == "numeric" | class(m) == "integer") {
     nNodes <- m
    } else {
     nNodes <- try(nrow(m), silent = TRUE)
     if (class(nNodes) == "try-error" | is.null(nNodes)) {
     cat("ERROR: argument 'm' must be a numeric OR an object on which nrow() can be performed.\n\n",
     geterrmessage())
     return(FALSE)
     }
    }
     --- R stacktrace ---
    where 1: idxInvert(m, idx)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (m, idx)
    {
     if (class(m) == "numeric" | class(m) == "integer") {
     nNodes <- m
     }
     else {
     nNodes <- try(nrow(m), silent = TRUE)
     if (class(nNodes) == "try-error" | is.null(nNodes)) {
     cat("ERROR: argument 'm' must be a numeric OR an object on which nrow() can be performed.\n\n",
     geterrmessage())
     return(FALSE)
     }
     }
     return(setdiff(1:(nNodes^2), idx))
    }
    <bytecode: 0x29f0de8>
    <environment: namespace:PCIT>
     --- function search by body ---
    Function idxInvert in namespace PCIT has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(m) == "numeric" | class(m) == "integer") { :
     the condition has length > 1
    Calls: idxInvert
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.5-3
Check: examples
Result: ERROR
    Running examples in ‘PCIT-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: idxInvert
    > ### Title: Invert linear indices from a matrix
    > ### Aliases: idxInvert
    >
    > ### ** Examples
    >
    > m <- matrix(1, 5, 5)
    > diag(m) <- 0
    > m
     [,1] [,2] [,3] [,4] [,5]
    [1,] 0 1 1 1 1
    [2,] 1 0 1 1 1
    [3,] 1 1 0 1 1
    [4,] 1 1 1 0 1
    [5,] 1 1 1 1 0
    > idx <- which(m==0)
    > idx
    [1] 1 7 13 19 25
    > idxInvert(m, idx)
     ----------- FAILURE REPORT --------------
     --- failure: the condition has length > 1 ---
     --- srcref ---
    :
     --- package (from environment) ---
    PCIT
     --- call from context ---
    idxInvert(m, idx)
     --- call from argument ---
    if (class(m) == "numeric" | class(m) == "integer") {
     nNodes <- m
    } else {
     nNodes <- try(nrow(m), silent = TRUE)
     if (class(nNodes) == "try-error" | is.null(nNodes)) {
     cat("ERROR: argument 'm' must be a numeric OR an object on which nrow() can be performed.\n\n",
     geterrmessage())
     return(FALSE)
     }
    }
     --- R stacktrace ---
    where 1: idxInvert(m, idx)
    
     --- value of length: 2 type: logical ---
    [1] FALSE FALSE
     --- function from context ---
    function (m, idx)
    {
     if (class(m) == "numeric" | class(m) == "integer") {
     nNodes <- m
     }
     else {
     nNodes <- try(nrow(m), silent = TRUE)
     if (class(nNodes) == "try-error" | is.null(nNodes)) {
     cat("ERROR: argument 'm' must be a numeric OR an object on which nrow() can be performed.\n\n",
     geterrmessage())
     return(FALSE)
     }
     }
     return(setdiff(1:(nNodes^2), idx))
    }
    <bytecode: 0x4195bf8>
    <environment: namespace:PCIT>
     --- function search by body ---
    Function idxInvert in namespace PCIT has this body.
     ----------- END OF FAILURE REPORT --------------
    Error in if (class(m) == "numeric" | class(m) == "integer") { :
     the condition has length > 1
    Calls: idxInvert
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.5-3
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘Rmpi’
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64