CRAN Package Check Results for Package spamtree

Last updated on 2021-10-22 12:59:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 148.75 154.18 302.93 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 114.45 122.70 237.15 OK
r-devel-linux-x86_64-fedora-clang 0.2.1 438.69 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.1 393.92 OK
r-devel-windows-x86_64 0.2.1 192.00 134.00 326.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.2.1 OK
r-patched-linux-x86_64 0.2.1 129.47 147.41 276.88 OK
r-patched-solaris-x86 0.2.1 248.70 ERROR
r-release-linux-x86_64 0.2.1 134.52 150.43 284.95 OK
r-release-macos-arm64 0.2.1 NOTE
r-release-macos-x86_64 0.2.1 NOTE
r-release-windows-ix86+x86_64 0.2.1 375.00 146.00 521.00 OK
r-oldrel-macos-x86_64 0.2.1 NOTE
r-oldrel-windows-ix86+x86_64 0.2.1 381.00 148.00 529.00 OK

Check Details

Version: 0.2.1
Check: installed package size
Result: NOTE
     installed size is 8.8Mb
     sub-directories of 1Mb or more:
     libs 8.5Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.2.1
Check: examples
Result: ERROR
    Running examples in ‘spamtree-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: spamtree
    > ### Title: Bayesian Spatial Multivariate Tree GP Regression
    > ### Aliases: spamtree
    >
    > ### ** 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(ggplot2)
    > library(spamtree)
    >
    > set.seed(2021)
    >
    > SS <- 15
    > 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 <- X %*% B + w + tausq^.5 * rnorm(n)
    >
    > set_missing <- rbinom(n, 1, 0.1)
    >
    > simdata <- data.frame(coords,
    + y_full = y,
    + w_latent = w) %>%
    + mutate(y_observed = ifelse(set_missing==1, NA, y_full))
    >
    > # MCMC setup
    > mcmc_keep <- 300
    > mcmc_burn <- 300
    > mcmc_thin <- 1
    >
    > ybar <- mean(y, na.rm=TRUE)
    >
    > # fit spamtree with defaults
    > spamtree_done <- spamtree(y - ybar, X, coords,
    + mcmc = list(keep=mcmc_keep, burn=mcmc_burn, thin=mcmc_thin),
    + num_threads = 1)
    
     *** caught segfault ***
    address 0, cause 'memory not mapped'
    
    Traceback:
     1: spamtree_mv_mcmc(y, x, Z, cx_all, sort_mv_id, blocking, gix_block, res_is_ref, parents, children, limited_tree, block_names, block_groups, indexing, set_unif_bounds, start_w, start_theta, start_beta, start_tausq, mcmc_mh_sd, mcmc_keep, mcmc_burn, mcmc_thin, num_threads, use_alg, mcmc_adaptive, main_verbose, mcmc_verbose, mcmc_debug, mcmc_printall, sample_beta, sample_tausq, sample_theta, sample_w, sample_predicts)
     2: system.time({ results <- spamtree_mv_mcmc(y, x, Z, cx_all, sort_mv_id, blocking, gix_block, res_is_ref, parents, children, limited_tree, block_names, block_groups, indexing, set_unif_bounds, start_w, start_theta, start_beta, start_tausq, mcmc_mh_sd, mcmc_keep, mcmc_burn, mcmc_thin, num_threads, use_alg, mcmc_adaptive, main_verbose, mcmc_verbose, mcmc_debug, mcmc_printall, sample_beta, sample_tausq, sample_theta, sample_w, sample_predicts)})
     3: spamtree(y - ybar, X, coords, mcmc = list(keep = mcmc_keep, burn = mcmc_burn, thin = mcmc_thin), num_threads = 1)
    An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86

Version: 0.2.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘spatial_multivariate.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    
     *** caught segfault ***
    address 1a, cause 'memory not mapped'
Flavor: r-patched-solaris-x86