CRAN Package Check Results for Package metagen

Last updated on 2020-07-05 16:48:29 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 14.77 118.62 133.39 ERROR
r-devel-linux-x86_64-debian-gcc 1.0 10.33 88.55 98.88 ERROR
r-devel-linux-x86_64-fedora-clang 1.0 165.60 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0 150.79 ERROR
r-devel-windows-ix86+x86_64 1.0 37.00 123.00 160.00 ERROR
r-patched-linux-x86_64 1.0 13.18 114.34 127.52 ERROR
r-patched-solaris-x86 1.0 226.10 ERROR
r-release-linux-x86_64 1.0 11.61 113.51 125.12 ERROR
r-release-osx-x86_64 1.0 NOTE
r-release-windows-ix86+x86_64 1.0 27.00 215.00 242.00 ERROR
r-oldrel-osx-x86_64 1.0 NOTE
r-oldrel-windows-ix86+x86_64 1.0 32.00 170.00 202.00 ERROR

Check Details

Version: 1.0
Check: R code for possible problems
Result: NOTE
    bcgVaccineData: no visible global function definition for 'data'
    bcgVaccineData: no visible global function definition for 'qnorm'
    hConfidence: no visible global function definition for 'qchisq'
    intervalEstimates_OneSgnf : crt: no visible global function definition
     for 'qt'
    intervalEstimates_OneSgnf: no visible binding for global variable
     'qnorm'
    metagenGeneralised: no visible binding for global variable 'quantile'
    performancePointH : property: no visible global function definition for
     'var'
    performancePointR : property: no visible global function definition for
     'var'
    pfunc : pfun: no visible global function definition for 'uniroot'
    pivotalStream: no visible global function definition for 'rchisq'
    pivotalStream : <anonymous>: no visible global function definition for
     'rchisq'
    pivotalStream: no visible global function definition for 'rnorm'
    rBinomGauss: no visible global function definition for 'rnorm'
    rBinomGauss: no visible global function definition for 'rbinom'
    rD: no visible global function definition for 'rchisq'
    rY: no visible global function definition for 'rnorm'
    render: no visible global function definition for 'pdf'
    render: no visible global function definition for 'dev.off'
    renderSVG: no visible global function definition for 'svg'
    renderSVG: no visible global function definition for 'dev.off'
    Undefined global functions or variables:
     data dev.off pdf qchisq qnorm qt quantile rbinom rchisq rnorm svg
     uniroot var
    Consider adding
     importFrom("grDevices", "dev.off", "pdf", "svg")
     importFrom("stats", "qchisq", "qnorm", "qt", "quantile", "rbinom",
     "rchisq", "rnorm", "uniroot", "var")
     importFrom("utils", "data")
    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-osx-x86_64, r-release-windows-ix86+x86_64, r-oldrel-osx-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0
