gnu: Add r-rtweet.

* gnu/packages/cran.scm (r-rtweet): New variable.
This commit is contained in:
Lars-Dominik Braun 2021-03-15 10:42:29 +01:00
parent 83b6d7a33e
commit 181e3c0128
No known key found for this signature in database
GPG key ID: 421377011A378446

View file

@ -27965,3 +27965,34 @@ (define-public r-rworldmap
(description
"Enables mapping of country level and gridded user datasets.")
(license license:gpl2+)))
(define-public r-rtweet
(package
(name "r-rtweet")
(version "0.7.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "rtweet" version))
(sha256
(base32
"05pbvxm2vmf6935b9s6663k3aifnkr3m52wh2jvnplmrwyrfpn9n"))))
(properties `((upstream-name . "rtweet")))
(build-system r-build-system)
(propagated-inputs
`(("r-httpuv" ,r-httpuv)
("r-httr" ,r-httr)
("r-jsonlite" ,r-jsonlite)
("r-magrittr" ,r-magrittr)
("r-progress" ,r-progress)
("r-rcpp" ,r-rcpp)
("r-tibble" ,r-tibble)))
(native-inputs `(("r-knitr" ,r-knitr)))
(home-page
"https://docs.ropensci.org/rtweet/")
(synopsis "Collecting Twitter Data")
(description
"An implementation of calls designed to collect and organize Twitter data
via @url{https://developer.twitter.com/en/docs,Twitter's REST and stream
Application Program Interfaces (API)}.")
(license license:expat)))