Skip to content

Commit

Permalink
Set extract_ordo_mappings() col types to character
Browse files Browse the repository at this point in the history
  • Loading branch information
allenbaron committed Feb 15, 2024
1 parent 3e1dc06 commit 398a1cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/extract.R
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ extract_as_tidygraph <- function(x, query = NULL, collapse_method = "first",
#'
#' @export
extract_ordo_mappings <- function(ordo_path, as_skos = TRUE, output = NULL,
tidy_what = "everything", col_types = NULL) {
tidy_what = "everything") {
if (isTRUE(as_skos)) {
q_nm <- "mapping-ordo-skos.rq"
} else {
Expand All @@ -495,7 +495,7 @@ extract_ordo_mappings <- function(ordo_path, as_skos = TRUE, output = NULL,
query = q_file,
output = output,
tidy_what = tidy_what,
col_types = col_types
col_types = readr::cols(.default = readr::col_character())
)

out
Expand Down

0 comments on commit 398a1cb

Please sign in to comment.