Skip to contents

Creates draft posts for Mastodon and LinkedIn (by opening issues on rosadmin/scheduled_socials) and Slack (by printing the post text and schedule).

Usage

cw_socials(
  date,
  who_masto,
  who_slack,
  who_linkedin,
  who_main_masto = "@steffilazerte@fosstodon.org",
  who_main_slack = "@Steffi LaZerte",
  who_main_linkedin = "Steffi LaZerte",
  posters_tz = "America/Winnipeg",
  dry_run = FALSE
)

Arguments

date

Character/Date. Date of the coworking event (local)

who_masto

Character. The full mastodon handle for the cohost (i.e. XXXX@XXXX.com)

who_slack

Character. The full Slack handle for the cohost (i.e. @XXXX)

who_linkedin

Character. The full LinkedIn handle for the cohost (i.e. @XXXX)

who_main_masto

Character. The full mastodon handle for the rOpenSci staff organizer.

who_main_slack

Character. The full Slack handle for the rOpenSci staff organizer.

who_main_linkedin

Character. The full LinkedIn handle for the rOpenSci staff organizer.

posters_tz

Character. Timezone of poster. Required for getting the time at which to post Slack messages as these are posted in the local timezone

dry_run

Logical. Whether to do a dry run (i.e. don't post)

Examples


if (FALSE) { # \dontrun{
cw_socials("2023-07-04", who_masto = "@cohost@mastodon.org", who_slack = "@cohost")
} # }