Skip to content

Commit c076bb1

Browse files
committed
work around rstudio bug rstudio/rstudio#16365
1 parent 9cfd9e9 commit c076bb1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

R/quick.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ compile <- function(fsub, build_dir = tempfile(paste0(fsub@name, "-build-"))) {
187187
if (!is.null(attr(result, "status"))) {
188188
writeLines(result, stderr())
189189
str(attributes(result))
190+
cat("\n----\n") # https://github.com/rstudio/rstudio/issues/16365
191+
flush.connection(stderr())
192+
flush.console()
190193
stop("Compilation Error")
191194
}
192195

0 commit comments

Comments
 (0)