Skip to content

Commit d940f1e

Browse files
add ... to classification when using NCBI
related to #890
1 parent b996e9c commit d940f1e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

R/classification.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ classification.default <- function(sci_id, db = NULL, callopts = list(),
240240
stats::setNames(classification(id, return_id = return_id, ...), sci_id)
241241
},
242242
ncbi = {
243-
id <- process_ids(sci_id, db, get_uid, rows = rows)
243+
id <- process_ids(sci_id, db, get_uid, rows = rows, ...)
244244
stats::setNames(classification(id, callopts = callopts,
245-
return_id = return_id), sci_id)
245+
return_id = return_id, ...), sci_id)
246246
},
247247
eol = {
248248
id <- process_ids(sci_id, db, get_eolid, rows = rows, ...)

R/get_natservid.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ get_natservid <- function(sci_com, searchtype = "scientific", ask = TRUE,
8080
assert(ask, "logical")
8181
assert(messages, "logical")
8282
assert_rows(rows)
83-
if (!is.null(commnames)) {
83+
if (!is.null(query)) {
8484
lifecycle::deprecate_warn(when = "v0.9.97", what = "get_natservid(query)", with = "get_natservid(sci_com)")
8585
sci_com <- query
8686
}

R/get_uid.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ get_uid_ <- function(sci_com, messages = TRUE, rows = NA, key = NULL,
411411

412412
key <- getkey(key, "ENTREZ_KEY")
413413
if (!is.null(sciname)) {
414-
lifecycle::deprecate_warn(when = "v0.9.97", what = "get_uid_(sciname)", with = "get_uid_(sci_com)")
414+
lifecycle::deprecate_warn(when = "v0.9.97", what = "get_uid_(sciname)", with = "get_uid_(sci_com)")
415415
sci_com <- sciname
416416
}
417417

0 commit comments

Comments
 (0)