R Under development (unstable) (2024-12-01 r87412 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(bdc) > > test_check("bdc") bdc_basisOfRecords_notStandard: Flagged 4 of the following specific nature: c("FOSSIL_SPECIMEN", NA, "Specimen", "PRESERVED_SPECIMEN") One column was added to the database. bdc_basisOfRecords_notStandard: Flagged 2 of the following specific nature: c("FOSSIL_SPECIMEN", "RON") One column was added to the database. bdc_coordinates_empty: Flagged 4 records. One column was added to the database. bdc_coordinates_empty: Flagged 4 records. One column was added to the database. bdc_coordinates_empty: Flagged 4 records. One column was added to the database. bdc_coordinates_from_locality Found 3 records missing or with invalid coordinates but with potentially useful information on locality. bdc_coordinates_outOfRange: Flagged 2 records. One column was added to the database. bdc_coordinates_precision: Flagged 4 records One column was added to the database. bdc_coordinates_precision: Flagged 0 records One column was added to the database. Loading required package: readr Attaching package: 'readr' The following objects are masked from 'package:testthat': edition_get, local_edition Loading required package: DT bdc_eventDate_empty: Flagged 3 records. One column was added to the database. bdc_fiter_out_flags: The following columns were removed from the database: .bdc_scientificName_empty, .bdc_coordinates_empty, .bdc_coordinates_outOfRange, .summary bdc_fiter_out_flags: The following columns were removed from the database: .summary bdc_coordinates_empty: Flagged 0 records. One column was added to the database. Loading required package: ggplot2 bdc_scientificName_empty: Flagged 2 records. One column was added to the database. bdc_scientificName_empty: Flagged 2 records. One column was added to the database. Standardizing datafake1 file Standardizing datafake2 file Standardizing datafake3 file Standardizing datafake1 file Standardizing datafake2 file Standardizing datafake3 file [ERROR]: Column names defined in the metadata do not match column names in the datafake4 file [INFO]: Column(s) `y` and `notes` defined in the metadata not present in the datafake4 bdc_summary_col: Flagged 4 records. One column was added to the database. bdc_year_from_eventDate: Four-digit year were extracted from 5 records. bdc_year_outOfRange: Flagged 1 records. One column was added to the database. [ FAIL 0 | WARN 0 | SKIP 13 | PASS 60 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • On CRAN (13): 'test-bdc_clean_names.R:2:1', 'test-bdc_coordinates_country_inconsistent.R:2:1', 'test-bdc_coordinates_transposed.R:2:1', 'test-bdc_correct_coordinates.R:2:1', 'test-bdc_country_from_coordinates.R:2:1', 'test-bdc_create_dir.R:2:1', 'test-bdc_create_figures.R:2:1', 'test-bdc_filter_name.R:2:1', 'test-bdc_get_world_map.R:2:1', 'test-bdc_query_names_taxadb.R:2:1', 'test-bdc_standardize_country.R:2:1', 'test-bdc_standardize_datasets.R:180:1', 'test-bdc_suggest_names_taxadb.R:2:1' [ FAIL 0 | WARN 0 | SKIP 13 | PASS 60 ] > > proc.time() user system elapsed 10.85 1.48 12.09