knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Write TODOs in Code That Ensure You Actually Do Them
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("edavidaja/todoordie")
Use the functions directly:
todoordie::after_date("2021-01-21", "fix after conf 2021")
todoordie::issue_closed("tidyverse/dtplyr#154", "rewrite once dtplyr supports across()")
todoordie::cran_version("plumber", "1.0.0", "no 0.* in production")
If you'd prefer for them to live in your function documentation, you can also use them as roxgyen tags:
#' sketchy function #' #' @todoordie after_date 2012-12-21 if we're not all dead make this less sketchy sketchy <- function() {}
expired todos should produce errors when you run devtools::document()
.
Ruby
Rust
Python
Elixir
Typescript
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.