Skip to content

Commit

Permalink
suppress strange Rstudio bug
Browse files Browse the repository at this point in the history
  • Loading branch information
philchalmers committed Aug 16, 2024
1 parent 7fe9404 commit 89ca67d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/SimSolve.R
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,8 @@ SimSolve <- function(design, interval, b, generate, analyse, summarise,
generate=generate, analyse=analyse,
summarise=summarise, parallel=parallel, cl=cl,
save=FALSE, resume=FALSE, verbose=FALSE,
control=.SIMDENV$FromSimSolve$control, ...)
control=.SIMDENV$FromSimSolve$control, ...) |>
manageWarnings(suppress="\'package:stats\' may not be available when loading")
val <- ifelse(is.list(ret), ret[[1L]], ret[1L])
if(store){
pick <- min(which(sapply(.SIMDENV$stored_results, is.null)))
Expand Down

0 comments on commit 89ca67d

Please sign in to comment.