Skip to content

Commit

Permalink
Remove error in stop function
Browse files Browse the repository at this point in the history
  • Loading branch information
HediaTnani committed Jan 11, 2024
1 parent 08b5a84 commit a8a2fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/DEqual.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ DEqual <- function(DE) {
# stopifnot(!is.null(rownames(DE)))

# Check if input is a dataframe
if (!is.data.frame(DE)) { stop("Error: The input to DEqual is not a dataframe.") }
if (!is.data.frame(DE)) { stop("The input to DEqual is not a dataframe.") }

# Check if 't' is in the column names of DE
if (!("t" %in% colnames(DE))) {
Expand Down

0 comments on commit a8a2fd0

Please sign in to comment.