Skip to contents

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

Usage

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.

Value

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)