Skip to content

Commit

Permalink
na replacement erased as it is in function [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
iramosgutierrez committed Jan 17, 2024
1 parent bc40ee6 commit e9df86a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/herbarium.R
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,6 @@ create_herbarium_label <- function(data = data,
data <- as.data.frame(data) ## to exploit drop = TRUE when selecting cols below
bl.char <- rep("~", times = nrow(data))

for (i in 1:nrow(data)) {
data[is.na(data[,i]), i] <- "~"
}

rmarkdown::render(
input = file.path(folder, "herbarium.Rmd"),
output_dir = path,
Expand Down

0 comments on commit e9df86a

Please sign in to comment.