Skip to content

Commit

Permalink
Add donate links. (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthegeek authored Sep 19, 2023
1 parent 7c6b383 commit 52b15bb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions r4ds-helpers-mastodon.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ set_toot_content <- function(tt_toot_jon) {
"It's #TidyTuesday y'all! Show us what you made on our Slack at https://r4ds.io/join (find the #chat-tidytuesday channel)!",
"RT @jonthegeek {tt_toot_jon$url}",
"{tt_toot_jon$content}",
"Please consider a tax-deductible donation at https://r4ds.io/donate to support our work!",
.sep = "\n\n"
)

Expand All @@ -80,6 +81,7 @@ set_toot_content <- function(tt_toot_jon) {
"It's #TidyTuesday y'all! Show us what you made on our Slack at https://r4ds.io/join (find the #chat-tidytuesday channel)!",
"RT @jonthegeek {tt_toot_jon$url}",
"#RStats #DataViz #PyData #tidyverse #r4ds",
"Please consider a tax-deductible donation at https://r4ds.io/donate to support our work!",
.sep = "\n\n"
)
}
Expand Down
7 changes: 6 additions & 1 deletion runner-shared.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if (week_num == 1) {
"{emoji::emoji('index pointing at the viewer')} Personal metadata (TV shows watched, music listened, #RStats written, etc)",
"{emoji::emoji('question')} Whatever else you want to use!",
"\n#r4ds #tidyverse #DataViz",
"\nPlease consider a tax-deductible donation at https://r4ds.io/donate to support our work!",
.sep = "\n"
)
img_paths <- NULL
Expand Down Expand Up @@ -73,7 +74,11 @@ if (week_num == 1) {
" We're exploring {data_title}!\n\n",
"{emoji::emoji('folder')} https://tidytues.day/{week_year}/{week_date}"
)
status_msg_end <- "\n\n#RStats #DataViz #PyData #tidyverse #r4ds"
status_msg_end <- paste(
"\n\n#RStats #DataViz #PyData #tidyverse #r4ds",
"Please consider a tax-deductible donation at https://r4ds.io/donate to support our work!",
sep = "\n"
)

if (length(post_vars)) {
long_msg <- glue::glue(
Expand Down

0 comments on commit 52b15bb

Please sign in to comment.