From 6ce21a81107b5b83313781e9f369d25fd17be410 Mon Sep 17 00:00:00 2001 From: Vladimir Mikryukov Date: Fri, 30 May 2025 12:50:55 +0300 Subject: [PATCH] `rbindlist` fix proposed by @MOB-Habitat --- bin/11_GBIF_SpeciesKey_to_OTTID.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/11_GBIF_SpeciesKey_to_OTTID.R b/bin/11_GBIF_SpeciesKey_to_OTTID.R index 5db8ca0..34ad861 100755 --- a/bin/11_GBIF_SpeciesKey_to_OTTID.R +++ b/bin/11_GBIF_SpeciesKey_to_OTTID.R @@ -140,7 +140,7 @@ spnames <- alply(.data = datt$specieskey, .margins = 1, .fun = function(x){ return(res) }, .parallel = parall) -spnames <- rbindlist(spnames) +spnames <- rbindlist(spnames, fill = TRUE) cat("..Number of species found: ", length(na.omit(unique(spnames$species))), "\n")