Skip to content

Commit

Permalink
test to install rstan for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bailliem committed Dec 12, 2024
1 parent 47b15b4 commit 12361c0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vignettes/Analyse2_with_ADMI.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ library(rbmi)
library(beeca)
library(rbmiUtils)
# require rstan
if (!requireNamespace("rstan", quietly = TRUE)) {
install.packages("rstan", repos = "https://cloud.r-project.org/")
message("rstan has been successfully installed.")
} else {
message("rstan is already installed.")
}
set.seed(1974)
data("ADEFF")
Expand Down

0 comments on commit 12361c0

Please sign in to comment.