CRAN Package Check Results for Package CosmoPhotoz

Last updated on 2018-08-19 09:47:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1 7.60 84.44 92.04 ERROR
r-devel-linux-x86_64-debian-gcc 0.1 6.63 67.56 74.19 ERROR
r-devel-linux-x86_64-fedora-clang 0.1 105.52 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1 103.81 ERROR
r-devel-windows-ix86+x86_64 0.1 18.00 120.00 138.00 ERROR
r-patched-linux-x86_64 0.1 4.84 68.86 73.70 ERROR
r-patched-solaris-x86 0.1 144.10 ERROR
r-release-linux-x86_64 0.1 7.27 69.00 76.27 ERROR
r-release-windows-ix86+x86_64 0.1 21.00 113.00 134.00 ERROR
r-release-osx-x86_64 0.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1 14.00 79.00 93.00 ERROR
r-oldrel-osx-x86_64 0.1 NOTE

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 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: 0.1
Check: examples
Result: ERROR
    Running examples in ‘CosmoPhotoz-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### 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 loadNamespace(name) : there is no package called ‘dplyr’
    Calls: plotDiagPhotoZ ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
    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

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 loadNamespace(name) : there is no package called ‘dplyr’
    Calls: plotDiagPhotoZ ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64