CRAN Package Check Results for Package DMR

Last updated on 2018-09-23 07:48:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0 2.52 22.46 24.98 ERROR
r-devel-linux-x86_64-debian-gcc 2.0 1.69 18.10 19.79 ERROR
r-devel-linux-x86_64-fedora-clang 2.0 29.39 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0 28.85 ERROR
r-devel-windows-ix86+x86_64 2.0 6.00 53.00 59.00 ERROR
r-patched-linux-x86_64 2.0 2.24 21.46 23.70 NOTE
r-patched-solaris-x86 2.0 42.90 NOTE
r-release-linux-x86_64 2.0 1.69 21.58 23.27 NOTE
r-release-windows-ix86+x86_64 2.0 6.00 62.00 68.00 NOTE
r-release-osx-x86_64 2.0 NOTE
r-oldrel-windows-ix86+x86_64 2.0 3.00 40.00 43.00 NOTE
r-oldrel-osx-x86_64 2.0 NOTE

Check Details

Version: 2.0
Check: DESCRIPTION meta-information
Result: NOTE
    Malformed Title field: should not end in a period.
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: 2.0
Check: dependencies in R code
Result: NOTE
    Package in Depends field not imported from: ‘magic’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
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: 2.0
Check: R code for possible problems
Result: NOTE
    DMR: no visible global function definition for ‘lm’
    DMR : <anonymous>: no visible global function definition for ‘hclust’
    DMR : <anonymous>: no visible global function definition for ‘as.dist’
    DMR: no visible global function definition for ‘sd’
    DMR: no visible binding for global variable ‘sd’
    DMR4glm: no visible global function definition for ‘as.formula’
    DMR4glm: no visible global function definition for ‘glm’
    DMR4glm : <anonymous>: no visible global function definition for
     ‘hclust’
    DMR4glm : <anonymous>: no visible global function definition for
     ‘as.dist’
    DMR4glm: no visible global function definition for ‘sd’
    DMR4glm: no visible binding for global variable ‘sd’
    cuth : <anonymous>: no visible global function definition for ‘cutree’
    cuth4glm: no visible global function definition for ‘cutree’
    cuth4glm: no visible global function definition for ‘sd’
    cuth4glm: no visible global function definition for ‘glm’
    cuth4glm: no visible global function definition for ‘as.formula’
    cuth4glm: no visible global function definition for ‘logLik’
    hip: no visible global function definition for ‘adiag’
    plot_bf: no visible global function definition for ‘plot’
    plot_bf: no visible global function definition for ‘axis’
    plot_bf: no visible global function definition for ‘box’
    plot_bf: no visible global function definition for ‘lines’
    plot_bf: no visible global function definition for ‘abline’
    plot_bf: no visible global function definition for ‘grid’
    stepDMR: no visible global function definition for ‘lm’
    stepDMR: no visible binding for global variable ‘sd’
    stepDMR: no visible global function definition for ‘sd’
    t_stats: no visible global function definition for ‘combn’
    Undefined global functions or variables:
     abline adiag as.dist as.formula axis box combn cutree glm grid hclust
     lines lm logLik plot sd
    Consider adding
     importFrom("graphics", "abline", "axis", "box", "grid", "lines",
     "plot")
     importFrom("stats", "as.dist", "as.formula", "cutree", "glm", "hclust",
     "lm", "logLik", "sd")
     importFrom("utils", "combn")
    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: 2.0
Check: examples
Result: ERROR
    Running examples in ‘DMR-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: DMR4glm
    > ### Title: Delete or Merge Regressors for Generalized Linear Models
    > ### Aliases: DMR4glm
    > ### Keywords: model selection
    >
    > ### ** Examples
    >
    > k <- 4
    > v1 <- factor(rep(1:8, each=12*k))
    > v2 <- factor(rep(1:4, times = 24*k))
    > v3 <- factor(rep(1:3, times = 32*k))
    > x1 <- rnorm(96*k)
    > x2 <- runif(96*k)
    > mi <- rep(c(2 , 2, -1, -1, -1, -1, 0, 0), each = 12*k)
    > y <- rbinom(96*k, 1, exp(mi)/(1+exp(mi)) )
    > m <- glm(y ~ x1 + x2 + v1 + v2 + v3, family = binomial)
    > (out <- DMR4glm(m))
    Error in var(if (is.vector(x) || is.factor(x)) x else as.double(x), na.rm = na.rm) :
     Calling var(x) on a factor x is defunct.
     Use something like 'all(duplicated(x)[-1L])' to test for a constant vector.
    Calls: DMR4glm -> cuth4glm -> sd -> var
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.0
Check: examples
Result: ERROR
    Running examples in ‘DMR-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: DMR4glm
    > ### Title: Delete or Merge Regressors for Generalized Linear Models
    > ### Aliases: DMR4glm
    > ### Keywords: model selection
    >
    > ### ** Examples
    >
    > k <- 4
    > v1 <- factor(rep(1:8, each=12*k))
    > v2 <- factor(rep(1:4, times = 24*k))
    > v3 <- factor(rep(1:3, times = 32*k))
    > x1 <- rnorm(96*k)
    > x2 <- runif(96*k)
    > mi <- rep(c(2 , 2, -1, -1, -1, -1, 0, 0), each = 12*k)
    > y <- rbinom(96*k, 1, exp(mi)/(1+exp(mi)) )
    > m <- glm(y ~ x1 + x2 + v1 + v2 + v3, family = binomial)
    > (out <- DMR4glm(m))
    Error in var(if (is.vector(x) || is.factor(x)) x else as.double(x), na.rm = na.rm) :
     Calling var(x) on a factor x is defunct.
     Use something like 'all(duplicated(x)[-1L])' to test for a constant vector.
    Calls: DMR4glm -> cuth4glm -> sd -> var
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64