README.md

{backtick}

Project Status: Concept – Minimal or no implementation has been done yet, or the repository is only intended to be a limited example, demo, or proof-of-concept. R-CMD-check Blog
post

Is the backtick key, `, missing from your keyboard? Has it been mapped for use by other software? Scratch your backtick itch with {backtick}.

{backtick} is a very tiny R package containing functions that insert backticks into R scripts and R Markdown documents. It's intended for use as an RStudio Addin.

Install with:

install.packages("remotes")  # if not yet installed
remotes::install_github("matt-dray/backtick")

On restart, the functions will be available to you from the RStudio Addins menu. You could also set them to keyboard shortcuts.

With these functions you can:

This gif shows each one in action:

Gif of RStudio script pane. An RStudio addin called backtick is being used to insert a single backtick, surround selected text with bacticks, surround selected text with backticks as inline R code, and surround selected text with an R code chunk.

Leave an issue or provide a PR for suggestions or additions.



matt-dray/backtick documentation built on March 27, 2022, 4:29 p.m.