R/utils.R

Defines functions empty_edgelist

#' Pipe operator
#'
#' See \code{magrittr::\link[magrittr:pipe]{\%>\%}} for details.
#'
#' @name %>%
#' @rdname pipe
#' @keywords internal
#' @export
#' @importFrom magrittr %>%
#' @usage lhs \%>\% rhs
NULL

empty_edgelist <- function() {
  tibble::tibble(from = character(), to = character())
}

utils::globalVariables(
  c(
    "app",
    "attempts",
    "friends",
    "limit",
    "node",
    "remaining",
    "token",
    "user_id",
    "users"
  )
)
alexpghayes/socialsampler documentation built on Jan. 3, 2022, 6:54 p.m.