auth_clean function

Remove tokens

Remove tokens

If there is a file with saved tokens it will delete it.

auth_clean(old = TRUE, new = FALSE)

Arguments

  • old: A logical value if you want to remove old tokens.
  • new: A logical value if you want to remove new tokens.

Returns

An invisible logical value showing the success of the operation. If no tokens need to be deleted it will return FALSE too. NULL if there is nothing to do.

Details

This functions helps to comply with CRAN policy to remove files created by the package.

Examples

auth_clean(TRUE, TRUE)
  • Maintainer: Lluís Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24