CRAN Package Check Results for Package LICORS

Last updated on 2022-05-02 08:51:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 14.63 134.40 149.03 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 11.62 96.38 108.00 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 176.04 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.0 168.90 ERROR
r-devel-windows-x86_64 0.2.0 29.00 146.00 175.00 ERROR
r-patched-linux-x86_64 0.2.0 14.98 125.70 140.68 NOTE
r-release-linux-x86_64 0.2.0 NOTE
r-release-macos-arm64 0.2.0 39.00 NOTE
r-release-macos-x86_64 0.2.0 85.00 NOTE
r-release-windows-x86_64 0.2.0 27.00 142.00 169.00 NOTE
r-oldrel-macos-arm64 0.2.0 54.00 NOTE
r-oldrel-macos-x86_64 0.2.0 75.00 NOTE
r-oldrel-windows-ix86+x86_64 0.2.0 21.00 100.00 121.00 NOTE

Check Details

Version: 0.2.0
Check: R code for possible problems
Result: NOTE
    embed2: no visible global function definition for 'embed'
    estimate_LC_pdf_state: no visible global function definition for
     'quantile'
    estimate_LC_pdf_state: no visible global function definition for
     'bw.nrd0'
    estimate_LC_pdf_state: no visible global function definition for 'sd'
    estimate_LC_pdf_state: no visible global function definition for
     'cov.wt'
    estimate_LC_pdf_state: no visible binding for global variable 'sd'
    estimate_LC_pdf_state: no visible global function definition for
     'dnorm'
    estimate_LC_pdf_state: no visible global function definition for 'cov'
    estimate_LC_pdf_state: no visible binding for global variable 'median'
    estimate_LC_pdf_state: no visible global function definition for
     'huge.select'
    estimate_LC_pdf_state: no visible global function definition for 'huge'
    estimate_state_adj_matrix: no visible global function definition for
     'ks.test'
    image2: no visible global function definition for 'par'
    image2: no visible global function definition for 'colorRampPalette'
    image2: no visible global function definition for 'layout'
    image2: no visible global function definition for 'box'
    image2: no visible global function definition for 'axis'
    image2: no visible global function definition for 'mtext'
    image2: no visible global function definition for 'lines'
    kmeanspp: no visible global function definition for 'cov'
    kmeanspp: no visible global function definition for 'kmeans'
    make_legend: no visible global function definition for
     'colorRampPalette'
    make_legend: no visible global function definition for 'axis'
    make_legend: no visible global function definition for 'mtext'
    make_legend: no visible global function definition for 'box'
    mixed_LICORS: no visible global function definition for 'cor'
    mv_wKDE: no visible global function definition for 'predict'
    normalize: no visible global function definition for 'is'
    plot.LC: no visible global function definition for 'box'
    plot.LC: no visible global function definition for 'abline'
    plot.LC: no visible global function definition for 'axis'
    plot.LC: no visible global function definition for 'grid'
    plot.LC: no visible global function definition for 'points'
    plot.LC: no visible global function definition for 'text'
    plot.LC: no visible global function definition for 'plot.new'
    plot.LC: no visible global function definition for 'legend'
    plot.mixed_LICORS: no visible global function definition for 'par'
    plot.mixed_LICORS: no visible global function definition for
     'colorRampPalette'
    plot.mixed_LICORS: no visible global function definition for 'layout'
    plot.mixed_LICORS: no visible global function definition for 'matplot'
    plot.mixed_LICORS: no visible global function definition for 'box'
    plot.mixed_LICORS: no visible global function definition for 'axis'
    plot.mixed_LICORS: no visible global function definition for 'abline'
    plot.mixed_LICORS: no visible global function definition for 'mtext'
    plot.mixed_LICORS: no visible global function definition for 'legend'
    plot.mixed_LICORS: no visible global function definition for 'barplot'
    plot.mixed_LICORS: no visible global function definition for 'ts.plot'
    plot.mixed_LICORS: no visible global function definition for 'ts'
    plot.mixed_LICORS: no visible global function definition for 'lines'
    plot.mixed_LICORS: no visible global function definition for 'plot.new'
    plot.mixed_LICORS: no visible global function definition for
     'plot.window'
    plot.mixed_LICORS: no visible global function definition for 'rect'
    predict_FLC_given_PLC : <anonymous>: no visible binding for global
     variable 'median'
    rdensity: no visible global function definition for 'rnorm'
    search_knn: no visible global function definition for 'ann'
    wKDE: no visible global function definition for 'na.omit'
    wKDE: no visible global function definition for 'bw.nrd'
    wKDE: no visible global function definition for 'quantile'
    wKDE: no visible global function definition for 'density'
    wKDE: no visible global function definition for 'approx'
    Undefined global functions or variables:
     abline ann approx axis barplot box bw.nrd bw.nrd0 colorRampPalette
     cor cov cov.wt density dnorm embed grid huge huge.select is kmeans
     ks.test layout legend lines matplot median mtext na.omit par plot.new
     plot.window points predict quantile rect rnorm sd text ts ts.plot
    Consider adding
     importFrom("grDevices", "colorRampPalette")
     importFrom("graphics", "abline", "axis", "barplot", "box", "grid",
     "layout", "legend", "lines", "matplot", "mtext", "par",
     "plot.new", "plot.window", "points", "rect", "text")
     importFrom("methods", "is")
     importFrom("stats", "approx", "bw.nrd", "bw.nrd0", "cor", "cov",
     "cov.wt", "density", "dnorm", "embed", "kmeans", "ks.test",
     "median", "na.omit", "predict", "quantile", "rnorm", "sd",
     "ts", "ts.plot")
    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-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in 'LICORS-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: estimate_LC_pdfs
    > ### Title: Estimate PLC/FLC distributions for all states
    > ### Aliases: estimate_LC_pdfs estimate_LC_pdf_state estimate_LC.pdf.state
    > ### Keywords: distribution multivariate nonparametric
    >
    > ### ** Examples
    >
    > set.seed(10)
    > WW <- matrix(runif(10000), ncol = 10)
    > WW <- normalize(WW)
    > temp_flcs <- cbind(sort(rnorm(nrow(WW))))
    > temp_flc_pdfs <- estimate_LC_pdfs(temp_flcs, WW)
    Error in is.null(weights) || is.na(weights) :
     'length = 1000' in coercion to 'logical(1)'
    Calls: estimate_LC_pdfs -> estimate_LC_pdf_state
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘LICORS-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: estimate_LC_pdfs
    > ### Title: Estimate PLC/FLC distributions for all states
    > ### Aliases: estimate_LC_pdfs estimate_LC_pdf_state estimate_LC.pdf.state
    > ### Keywords: distribution multivariate nonparametric
    >
    > ### ** Examples
    >
    > set.seed(10)
    > WW <- matrix(runif(10000), ncol = 10)
    > WW <- normalize(WW)
    > temp_flcs <- cbind(sort(rnorm(nrow(WW))))
    > temp_flc_pdfs <- estimate_LC_pdfs(temp_flcs, WW)
    Error in is.null(weights) || is.na(weights) :
     'length = 1000' in coercion to 'logical(1)'
    Calls: estimate_LC_pdfs -> estimate_LC_pdf_state
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64