Skip to content

Commit

Permalink
fix crash-on-completion for progress #44
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lawrence Miller committed Jun 15, 2021
1 parent 69cc04c commit fcf6121
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/bootdht.R
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ bootdht <- function(model,
summary_fun=summary_fun, convert.units=convert.units,
pb=list(increment=function(pb){invisible()}))
}
pb$done(pb$pb)
# post-process
nbootfail <- sum(unlist(lapply(boot_ests, is.na)))
boot_ests <- Filter(function(x) !is.na(x), boot_ests)
Expand Down

0 comments on commit fcf6121

Please sign in to comment.