Skip to content

Commit

Permalink
Remove duplicated type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
mikmart committed Jan 25, 2024
1 parent 02753af commit 166308f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/format.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ formatSignif = function(
#' \code{params = list('ko-KR', list(year = 'numeric', month = 'long', day =
#' 'numeric'))}
formatDate = function(table, columns, method = 'toDateString', params = NULL, rows = NULL) {
if (!inherits(table, 'datatables'))
stop("Invalid table argument; a table object created from datatable() was expected")
formatColumns(table, columns, tplDate, method, params, rows = rows)
}

Expand Down

0 comments on commit 166308f

Please sign in to comment.