Reads and parses application announcements configurations in config/announce.yaml, then display announcements in
application header.
Usage
load_announcements(
announcements_file_path = NULL,
announcement_location_id = "announceAlert"
)Arguments
- announcements_file_path
The path to announcements configuration file.
Use announcementConfigurationsAddin to generate that file.- announcement_location_id
Announcement target location div id (default = "announceAlert")
Details
If announce.yaml does not exist or contains invalid configurations. Nothing will be displayed. Closing announcements is caller application responsibility
Examples
load_announcements(system.file("fw_templ/announce.yaml", package = "periscope2"))
#> [1] 30000