chronosphere v.0.3.0 on CRAN

We are pleased to announce that chronosphere v.0.3.0. is now on CRAN! This constitutes a major update to users to use chronosphere in R 4.x.x, along with major updates to the fetch function and some more variables added.

The following updates were made in chronosphere 0.3.0 (2020-06-15):

chronosphere 0.3.0 (2020-06-15) currently offers the following new features:

1. Changes to the datasets function:

datasets() function gained the `dat, master and greetings arguments. The default setting of the function only downloads the list of datasets (dat) and variables (var). Setting the ‘dat’ argument to a character entry will download the list of all archives from that dataset. Setting the master argument to master=TRUE will download a list of all archives, which is expected to be very long in the near future. The argument greetings=TRUE will display a reminder that additional versions and resolutions are available.

2. Changes to the fetch function:

  • The downloaded objects now have chronosphere attributes. These record the accession information used previously, which allows the repetition of function call, if necessary - including changes.
  • fetch() can return the function call, using call=TRUE. This can be either an expression or a terminal message, depending on the settings of call.expr=TRUE/FALSE.
fetch("paleomap", call=TRUE)
## fetch(dat="paleomap")
  • fetch() can be used with an already downloaded the chronosphere-object to either redownload it, or get its download function call.
  • fetch() can be used to return multiple variables from the same dataset. These will be concatenated into a list, unless they are RasterArrays, in which case fetch() will try to cbind() them
datasets("paleomap") # contains 3 variables

fetch("paleomap")

3. the extent() method of the RasterArray class is now available

4. the server log log.csv is only checked once per session.

5. New datasets available:

  • Macrostrat
fetch("macrostrat")
  • Marine Ecoregions of the World
fetch("meow")

This is a beta version. Much of the functionality is not yet available/perfect and data access is restricted to publicly available datasets only. Issues and bugreports should go to the GitHub repo issue tracker. We appreciate any feedback.

Avatar
Nussaibah Raja-Schoob
PhD student

PhD student studying dynamics of reefs and reef-builders through time. Food enthusiast and cat lover.

Related

Previous