Learn R Programming

rtweet (version 2.0.0)

auth_clean: Remove tokens

Description

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

Usage

auth_clean(old = TRUE, new = FALSE)

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.

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.

Examples

Run this code
auth_clean(TRUE, TRUE)

Run the code above in your browser using DataLab