CRAN Package Check Results for Package mdgc

Last updated on 2021-02-15 11:47:28 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-fedora-clang 0.1.0 416.24 NOTE
r-patched-solaris-x86 0.1.0 171.40 ERROR

Check Details

Version: 0.1.0
Check: installed package size
Result: NOTE
     installed size is 12.6Mb
     sub-directories of 1Mb or more:
     libs 12.2Mb
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in ‘mdgc-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: mdgc_log_ml
    > ### Title: Evaluate the Log Marginal Likelihood and Its Derivatives
    > ### Aliases: mdgc_log_ml
    >
    > ### ** Examples
    >
    > # randomly mask data
    > set.seed(11)
    > masked_data <- iris
    > masked_data[matrix(runif(prod(dim(iris))) < .10, NROW(iris))] <- NA
    >
    > # use the functions in the package
    > library(mdgc)
    > obj <- get_mdgc(masked_data)
    > ptr <- get_mdgc_log_ml(obj)
    > start_vals <- mdgc_start_value(obj)
    > mdgc_log_ml(ptr, start_vals, obj$means)
    terminate called after throwing an instance of 'std::runtime_error'
     what(): cdf::cdf: error in mvsort
Flavor: r-patched-solaris-x86

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/16s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(mdgc)
     >
     > test_check("mdgc")
     terminate called after throwing an instance of 'std::runtime_error'
     what(): cdf::cdf: error in mvsort
Flavor: r-patched-solaris-x86

Version: 0.1.0
Check: for non-standard things in the check directory
Result: NOTE
    Found the following files/directories:
     ‘core’
Flavor: r-patched-solaris-x86