Skip to content

Commit

Permalink
Update create_iso8601() docs
Browse files Browse the repository at this point in the history
One more example about the `problems()` function.
  • Loading branch information
ramiromagno committed Dec 17, 2023
1 parent 22d69ae commit 8d51f5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/dtc_problems.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ add_problems <- function(x, dtc) {
#' # So now `problems()` returns `NULL` because there are no more parsing issues.
#' problems(iso8601_dttm2)
#'
#' # If you pass named arguments when calling `create_iso8601()` then they will
#' # be used to create the problems object.
#' iso8601_dttm3 <- create_iso8601(date = dates, .format = "y-m-d")
#' problems(iso8601_dttm3)
#'
#' @export
problems <- function(x = .Last.value) {
probs <- attr(x, "problems")
Expand Down
5 changes: 5 additions & 0 deletions man/problems.Rd

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

0 comments on commit 8d51f5f

Please sign in to comment.