Check: examples
Result: ERROR
    Running examples in 'metagen-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plotStudyQfuncPfunc
    > ### Title: Example: Plotting the q- and p-function from the dissertation
    > ### Aliases: plotStudyQfuncPfunc
    >
    > ### ** Examples
    >
    > bcg <- bcgVaccineData()
    > bcg_y <- bcg$logrisk
    > bcg_d <- bcg$sdiv
    > bcg_s <- bcg$size
    > bcg_x <- cbind(1,bcg$x)
    > p <- plotStudyQfuncPfunc(y=bcg_y, d=bcg_d, x=bcg_x, n=500)
    > p[1] # plot of the q-function
    $plotQ
    Error: Aesthetics must be either length 1 or the same as the data (1): x and y
    Backtrace:
     x
     1. +-(function (x, ...) ...
     2. \-ggplot2:::print.ggplot(x)
     3. +-ggplot2::ggplot_build(x)
     4. \-ggplot2:::ggplot_build.ggplot(x)
     5. \-ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
     6. \-ggplot2:::f(l = layers[[i]], d = data[[i]])
     7. \-l$compute_aesthetics(d, plot)
     8. \-ggplot2:::f(..., self = self)
     9. \-ggplot2:::check_aesthetics(evaled, n)
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0
Check: examples
Result: ERROR
    Running examples in ‘metagen-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plotStudyQfuncPfunc
    > ### Title: Example: Plotting the q- and p-function from the dissertation
    > ### Aliases: plotStudyQfuncPfunc
    >
    > ### ** Examples
    >
    > bcg <- bcgVaccineData()
    > bcg_y <- bcg$logrisk
    > bcg_d <- bcg$sdiv
    > bcg_s <- bcg$size
    > bcg_x <- cbind(1,bcg$x)
    > p <- plotStudyQfuncPfunc(y=bcg_y, d=bcg_d, x=bcg_x, n=500)
    > p[1] # plot of the q-function
    $plotQ
    Error: Aesthetics must be either length 1 or the same as the data (1): x and y
    Backtrace:
     █
     1. ├─(function (x, ...) ...
     2. └─ggplot2:::print.ggplot(x)
     3. ├─ggplot2::ggplot_build(x)
     4. └─ggplot2:::ggplot_build.ggplot(x)
     5. └─ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
     6. └─ggplot2:::f(l = layers[[i]], d = data[[i]])
     7. └─l$compute_aesthetics(d, plot)
     8. └─ggplot2:::f(..., self = self)
     9. └─ggplot2:::check_aesthetics(evaled, n)
    Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0
Check: examples
Result: ERROR
    Running examples in ‘metagen-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: plotStudyQfuncPfunc
    > ### Title: Example: Plotting the q- and p-function from the dissertation
    > ### Aliases: plotStudyQfuncPfunc
    >
    > ### ** Examples
    >
    > bcg <- bcgVaccineData()
    > bcg_y <- bcg$logrisk
    > bcg_d <- bcg$sdiv
    > bcg_s <- bcg$size
    > bcg_x <- cbind(1,bcg$x)
    > p <- plotStudyQfuncPfunc(y=bcg_y, d=bcg_d, x=bcg_x, n=500)
    > p[1] # plot of the q-function
    $plotQ
    Error: Aesthetics must be either length 1 or the same as the data (1): x and y
    Backtrace:
     █
     1. ├─(function (x, ...) ...
     2. └─ggplot2:::print.ggplot(x)
     3. ├─ggplot2::ggplot_build(x)
     4. └─ggplot2:::ggplot_build.ggplot(x)
     5. └─ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
     6. └─ggplot2:::f(l = layers[[i]], d = data[[i]])
     7. └─l$compute_aesthetics(d, plot)
     8. └─ggplot2:::f(..., self = self)
     9. └─ggplot2:::check_aesthetics(evaled, n)
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

Version: 1.0
Check: examples
Result: ERROR
    Running examples in 'metagen-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: plotStudyQfuncPfunc
    > ### Title: Example: Plotting the q- and p-function from the dissertation
    > ### Aliases: plotStudyQfuncPfunc
    >
    > ### ** Examples
    >
    > bcg <- bcgVaccineData()
    > bcg_y <- bcg$logrisk
    > bcg_d <- bcg$sdiv
    > bcg_s <- bcg$size
    > bcg_x <- cbind(1,bcg$x)
    > p <- plotStudyQfuncPfunc(y=bcg_y, d=bcg_d, x=bcg_x, n=500)
    > p[1] # plot of the q-function
    $plotQ
    Error: Aesthetics must be either length 1 or the same as the data (1): x and y
    Backtrace:
     x
     1. +-(function (x, ...) ...
     2. \-ggplot2:::print.ggplot(x)
     3. +-ggplot2::ggplot_build(x)
     4. \-ggplot2:::ggplot_build.ggplot(x)
     5. \-ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
     6. \-ggplot2:::f(l = layers[[i]], d = data[[i]])
     7. \-l$compute_aesthetics(d, plot)
     8. \-ggplot2:::f(..., self = self)
     9. \-ggplot2:::check_aesthetics(evaled, n)
    Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64