Skip to content

Commit

Permalink
fixed example
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Dec 8, 2015
1 parent 78399a6 commit 2869d64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/checkDataTable.r
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#' setkeyv(dt, "Species")
#' setkeyv(dt, "Sepal.Length", physical = FALSE)
#' testDataTable(dt)
#' testDataTable(dt, keys = "Species", index = "Sepal.Length", any.missing = FALSE)
#' testDataTable(dt, key = "Species", index = "Sepal.Length", any.missing = FALSE)
checkDataTable = function(x, key = NULL, index = NULL, types = character(0L), any.missing = TRUE, all.missing = TRUE, min.rows = NULL, min.cols = NULL, nrows = NULL, ncols = NULL, row.names = NULL, col.names = NULL) {
if (!requireNamespace("data.table", quietly = TRUE))
stop("Install 'data.table' to perform checks in data tables")
Expand Down
2 changes: 1 addition & 1 deletion man/checkDataTable.Rd

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

0 comments on commit 2869d64

Please sign in to comment.