This function checks if you have the latest version of the Fauna do Brasil data available in a specified directory.

fauna_version(data_dir)

Arguments

data_dir

the directory where the data should be located.

Value

A message informing whether you have the latest version of Fauna do Brasil available in the data_dir

Examples

#Check if there is a version of Fauna do Brasil data available in the
#current directory
fauna_version(data_dir = getwd())
#> You do not have any version of Fauna do Brasil in this directory.
#>     The latest version is 1.39. Please, change the directory or
#>     run the function get_faunabr() to download the latest version of fauna do
#>     Brasil.