CRAN Package Check Results for Package meshed

Last updated on 2021-07-01 01:49:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.2 415.06 759.70 1174.76 OK
r-devel-linux-x86_64-debian-gcc 0.1.2 267.98 786.84 1054.82 OK
r-devel-linux-x86_64-fedora-clang 0.1.2 1396.53 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.2 1434.91 OK
r-devel-windows-x86_64 0.1.2 343.00 484.00 827.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.1.2 OK
r-patched-linux-x86_64 0.1.2 315.41 769.82 1085.23 OK
r-patched-solaris-x86 0.1.2 495.50 ERROR
r-release-linux-x86_64 0.1.2 322.17 738.78 1060.95 OK
r-release-macos-arm64 0.1.2 NOTE
r-release-macos-x86_64 0.1.2 NOTE
r-release-windows-ix86+x86_64 0.1.2 593.00 404.00 997.00 NOTE
r-oldrel-macos-x86_64 0.1.2 NOTE
r-oldrel-windows-ix86+x86_64 0.1.2 615.00 407.00 1022.00 NOTE

Additional issues

gcc-UBSAN

Check Details

Version: 0.1.2
Check: installed package size
Result: NOTE
     installed size is 20.3Mb
     sub-directories of 1Mb or more:
     doc 1.0Mb
     libs 19.1Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1.2
Check: examples
Result: ERROR
    Running examples in ‘meshed-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: predict.spmeshed
    > ### Title: Posterior predictive sampling for models based on MGPs
    > ### Aliases: predict.spmeshed
    >
    > ### ** Examples
    >
    >
    > # toy example with tiny dataset and short MCMC
    > # on a univariate outcome
    > library(magrittr)
    > library(dplyr)
    
    Attaching package: ‘dplyr’
    
    The following objects are masked from ‘package:stats’:
    
     filter, lag
    
    The following objects are masked from ‘package:base’:
    
     intersect, setdiff, setequal, union
    
    > library(meshed)
    >
    > set.seed(2021)
    >
    > SS <- 12
    > n <- SS^2 # total n. locations, including missing ones
    >
    > coords <- data.frame(Var1=runif(n), Var2=runif(n)) %>%
    + as.matrix()
    >
    > # generate data
    > sigmasq <- 2.3
    > phi <- 6
    > tausq <- .1
    > B <- c(-1,.5,1)
    >
    > CC <- sigmasq * exp(-phi * as.matrix(dist(coords)))
    > LC <- t(chol(CC))
    > w <- LC %*% rnorm(n)
    > p <- length(B)
    > X <- rnorm(n * p) %>% matrix(ncol=p)
    > y_full <- X %*% B + w + tausq^.5 * rnorm(n)
    >
    > set_missing <- rbinom(n, 1, 0.1)
    >
    > simdata <- data.frame(coords,
    + y_full = y_full,
    + w_latent = w) %>%
    + mutate(y_observed = ifelse(set_missing==1, NA, y_full))
    >
    > # MCMC setup
    > mcmc_keep <- 500
    > mcmc_burn <- 100
    > mcmc_thin <- 2
    >
    > y <- simdata$y_observed
    > ybar <- mean(y, na.rm=TRUE)
    >
    > # training set
    > y_in <- (y-ybar)[!is.na(y)]
    > X_in <- X[!is.na(y),]
    > coords_in <- coords[!is.na(y),]
    >
    > # suppose we dont want to have gridded knots
    > # i.e. we are fixing the MGP reference set at the observed locations
    > # (this may be inefficient in big data settings)
    > meshout <- spmeshed(y_in, X_in, coords_in,
    + axis_partition=c(4,4),
    + n_samples = mcmc_keep,
    + n_burn = mcmc_burn,
    + n_thin = mcmc_thin,
    + settings = list(forced_grid=FALSE, cache=FALSE),
    + prior=list(phi=c(1,15)),
    + verbose = 0,
    + n_threads = 1)
    Warning in spmeshed(y_in, X_in, coords_in, axis_partition = c(4, 4), n_samples = mcmc_keep, :
     Data look not gridded: force a grid with settings$forced_grid=T.
    
     *** caught segfault ***
    address 39494d6b, cause 'memory not mapped'
Flavor: r-patched-solaris-x86

Version: 0.1.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    Abort - core dumped
    --- re-building ‘multivariate_irregular.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    terminate called recursively
    terminate called after throwing an instance of 'std::logic_error'
     what(): Mat::init(): requested size is too large; suggest to enable ARMA_64BIT_WORD
    Abort - core dumped
    Warning in readLines(tf) :
     incomplete final line found on '/tmp/Rtmpera4th/working_dir/Rtmpcea4aE/file3c0720a22e15'
    --- re-building ‘univariate_gridded.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    terminate called recursively
    terminate called after throwing an instance of '
    Abort - core dumped
    --- re-building ‘univariate_irregular.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    terminate called recursively
    terminate called after throwing an instance of 'std::logic_error'
    Segmentation Fault - core dumped
    --- re-building ‘univariate_irregular_poisson.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    
    Attaching package: 'dplyr'
    
    The following objects are masked from 'package:stats':
    
     filter, lag
    
    The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
    
     *** caught segfault ***
    address 88, cause 'memory not mapped'
    
     *** caught segfault ***
    address 88, cause 'memory not mapped'
    SUMMARY: processing the following files failed:
     ‘multivariate_irregular.Rmd’ ‘univariate_gridded.Rmd’
     ‘univariate_irregular.Rmd’ ‘univariate_irregular_poisson.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86