Skip to content

Commit 480a775

Browse files
committed
Merge branch 'master' into auto-format-suggestion
2 parents 02b074d + 22ee5fc commit 480a775

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Authors@R:
1515
person(given = "Mike", family = "Lawrence", role = "ctb"),
1616
person(given = c("William", "Michael"), family = "Landau", role = "ctb",
1717
email = "[email protected]", comment = c(ORCID = "0000-0003-1878-3253")),
18-
person(given = "Jacob", family = "Socolar", role = "ctb"))
18+
person(given = "Jacob", family = "Socolar", role = "ctb"),
19+
person(given = "Martin", family = "Modrák", role = "ctb"))
1920
Description: A lightweight interface to 'Stan' <https://mc-stan.org>.
2021
The 'CmdStanR' interface is an alternative to 'RStan' that calls the command
2122
line interface for compilation and running algorithms instead of interfacing

R/utils.R

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,12 @@ wsl_installed <- function() {
543543
tryCatch({
544544
# Call can hang indefinitely on Github actions, so explicitly kill
545545
p <- processx::process$new("wsl", "uname")
546-
Sys.sleep(1)
546+
for(i in 1:50) {
547+
Sys.sleep(0.1)
548+
if(!p$is_alive()) {
549+
break
550+
}
551+
}
547552
if (p$is_alive()) {
548553
p$kill()
549554
FALSE

0 commit comments

Comments
 (0)