Skip to content

Commit

Permalink
warn on tidy_optim standard error (closes #529)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Jun 2, 2020
1 parent 839a287 commit 9645c58
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions R/list-optim-tidiers.R
Expand Up @@ -16,6 +16,11 @@
#' f <- function(x) (x[1] - 2)^2 + (x[2] - 3)^2 + (x[3] - 8)^2
#' o <- optim(c(1, 1, 1), f)
#'
#' @note
#' This function assumes that the provided objective function is a negative
#' log-likelihood function. Results will be invalid if an incorrect
#' function is supplied.
#'
#' tidy(o)
#' glance(o)
#' @aliases optim_tidiers tidy.optim
Expand Down
10 changes: 8 additions & 2 deletions man/tidy_optim.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9645c58

Please sign in to comment.