CRAN Package Check Results for Package BayesDissolution

Last updated on 2024-06-13 05:58:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 3.75 43.09 46.84 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 2.36 26.32 28.68 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 61.12 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 58.80 OK
r-devel-windows-x86_64 0.2.1 4.00 54.00 58.00 OK
r-patched-linux-x86_64 0.2.1 2.70 42.49 45.19 OK
r-release-linux-x86_64 0.2.1 3.63 42.77 46.40 OK
r-release-macos-arm64 0.2.1 26.00 OK
r-release-macos-x86_64 0.2.1 32.00 OK
r-release-windows-x86_64 0.2.1 5.00 60.00 65.00 OK
r-oldrel-macos-arm64 0.2.1 29.00 OK
r-oldrel-macos-x86_64 0.2.1 39.00 OK
r-oldrel-windows-x86_64 0.2.1 5.00 60.00 65.00 OK

Check Details

Version: 0.2.1
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘ggplot2’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: examples
Result: ERROR Running examples in ‘BayesDissolution-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: bmn > ### Title: Bayesian Multivariate Normal Model for Dissolution Profile > ### Modeling > ### Aliases: bmn > > ### ** Examples > > ### dis_data comes loaded with the package > ### We set B = 1000 to obtain 1000 posterior samples > B <- 1000 > post <- bmn(dis_data, B = B) > > ### We can check how well the posterior samples of the means are mixing by > ### plotting the individual chains by time point > burnin <- B * 0.1 # A 10% burn-in > post$mu_R <- post$muR[,-(1:burnin)] > post$mu_T <- post$muT[,-(1:burnin)] > > N <- B - burnin # Number of posterior samples after burn-in > chains <- data.frame(samples = rep(c(1:N, 1:N), each = ncol(dis_data) - 1), + group = rep(c("muR", "muT"), each = (ncol(dis_data) - 1) * N), + timepoint = paste("Time Point", rep(1:(ncol(dis_data) - 1), 2 * N)), + values = c(c(post$mu_R), c(post$mu_T))) > > g <- ggplot2::ggplot(chains, ggplot2::aes(samples, values)) + + ggplot2::geom_line() + + ggplot2::labs(x = "Iterations", y = "Posterior Sample Values") + + ggplot2::facet_wrap(group ~ timepoint) + + ggplot2::theme(text = ggplot2::element_text(size = 16)) Error in loadNamespace(x) : there is no package called ‘ggplot2’ Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc