CRAN Package Check Results for Package horseshoe

Last updated on 2025-10-09 20:04:09 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 2.14 41.47 43.61 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 1.39 31.57 32.96 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 68.11 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.0 91.90 OK
r-devel-windows-x86_64 0.2.0 5.00 59.00 64.00 ERROR
r-patched-linux-x86_64 0.2.0 2.29 40.80 43.09 ERROR
r-release-linux-x86_64 0.2.0 2.02 40.72 42.74 ERROR
r-release-macos-arm64 0.2.0 36.00 OK
r-release-macos-x86_64 0.2.0 67.00 OK
r-release-windows-x86_64 0.2.0 3.00 58.00 61.00 ERROR
r-oldrel-macos-arm64 0.2.0 28.00 OK
r-oldrel-macos-x86_64 0.2.0 43.00 OK
r-oldrel-windows-x86_64 0.2.0 5.00 67.00 72.00 ERROR

Check Details

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘horseshoe-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: HS.normal.means > ### Title: The horseshoe prior for the sparse normal means problem > ### Aliases: HS.normal.means > > ### ** Examples > > #Empirical Bayes example with 20 signals, rest is noise > #Posterior mean for the signals is plotted > #And variable selection is performed using the credible intervals > #And the credible intervals are plotted > truth <- c(rep(0, 80), rep(8, 20)) > data <- truth + rnorm(100, 1) > tau.hat <- HS.MMLE(data, Sigma2 = 1) > res.HS1 <- HS.normal.means(data, method.tau = "fixed", tau = tau.hat, + method.sigma = "fixed", Sigma2 = 1) [1] 1000 [1] 2000 [1] 3000 [1] 4000 [1] 5000 [1] 6000 > #Plot the posterior mean against the data (signals in blue) > plot(data, res.HS1$BetaHat, col = c(rep("black", 80), rep("blue", 20))) > #Find the selected betas (ideally, the last 20 are equal to 1) > HS.var.select(res.HS1, data, method = "intervals") [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [38] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 [75] 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 > #Plot the credible intervals > library(Hmisc) Attaching package: ‘Hmisc’ The following objects are masked from ‘package:base’: format.pval, units > xYplot(Cbind(res.HS1$BetaHat, res.HS1$LeftCI, res.HS1$RightCI) ~ 1:100) Error in sRequire("lattice") : package lattice is required but not installed Calls: xYplot -> sRequire Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘horseshoe-Ex.R’ failed The error most likely occurred in: > ### Name: HS.normal.means > ### Title: The horseshoe prior for the sparse normal means problem > ### Aliases: HS.normal.means > > ### ** Examples > > #Empirical Bayes example with 20 signals, rest is noise > #Posterior mean for the signals is plotted > #And variable selection is performed using the credible intervals > #And the credible intervals are plotted > truth <- c(rep(0, 80), rep(8, 20)) > data <- truth + rnorm(100, 1) > tau.hat <- HS.MMLE(data, Sigma2 = 1) > res.HS1 <- HS.normal.means(data, method.tau = "fixed", tau = tau.hat, + method.sigma = "fixed", Sigma2 = 1) [1] 1000 [1] 2000 [1] 3000 [1] 4000 [1] 5000 [1] 6000 > #Plot the posterior mean against the data (signals in blue) > plot(data, res.HS1$BetaHat, col = c(rep("black", 80), rep("blue", 20))) > #Find the selected betas (ideally, the last 20 are equal to 1) > HS.var.select(res.HS1, data, method = "intervals") [1] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [38] 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 [75] 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 > #Plot the credible intervals > library(Hmisc) Attaching package: ‘Hmisc’ The following objects are masked from ‘package:base’: format.pval, units > xYplot(Cbind(res.HS1$BetaHat, res.HS1$LeftCI, res.HS1$RightCI) ~ 1:100) Error in sRequire("lattice") : package lattice is required but not installed Calls: xYplot -> sRequire Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.