Skip to content

Commit

Permalink
Update report_dataset.Rmd (#138)
Browse files Browse the repository at this point in the history
- Fix `dataset_report` bug
  • Loading branch information
ehwenk authored Nov 23, 2023
1 parent a64ce21 commit b33f0b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/support/report_dataset.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ if (length(context_properties) > 0) {
for (i in seq_along(context_properties)) {
var_in <- context_properties[[i]][["var_in"]][1]
writeLines(paste0("**", context_properties[[i]]$context_property[1], "**:", ifelse(is.null(var_in), "Added ",
writeLines(paste0("**", context_properties[[i]]$context_property[1], "**: ", ifelse(is.null(var_in), "Added ",
paste0("Mapped from the column titled **", var_in, "** in your dataset ")), "with the category *", context_properties[[i]]$category[1], "*."))
writeLines("\n\nThe following values exist for this context:\n")
Expand Down Expand Up @@ -789,7 +789,7 @@ updated_taxa <- data_study$taxonomic_updates %>% select(-dataset_id) %>%
data_study$taxa %>%
filter(taxon_name %in% updated_taxa$taxon_name) %>%
left_join(
by = c("taxon_name", "original_name"),
by = c("taxon_name"),
updated_taxa %>%
bind_rows(empty_tibble_taxonomic_updates) %>%
select(original_name, taxon_name, aligned_name, aligned_name_taxon_id, aligned_name_taxonomic_status)
Expand Down

0 comments on commit b33f0b7

Please sign in to comment.