readAlerts: Read all non-expired alerts

View source: R/posts.R

readAlertsR Documentation

Read all non-expired alerts

Description

Return all open alerts; that is, alerts which have not yet expired.

For a given Origin and Topic, only the most recent alert is returned.

Usage

readAlerts()

Value

Returns a data frame with columns

  • Origin (character)

  • Timestamp (POSIXct)

  • Message (character)

  • Expiration (POSIXct)

  • Topic (character or NA)

  • URL (character or NA)

  • LinkText (character or)

The data frame will be empty if there are no active alerts.

See Also

postAlert for posting an alert in the first place.


pteetor/tutils documentation built on July 5, 2025, 1:27 a.m.