Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
R
inst
.Rbuildignore
.Rhistory
.gitignore
DESCRIPTION
NAMESPACE
README.Rmd
README.md
examples.Rproj

README.md

examples

This package provides some functions to support the “Hacking RStudio” workshop given during useR! 2019.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("ColinFay/user2019workshop", subdir = "examples")

Part 1

addins.dcf

Part 2

Snippets are at inst/snippets.txt

  • Create a FALSE snippet that inserts TRUE and vice-versa Create a ggplot skeleton snippet

  • a snippet that inserts a list of library()

  • Create a snippet that add a random {cowsay} to your script

Theme is at inst/colin.rstheme, based on “Subway_ Paris (dark).tmTheme” from https://tmtheme-editor.herokuapp.com/#!/editor/theme/Paris%20(dark)

Things added starts at line 768

rstudioapi::addTheme("inst/colin_theme.rstheme", apply = TRUE, force = TRUE)

This theme:

  • Add a background image to RStudio

  • Change some colors from RStudio

Part 3

RMarkdown template for twitter scrapping inst/rmarkdown/templates/rtweet/

You can’t perform that action at this time.