Skip to content

Commit

Permalink
Make lines shorter, remove paste from signal
Browse files Browse the repository at this point in the history
  • Loading branch information
jwokaty committed Jan 3, 2025
1 parent 361254c commit 59fe2e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: bedbaser
Title: A BEDbase client
Version: 0.99.14
Version: 0.99.15
Authors@R: c(
person(
given = "Jen",
Expand Down
6 changes: 3 additions & 3 deletions R/bedbaser.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ BEDbase <- function(cache_path, quietly = FALSE) {
)
info <- httr::content(api$list_beds_v1_bed_list_get(limit = 0, offset = 0))
if (!quietly) {
message(paste(info$count, "BED files available."))
message(info$count, "BED files available.")
}
api
}
Expand Down Expand Up @@ -217,9 +217,9 @@ bb_metadata <- function(api, id, full = FALSE) {
}
result <- httr::content(rsp)
if (rsp$status_code == 404) {
rlang::abort(message = result$detail)
rlang::abort(result$detail)
} else if (rsp$status != 200) {
rlang::abort(message = "{result$type}: input {result$input} {result$msg}")
rlang::abort("{result$type}: input {result$input} {result$msg}")
} else {
result
}
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
as.double()

if (!is.null(extra_cols) && (nums[2] != length(extra_cols))) {
rlang::abort("`extra_cols` length must match the Y value in `bed_type`.")
rlang::abort("`extra_cols` length must match Y value in `bed_type`.")
}

if (!grepl("Peak", args["format"]) && nums[2] != 0 && is.null(extra_cols)) {
Expand Down

0 comments on commit 59fe2e1

Please sign in to comment.