Running examples in ‘BeeBDC-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: jbd_CfC_chunker
> ### Title: Get country names from coordinates
> ### Aliases: jbd_CfC_chunker
> 
> ### ** Examples
> 
> library("dplyr")

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

> data(beesFlagged)
> HomePath = tempdir()
> # Tibble of common issues in country names and their replacements
> commonProblems <- dplyr::tibble(problem = c('U.S.A.', 'US','USA','usa','UNITED STATES',
+ 'United States','U.S.A','MX','CA','Bras.','Braz.','Brasil','CNMI','USA TERRITORY: PUERTO RICO'),
+                                  fix = c('United States of America','United States of America',
+                                  'United States of America','United States of America',
+                                  'United States of America','United States of America',
+                                  'United States of America','Mexico','Canada','Brazil','Brazil',
+                                  'Brazil','Northern Mariana Islands','Puerto Rico'))
>                                  
> beesFlagged <- beesFlagged %>%
+       # Replace a name to test
+    dplyr::mutate(country = stringr::str_replace_all(country, "Brazil", "Brasil"))
> 
> beesFlagged_out <- countryNameCleanR(
+   data = beesFlagged,
+   commonProblems = commonProblems)
 - Using default country names and codes from https:en.wikipedia.org/wiki/ISO_3166-1_alpha-2 - static version from July 2022.
> 
> suppressWarnings(
+   countryOutput <- jbd_CfC_chunker(data = beesFlagged_out,
+                                    lat = "decimalLatitude",
+                                    lon = "decimalLongitude",
+                                    country = "country",
+                                    # How many rows to process at a time
+                                    stepSize = 1000000,
+                                    # Start row
+                                    chunkStart = 1,
+                                    path = HomePath,
+                                    scale = "medium"),
+   classes = "warning")
 - Running chunker with:
stepSize = 1,000,000
chunkStart = 1
chunkEnd = 1,000,000
 - Starting parallel operation. Unlike the serial operation (mc.cores = 1) , a parallel operation will not provide running feedback. Please be patient  as this function may take some time to complete. Each chunk will be run on  a seperate thread so also be aware of RAM usage.
Loading required package: rnaturalearth
Error in loadNamespace("bdc") : there is no package called ‘bdc’
Execution halted