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

check_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 Flora e Funga do Brasil available in the data_dir

Examples

#Check if there is a version of Flora e Funga do Brasil data available in the
#current directory
check_version(data_dir = getwd())
#> You do not have any version of Flora e Funga do Brasil in this directory.
#>     The latest version is 393.401. Please, change the directory or
#>     run the function get_florabr() to download the latest version of Flora e
#>     Funga do Brasil.