Skip to content

Commit

Permalink
Merge pull request #61 from mayer79/fix_print_problem
Browse files Browse the repository at this point in the history
Fix a problem in print(), hanging forever
  • Loading branch information
mayer79 committed Oct 21, 2023
2 parents eb05ebd + 31dda8d commit bdb5ba0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ print.flashlight <- function(x, ...) {
cat("\nw:\t\t\t", .yn(x$w))
cat("\nby:\t\t\t", .yn(x$by))
cat("\ndata dim:\t\t", .yn(dim(x$data)))
cat("\npredict_fct default:\t", isTRUE(all.equal(stats::predict, x$predict_function)))
cat("\nlinkinv default:\t", isTRUE(all.equal(function(z) z, x$linkinv)))
cat("\nmetrics:\t\t", .yn(x[["metrics"]], names(x$metrics)))
cat("\n")
invisible(x)
Expand Down

0 comments on commit bdb5ba0

Please sign in to comment.