Closed zoometh closed 1 year ago
Thanks for #160, @zoometh! I'll look into it some time next week :+1:
The errors you see here are not an issue of c14bazAAR. If you read the messages again, you'll see that the checks and tests error out because you lack some R packages on your system: rnaturalearth
, globe
, sf
, rworldxtra
, rgeos
and lwgeom
. I have them installed and get 0 errors ✔ | 0 warnings ✔ | 0 notes ✔
.
These packages haven't been installed with the package for you, because they are listed in the Suggests:
field of the DESCRIPTION file. I think the easiest way to install every dependency may be to run something like devtools::install_dev_deps(dependencies = TRUE)
.
Following your leads, I have only one note:
> checking R code for possible problems ... NOTE
get_neonet: no visible global function definition for 'read.table'
Undefined global functions or variables:
read.table
Consider adding
importFrom("utils", "read.table")
to your NAMESPACE file.
It concerns the get_neonet()
function, Line 8:
c14dates <- read.table(db_url, quote = "", sep = "\t", header = T)
can be replaced by:
c14dates <- data.table::fread(db_url)
Good :+1: - I consider this solved then
Thanks @nevrome
We have just completed collection of a new dataset, named NeoNet Atl, for Europe's South Atlantic river basins. This dataset complements the (first) NeoNet dataset focused on the river basins of the north-central and western Mediterranean (see here). NeoNet Atl dataset has exactly the same structure as the first NeoNet dataset already collected by get_neonet()
.
Is it worth creating a new function (get_neonet_atl()
) or updating get_neonet()
to collect both datasets?
Working on the
get_neonet()
function. Idevtools::check()
locally (my clone)in the
test_that()
subpart