auth_clean: Remove tokens

View source: R/auth_clean.R

auth_cleanR Documentation

Remove tokens

Description

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.

Details

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

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.

Examples

auth_clean(TRUE, TRUE)

rtweet documentation built on May 29, 2024, 7:47 a.m.