CRAN Package Check Results for Package CosmoPhotoz

Last updated on 2015-12-29 00:46:29.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-gcc 0.1 3.73 36.85 40.58 ERROR
r-devel-linux-x86_64-fedora-clang 0.1 86.52 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1 82.62 ERROR
r-devel-osx-x86_64-clang 0.1 89.74 ERROR
r-devel-windows-ix86+x86_64 0.1 12.00 69.00 81.00 ERROR
r-patched-linux-x86_64 0.1 4.05 40.16 44.21 ERROR
r-patched-solaris-sparc 0.1 546.30 ERROR
r-patched-solaris-x86 0.1 118.20 ERROR
r-release-linux-x86_64 0.1 4.04 40.18 44.22 ERROR
r-release-osx-x86_64-mavericks 0.1 OK
r-release-windows-ix86+x86_64 0.1 18.00 75.00 93.00 ERROR
r-oldrel-windows-ix86+x86_64 0.1 34.00 120.00 154.00 ERROR

Check Details

Version: 0.1
Check: R code for possible problems
Result: NOTE
    CosmoPhotoZestimator: no visible global function definition for
     ‘predict’
    computeCombPCA: no visible global function definition for ‘prcomp’
    computeDiagPhotoZ: no visible global function definition for ‘sd’
    computeDiagPhotoZ: no visible global function definition for ‘median’
    computeDiagPhotoZ: no visible global function definition for ‘mad’
    glmPredictPhotoZ: no visible global function definition for ‘predict’
    glmTrainPhotoZ: no visible global function definition for ‘glm’
    glmTrainPhotoZ: no visible global function definition for ‘Gamma’
    glmTrainPhotoZ: no visible global function definition for
     ‘inverse.gaussian’
    plotDiagPhotoZ: no visible global function definition for ‘median’
    plotDiagPhotoZ: no visible global function definition for ‘mad’
    Undefined global functions or variables:
     Gamma glm inverse.gaussian mad median prcomp predict sd
    Consider adding
     importFrom("stats", "Gamma", "glm", "inverse.gaussian", "mad",
     "median", "prcomp", "predict", "sd")
    to your NAMESPACE.
Flavors: 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

Version: 0.1
Check: examples
Result: ERROR
    Running examples in ‘CosmoPhotoz-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: plotDiagPhotoZ
    > ### Title: Plot diagnostics for photometric redshift estimations
    > ### Aliases: plotDiagPhotoZ
    > ### Keywords: hplot
    >
    > ### ** Examples
    >
    > # First, generate some mock data
    > ppo <- runif(1000, min=0.1, max=2)
    > ppo_ph <- rnorm(length(ppo), mean=ppo, sd=0.05)
    >
    > # Then generate the plots
    > plotDiagPhotoZ(ppo_ph, ppo, type="errordist")
    Error in theme_economist(base_family = base_family, base_size = base_size, :
     object 'ggthemes_data' not found
    Calls: plotDiagPhotoZ -> theme_economist_white -> theme_economist
    Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64