File: rules.R

package info (click to toggle)
r-cran-rtweet 1.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 18,224 kB
  • sloc: sh: 13; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 362 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#' Extract the streaming rules
#'
#' Provides the information about the rules
#' @param x An object returned by `stream_*_rule`
#' @param ... Other arguments currently ignored.
#' @seealso `stream_add_rule()` and `stream_rm_rule()`.
#' @export
rules <- function(x, ...) {
  UseMethod("rules")
}

#' @export
rules.rules <- function(x, ...) {
  attr(x, "rules")
}