CRAN Package Check Results for Package mritc

Last updated on 2018-04-24 03:48:39 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5-0 6.17 46.07 52.24 ERROR
r-devel-linux-x86_64-debian-gcc 0.5-0 4.99 38.63 43.62 ERROR
r-devel-linux-x86_64-fedora-clang 0.5-0 77.51 NOTE
r-devel-linux-x86_64-fedora-gcc 0.5-0 71.32 NOTE
r-devel-windows-ix86+x86_64 0.5-0 29.00 97.00 126.00 NOTE
r-patched-linux-x86_64 0.5-0 5.98 49.60 55.58 ERROR
r-patched-solaris-x86 0.5-0 113.60 NOTE
r-release-linux-x86_64 0.5-0 6.32 48.76 55.08 ERROR
r-release-windows-ix86+x86_64 0.5-0 19.00 143.00 162.00 NOTE
r-oldrel-windows-ix86+x86_64 0.5-0 19.00 145.00 164.00 NOTE

Check Details

Version: 0.5-0
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     plot.mritc print.mritc summary.mritc
    See section ‘Registering S3 methods’ 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-patched-solaris-x86, r-release-linux-x86_64

Version: 0.5-0
Check: R code for possible problems
Result: NOTE
    emnormmix: no visible global function definition for ‘dnorm’
    getDen: no visible global function definition for ‘dnorm’
    getWeightsMRI: no visible global function definition for ‘dnorm’
    initProp: no visible global function definition for ‘quantile’
    initThresh : <anonymous>: no visible global function definition for
     ‘sd’
    initialIndices: no visible global function definition for ‘dnorm’
    measureMRI: no visible global function definition for ‘plot’
    mritc.em: no visible global function definition for ‘dnorm’
    rnormmix: no visible global function definition for ‘rnorm’
    updateDistanceUnit: no visible global function definition for ‘qnorm’
    updateDistanceUnit: no visible global function definition for ‘runif’
    updateDistanceUnit: no visible global function definition for ‘pnorm’
    updateMusB: no visible global function definition for ‘rnorm’
    updateSdsB: no visible global function definition for ‘rgamma’
    writeMRI: no visible global function definition for ‘as’
    Undefined global functions or variables:
     as dnorm plot pnorm qnorm quantile rgamma rnorm runif sd
    Consider adding
     importFrom("graphics", "plot")
     importFrom("methods", "as")
     importFrom("stats", "dnorm", "pnorm", "qnorm", "quantile", "rgamma",
     "rnorm", "runif", "sd")
    to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
    contains 'methods').
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-oldrel-windows-ix86+x86_64

Version: 0.5-0
Check: compiled code
Result: NOTE
    File ‘mritc/libs/mritc.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: 0.5-0
Check: examples
Result: ERROR
    Running examples in ‘mritc-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plot.mritc
    > ### Title: Plot Method for Class "mritc"
    > ### Aliases: plot.mritc
    > ### Keywords: methods
    >
    > ### ** Examples
    >
    > T1 <- readMRI(system.file("extdata/t1.rawb.gz", package="mritc"),
    + c(91,109,91), format="rawb.gz")
    > mask <-readMRI(system.file("extdata/mask.rawb.gz", package="mritc"),
    + c(91,109,91), format="rawb.gz")
    > tc.icm <- mritc(T1, mask, method="ICM")
    Iteration 1: relative error of mu = 0.003; sigma = 0.02
    Iteration 2: relative error of mu = 0.001; sigma = 0.007
    Iteration 3: relative error of mu = 4e-04; sigma = 0.002
    Iteration 4: relative error of mu = 4e-05; sigma = 2e-04
    Iteration 5: relative error of mu = 0; sigma = 0
    > plot(tc.icm)
    Error in xy.coords(x, y, xlabel, ylabel, log) :
     'x' is a list, but does not have components 'x' and 'y'
    Calls: plot -> plot.default -> xy.coords
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64