Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

Commit

Permalink
Fix documentation note and some errors
Browse files Browse the repository at this point in the history
  • Loading branch information
llrs committed Oct 8, 2023
1 parent e023c85 commit 5bf5c7e
Show file tree
Hide file tree
Showing 59 changed files with 8 additions and 215 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: rtweet
Title: Collecting Twitter Data
Version: 1.2.0.9003
Version: 1.2.0.9004
Authors@R: c(
person("Michael W.", "Kearney", , "[email protected]", role = "aut",
comment = c(ORCID = "0000-0002-0730-4694")),
Expand Down
2 changes: 1 addition & 1 deletion R/coords.R
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
lookup_coords <- function(address, components = NULL, apikey = NULL, ...) {
if (missing(address)) stop("must supply address", call. = FALSE)
stopifnot(is.atomic(address) && !is.null(address),
is.atomic(components))
is.atomic(components) && !is.null(components))
place <- address
if (grepl("^us$|^usa$|^united states$|^u\\.s",
address, ignore.case = TRUE)) {
Expand Down
4 changes: 2 additions & 2 deletions R/data.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' Defunct: Emojis codes and descriptions data.
#'
#' This data comes from "Unicode.org",
#' <http://unicode.org/emoji/charts/full-emoji-list.html>. The data are
#' <https://unicode.org/emoji/charts/full-emoji-list.html>. The data are
#' codes and descriptions of Emojis.
#'
#' @docType data
Expand All @@ -12,7 +12,7 @@ NULL
#' Defunct: Language codes recognized by Twitter data.
#'
#' This data comes from the Library of Congress,
#' <http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt>. The data are
#' <https://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt>. The data are
#' descriptions and codes associated with internationally recognized languages.
#' Variables include translations for each language represented as
#' bibliographic, terminological, alpha, English, and French.
Expand Down
3 changes: 0 additions & 3 deletions R/http.R
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ TWIT_method <- function(method, token, api,
#' If you expect a query to take hours or days to perform, you should not
#' rely solely on `retryonratelimit` because it does not handle other common
#' failure modes like temporarily losing your internet connection.
#' @param parse If `TRUE`, the default, returns a tidy data frame. Use `FALSE`
#' to return the "raw" list corresponding to the JSON returned from the
#' Twitter API.
#' @param verbose Show progress bars and other messages indicating current
#' progress?
#' @returns A list with the json output of the API.
Expand Down
2 changes: 1 addition & 1 deletion R/post-tweet.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#' tweet refers to. Range should be between -90 and 90 (north). Note that you
#' should enable the "Precise location" option in your account via *Settings
#' and privacy > Privacy and Safety > Location*. See
#' [the official Help Center section](https://help.twitter.com/en/safety-and-security/twitter-location-services-for-mobile).
#' [the official Help Center section](https://help.twitter.com/en/safety-and-security/x-location-services-for-mobile).
#' @param long A numeric value representing the longitude of the location the
#' tweet refers to. Range should be between -180 and 180 (west). See
#' `lat` parameter.
Expand Down
1 change: 0 additions & 1 deletion R/premium.R
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
#' }
#'
#' @export
#' @references Endpoint: <https://developer.twitter.com/en/docs/twitter-api/premium/search-api/api-reference/premium-search>
search_fullarchive <- function(q, n = 100, fromDate = NULL, toDate = NULL,
continue = NULL,
env_name = NULL, premium = FALSE,
Expand Down
4 changes: 0 additions & 4 deletions man/TWIT_paginate_max_id.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/direct_messages.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/emojis.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/get_favorites.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/get_followers.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/get_friends.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/get_mentions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/get_retweets.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/get_timeline.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/get_trends.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/langs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/list_followers.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/list_get.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/list_members.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/list_membership.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/list_tweets.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/lists_members.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/lists_memberships.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/lists_statuses.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/lists_subscribers.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/lists_subscriptions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/lists_users.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/lookup_friendships.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/lookup_tweets.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/lookup_users.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/my_friendships.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/post_tweet.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions man/search_fullarchive.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/search_tweets.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions man/search_users.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5bf5c7e

Please sign in to comment.