Skip to content

Commit

Permalink
Fix documentation NOTE in package check
Browse files Browse the repository at this point in the history
  • Loading branch information
billdenney committed Jul 24, 2020
1 parent 109576b commit febb872
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion R/c_to_n.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ c_to_n <- function(x, ...)
#'
#' @export
c_to_n.character <- function(x, ...,
pattern_numeric="^[+-]?(?:[0-9]+|[0-9]+\\.|\\.[0-9]+|[0-9]+\\.[0-9]+)(?:[eE][+-]?[0-9]+)?$",
pattern_numeric=
paste0(
"^[+-]?",
"(?:[0-9]+|[0-9]+\\.|\\.[0-9]+|[0-9]+\\.[0-9]+)",
"(?:[eE][+-]?[0-9]+)?$"
),
verbose=TRUE) {
stopifnot(is.character(x))
ret <- trimws(x)
Expand Down
4 changes: 2 additions & 2 deletions man/c_to_n.Rd

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

0 comments on commit febb872

Please sign in to comment.