CRAN Package Check Results for Package NetComp

Last updated on 2022-04-27 11:54:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6 2.76 33.84 36.60 NOTE
r-devel-linux-x86_64-debian-gcc 1.6 2.18 26.16 28.34 NOTE
r-devel-linux-x86_64-fedora-clang 1.6 45.08 ERROR
r-devel-linux-x86_64-fedora-gcc 1.6 43.26 ERROR
r-devel-windows-x86_64 1.6 15.00 52.00 67.00 NOTE
r-patched-linux-x86_64 1.6 3.08 33.64 36.72 NOTE
r-release-linux-x86_64 1.6 3.05 33.28 36.33 NOTE
r-release-macos-arm64 1.6 21.00 NOTE
r-release-macos-x86_64 1.6 32.00 NOTE
r-release-windows-x86_64 1.6 15.00 52.00 67.00 NOTE
r-oldrel-macos-arm64 1.6 36.00 NOTE
r-oldrel-macos-x86_64 1.6 27.00 NOTE
r-oldrel-windows-ix86+x86_64 1.6 10.00 49.00 59.00 NOTE

Check Details

Version: 1.6
Check: R code for possible problems
Result: NOTE
    netVal: no visible global function definition for 'cutree'
    netVal: no visible global function definition for 'hclust'
    netVal: no visible global function definition for 'as.dist'
    Undefined global functions or variables:
     as.dist cutree hclust
    Consider adding
     importFrom("stats", "as.dist", "cutree", "hclust")
    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-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.6
Check: compiled code
Result: NOTE
    File ‘NetComp/libs/NetComp.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.6
Check: examples
Result: ERROR
    Running examples in ‘NetComp-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: netDiff
    > ### Title: Network Difference
    > ### Aliases: netDiff
    >
    > ### ** Examples
    >
    > #using the state.x77 and USArrest datasets
    > #remove data from states for illustration
    > ssArrest<-subset(t(USArrests), select=-c(Alabama,Colorado,Delaware))
    > ssState<-subset(t(state.x77), select=-c(Alabama, Arizona, Iowa))
    > arrestCor<-cor(ssArrest)
    > stateCor<-cor(ssState)
    > dataDiff<-netDiff(stateCor, arrestCor)
    Error in (row.names(matrix1) != colnames(matrix1)) || (nrow(matrix1) != :
     'length = 47' in coercion to 'logical(1)'
    Calls: netDiff
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc