Skip to contents

List available releases

Usage

available_releases(server = c("fishbase", "sealifebase"))

Arguments

server

fishbase or sealifebase

Details

Lists all available releases (year.month format). To use a specific release, set the desired release using `options(FISHBASE_VERSION=)`, as shown in the examples. Otherwise, rfishbase will use the latest available version if this option is unset. NOTE: it will be necessary to clear the cache with `clear_cache()` or by restarting the R session with a fresh environment.

Examples

if (FALSE) { # interactive()
available_releases()
options(FISHBASE_VERSION="19.04")
## unset
options(FISHBASE_VERSION=NULL)
}