File: client_setup_default.Rd

package info (click to toggle)
r-cran-rtweet 2.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 18,068 kB
  • sloc: sh: 13; makefile: 2
file content (37 lines) | stat: -rw-r--r-- 895 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/client.R
\name{client_has_default}
\alias{client_has_default}
\alias{client_setup_default}
\title{Set up default client}
\usage{
client_has_default()

client_setup_default()
}
\value{
\code{client_setup_default()}: Invisibly returns the previous authentication mechanism.
\code{client_has_default()}: A logical value \code{TRUE} if there is a default authentication.
}
\description{
You'll need to run this function once per computer so that rtweet can use
your client.
}
\details{
It will use the current default account for rtweet and save them as "rtweet".
If a default is found it will use it instead.
}
\examples{
\dontrun{
if (!client_has_default()) {
   client_setup_default()
}
}
}
\seealso{
Other client: 
\code{\link{client_as}()},
\code{\link{client_get}()},
\code{\link{client_save}()}
}
\concept{client}