Open mschubert opened 1 year ago
Starting from your "Quick Overview" example (with plyranges=1.18.0),
plyranges=1.18.0
library(plyranges) df <- data.frame(start = 1:5, width = 5) ir = as_iranges(df)
when I try to select a nonexistent column
ir %>% select(this_col_does_not_exist)
I get the error message:
Error in select_rng(.data, .drop_ranges, ...) : Cannot select/rename the following columns: start, end, width
This should probably print something like this instead:
Error in select_rng(.data, .drop_ranges, ...) : The following column does not exist: this_col_does_not_exist
This happens irrespective of using an IRanges or GRanges object.
IRanges
GRanges
Starting from your "Quick Overview" example (with
plyranges=1.18.0
),when I try to select a nonexistent column
I get the error message:
This should probably print something like this instead:
This happens irrespective of using an
IRanges
orGRanges
object.