CRAN Package Check Results for Package pmwg

Last updated on 2024-11-03 15:48:48 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.7 2.68 36.73 39.41 OK
r-devel-linux-x86_64-debian-gcc 0.2.7 0.35 1.45 1.80 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.7 65.39 OK
r-devel-linux-x86_64-fedora-gcc 0.2.7 74.45 OK
r-devel-windows-x86_64 0.2.7 4.00 81.00 85.00 OK
r-patched-linux-x86_64 0.2.7 3.82 34.90 38.72 OK
r-release-linux-x86_64 0.2.7 2.89 29.71 32.60 ERROR
r-release-macos-arm64 0.2.7 30.00 OK
r-release-macos-x86_64 0.2.7 45.00 OK
r-release-windows-x86_64 0.2.7 4.00 72.00 76.00 OK
r-oldrel-macos-arm64 0.2.7 34.00 OK
r-oldrel-macos-x86_64 0.2.7 72.00 OK
r-oldrel-windows-x86_64 0.2.7 4.00 74.00 78.00 OK

Check Details

Version: 0.2.7
Check: whether package can be installed
Result: ERROR Installation failed. Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.7
Check: package dependencies
Result: NOTE Packages suggested but not available for checking: 'rtdists', 'V8' Flavor: r-release-linux-x86_64

Version: 0.2.7
Check: examples
Result: ERROR Running examples in ‘pmwg-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: pmwgs > ### Title: Create a PMwG sampler and return the created object > ### Aliases: pmwgs > > ### ** Examples > > # Specify the log likelihood function > lba_loglike <- function(x, data) { + x <- exp(x) + if (any(data$rt < x["t0"])) { + return(-1e10) + } + # This is faster than "paste". + bs <- x["A"] + x[c("b1", "b2", "b3")][data$condition] + + out <- rtdists::dLBA( + rt = data$rt, # nolint + response = data$stim, + A = x["A"], + b = bs, + t0 = x["t0"], + mean_v = x[c("v1", "v2")], + sd_v = c(1, 1), + distribution = "norm", + silent = TRUE + ) + bad <- (out < 1e-10) | (!is.finite(out)) + out[bad] <- 1e-10 + out <- sum(log(out)) + out + } > > # Specify parameter names and priors > pars <- c("b1", "b2", "b3", "A", "v1", "v2", "t0") > priors <- list( + theta_mu_mean = rep(0, length(pars)), + theta_mu_var = diag(rep(1, length(pars))) + ) > > # Create the Particle Metropolis within Gibbs sampler object > sampler <- pmwgs( + data = forstmann, + pars = pars, + ll_func = lba_loglike, + prior = priors + ) > > sampler = init(sampler, particles=10) MESSAGE: Sampling Initial values for random effects | | | 0% | |==== | 5% | |======= | 11% | |=========== | 16% | |=============== | 21% | |================== | 26% | |====================== | 32% | |========================== | 37% | |============================= | 42% | |================================= | 47% | |===================================== | 53% | |========================================= | 58% | |============================================ | 63% | |================================================ | 68% | |==================================================== | 74% | |======================================================= | 79% | |=========================================================== | 84% | |=============================================================== | 89% | |================================================================== | 95% | |======================================================================| 100% > sampler = run_stage(sampler, stage="burn", iter=10, particles=10) MESSAGE: Epsilon has been set to 0.5 based on number of parameters MESSAGE: mix has been set to c(0.5, 0.5, 0) based on the stage being run Phase 1: Burn in | | 0% | New( 0%) |====== | 10% | New( 0%) |============ | 20% | New( 0%) |================== | 30% | New(100%) |======================== | 40% | New(100%) |============================== | 50% | New(100%) |==================================== | 60% | New(100%)Error in loadNamespace(x) : there is no package called ‘rtdists’ Calls: run_stage ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-release-linux-x86_64

Version: 0.2.7
Check: HTML version of manual
Result: NOTE Skipping checking math rendering: package 'V8' unavailable Flavor: r-release-linux-x86_64