Skip to content

Commit

Permalink
Merge branch 'master' into auto-format-suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabry committed Sep 15, 2023
2 parents 02b074d + 22ee5fc commit 480a775
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -15,7 +15,8 @@ Authors@R:
person(given = "Mike", family = "Lawrence", role = "ctb"),
person(given = c("William", "Michael"), family = "Landau", role = "ctb",
email = "[email protected]", comment = c(ORCID = "0000-0003-1878-3253")),
person(given = "Jacob", family = "Socolar", role = "ctb"))
person(given = "Jacob", family = "Socolar", role = "ctb"),
person(given = "Martin", family = "Modrák", role = "ctb"))
Description: A lightweight interface to 'Stan' <https://mc-stan.org>.
The 'CmdStanR' interface is an alternative to 'RStan' that calls the command
line interface for compilation and running algorithms instead of interfacing
7 changes: 6 additions & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
@@ -543,7 +543,12 @@ wsl_installed <- function() {
tryCatch({
# Call can hang indefinitely on Github actions, so explicitly kill
p <- processx::process$new("wsl", "uname")
Sys.sleep(1)
for(i in 1:50) {
Sys.sleep(0.1)
if(!p$is_alive()) {
break
}
}
if (p$is_alive()) {
p$kill()
FALSE

0 comments on commit 480a775

Please sign in to comment.