Skip to content

Commit

Permalink
remove checks which fail due to R 4.0.0 windows bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Swarchal committed May 6, 2020
1 parent 765d197 commit 0d25ed1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions R/missing_wells.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ missing_wells <- function(df, well, plate = 96){
stop("'plate' needs to be either 96 or 384", call. = FALSE)
}

# check that well is a column in df
if (well %in% colnames(df) == FALSE){
stop(paste(well, "is not a column in", substitute(df)),
call. = FALSE)
}

well_col <- df[, well]

# all wells in a complete plate
Expand All @@ -54,4 +48,4 @@ missing_wells <- function(df, well, plate = 96){
missing_indices <- which(complete_plate %!in% well_col)
missing_wells <- complete_plate[missing_indices]
return(missing_wells)
}
}

0 comments on commit 0d25ed1

Please sign in to comment.