CRAN Package Check Results for Package spatcounts

Last updated on 2018-03-25 08:49:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1 6.94 63.21 70.15 NOTE
r-devel-linux-x86_64-debian-gcc 1.1 5.66 47.32 52.98 WARN
r-devel-linux-x86_64-fedora-clang 1.1 86.98 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1 90.50 WARN
r-devel-windows-ix86+x86_64 1.1 20.00 153.00 173.00 WARN
r-patched-linux-x86_64 1.1 4.16 67.59 71.75 NOTE
r-patched-solaris-x86 1.1 132.20 NOTE
r-release-linux-x86_64 1.1 4.15 67.68 71.83 NOTE
r-release-windows-ix86+x86_64 1.1 18.00 162.00 180.00 NOTE
r-release-osx-x86_64 1.1 NOTE
r-oldrel-windows-ix86+x86_64 1.1 14.00 158.00 172.00 NOTE
r-oldrel-osx-x86_64 1.1 NOTE

Additional issues

valgrind

Check Details

Version: 1.1
Check: DESCRIPTION meta-information
Result: NOTE
    Malformed Description field: should contain one or more complete sentences.
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-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.1
Check: R code for possible problems
Result: NOTE
    Clarketest: no visible global function definition for ‘pbinom’
    Clarketest: no visible global function definition for ‘qbinom’
    DIC: no visible global function definition for ‘model.matrix’
    LogLike: no visible global function definition for ‘model.matrix’
    Vuongtest: no visible global function definition for ‘var’
    Vuongtest: no visible global function definition for ‘qnorm’
    Vuongtest: no visible global function definition for ‘pnorm’
    est.sc: no visible global function definition for ‘model.matrix’
    gpind: no visible global function definition for ‘rgamma’
    nbind: no visible global function definition for ‘rgamma’
    poiind: no visible global function definition for ‘rgamma’
    zigpind: no visible global function definition for ‘rbinom’
    zigpind: no visible global function definition for ‘rgamma’
    zipind: no visible global function definition for ‘rbinom’
    zipind: no visible global function definition for ‘rgamma’
    Undefined global functions or variables:
     model.matrix pbinom pnorm qbinom qnorm rbinom rgamma var
    Consider adding
     importFrom("stats", "model.matrix", "pbinom", "pnorm", "qbinom",
     "qnorm", "rbinom", "rgamma", "var")
    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-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.1
Check: Rd line widths
Result: NOTE
    Rd file 'est.sc.Rd':
     \examples lines wider than 100 characters:
     # gamma.true = vector of spatial effects according to the CAR model with mean 0, psi = 3 and sigma = 1
     nb <- est.sc(sim.Yin, ~1+sim.fm.X[,1]+sim.fm.X[,2], sim.region, model="NB", sim.gmat, sim.nmat, totalit=10)
     gp <- est.sc(sim.Yin, ~1+sim.fm.X[,1]+sim.fm.X[,2], sim.region, model="GP", sim.gmat, sim.nmat, totalit=10)
     zip <- est.sc(sim.Yin, ~1+sim.fm.X[,1]+sim.fm.X[,2], sim.region, model="ZIP", sim.gmat, sim.nmat, totalit=10)
     zigp <- est.sc(sim.Yin, ~1+sim.fm.X[,1]+sim.fm.X[,2], sim.region, model="ZIGP", sim.gmat, sim.nmat, totalit=10)
     Vuong.poi.nb <- Vuongtest(ll.poi, ll.nb, alpha = 0.05, p = DIC.poi$p.D, q = DIC.nb$p.D, correction = TRUE)
     Vuong.poi.gp <- Vuongtest(ll.poi, ll.gp, alpha = 0.05, p = DIC.poi$p.D, q = DIC.gp$p.D, correction = TRUE)
     Vuong.poi.zip <- Vuongtest(ll.poi, ll.zip, alpha = 0.05, p = DIC.poi$p.D, q = DIC.zip$p.D, correction = TRUE)
     Vuong.poi.zigp <- Vuongtest(ll.poi, ll.zigp, alpha = 0.05, p = DIC.poi$p.D, q = DIC.zigp$p.D, correction = TRUE)
     Clarke.poi.nb <- Clarketest(ll.poi, ll.nb, alpha = 0.05, p = DIC.poi$p.D, q = DIC.nb$p.D, correction = TRUE)
     Clarke.poi.gp <- Clarketest(ll.poi, ll.gp, alpha = 0.05, p = DIC.poi$p.D, q = DIC.gp$p.D, correction = TRUE)
     Clarke.poi.zip <- Clarketest(ll.poi, ll.zip, alpha = 0.05, p = DIC.poi$p.D, q = DIC.zip$p.D, correction = TRUE)
     Clarke.poi.zigp <- Clarketest(ll.poi, ll.zigp, alpha = 0.05, p = DIC.poi$p.D, q = DIC.zigp$p.D, correction = TRUE)
    
    These lines will be truncated in the PDF manual.
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-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.1
Check: compiled code
Result: NOTE
    File ‘spatcounts/libs/spatcounts.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-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.1
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     omegazigpind.c:88:19: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
     phigpind.c:39:9: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
     phizigpind.c:46:9: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
     psimhbarbayern.c:31:18: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64