Skip to content

Commit

Permalink
Update R/validations.R
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksander Chlebowski <[email protected]>
Signed-off-by: Vedha Viyash <[email protected]>
  • Loading branch information
vedhav and chlebowa authored Nov 16, 2023
1 parent d3a6860 commit f468214
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/validations.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ validate_has_data <- function(x,
"Please provide a character vector in msg argument of validate_has_data." = is.character(msg) || is.null(msg)
)
checkmate::assert_data_frame(x)
validate(need(!is.null(x) && is.data.frame(x), "No data left."))
if (!is.null(min_nrow)) {
if (complete) {
complete_index <- stats::complete.cases(x)
Expand Down

0 comments on commit f468214

Please sign in to comment.