This path can be changed with option "ecotaxar.token_path"; by default, it is "~/.R/ecotaxar/token".

api_token_path()

Value

The path to the token file.

Examples

# get current token path api_token_path()
#> [1] "/home/jiho/.R/ecotaxar/token"
# set the option to change the path options(ecotaxa.token_path="~/.my_ecotaxa_token") api_token_path()
#> [1] "/home/jiho/.R/ecotaxar/token"
# NB: write this option in .Rprofile to make it permanent.