Skip to content

Commit c4113ad

Browse files
committed
update to new syntax from corella
1 parent 3f5f1f3 commit c4113ad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

NAMESPACE

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ importFrom(cli,cli_h3)
1919
importFrom(cli,cli_inform)
2020
importFrom(cli,cli_progress_step)
2121
importFrom(cli,cli_progress_update)
22-
importFrom(corella,check_occurrences)
22+
importFrom(corella,check_dataset)
2323
importFrom(curl,form_data)
2424
importFrom(curl,form_file)
2525
importFrom(dplyr,bind_rows)

R/check_archive.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ check_archive <- function(x = "data"){
2626
}
2727

2828
#' Internal function to check all files
29-
#' @importFrom corella check_occurrences
29+
#' @importFrom corella check_dataset
3030
#' @importFrom paperbark check_eml
3131
#' @importFrom purrr map
3232
#' @importFrom readr read_csv
@@ -37,7 +37,7 @@ check_files <- function(filenames){
3737
\(a){
3838
switch(a,
3939
"occurrences.csv" = {read_csv(a) |>
40-
check_occurrences()},
40+
check_dataset()},
4141
"meta.xml" = {check_eml(a)},
4242
"eml.xml" = {check_eml(a)}
4343
)

0 commit comments

Comments
 (0)