Skip to content

Commit

Permalink
default force_build to false if not explicit in args
Browse files Browse the repository at this point in the history
  • Loading branch information
abourgoin committed Nov 7, 2024
1 parent bc147c0 commit f0a589e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/bcpc.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ bcpc_query <- function(query, from = c("name", "cas","rn","cn","fr","en","zh","r

from <- match.arg(from)
from <- convert_from_arg_bcpc(from)
bcpc_idx <- build_bcpc_idx(verbose=verbose, force_build = FALSE, ...)
bcpc_idx <- build_bcpc_idx(verbose=verbose, ...)
names(query) <- query
out <- lapply(query, function(x) scrape_bcpc_frame(x, from = from, idx = bcpc_idx, verbose = verbose))
class(out) <- c("bcpc_query", "list")
Expand Down

0 comments on commit f0a589e

Please sign in to comment.