knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
tRavis is a small R package which contains functions and data that are used regularly in my day-to-day workflows. It also provides an opportunity to practice creating, documenting, and maintaining code, within the framework of an R package and the recommended guidelines.
You can install tRavis from GitHub with:
# install.packages("devtools") devtools::install_github("travis-m-blimkie/tRavis")
library(tRavis) # Quickly compare two lists: tr_compare_lists(c(1, 2, 3, 4), c(3, 4, 5, 6), names = c("A", "B")) # Create a named list of files: tr_get_files( directory = system.file("extdata", package = "tRavis"), pattern = "test", date = TRUE, remove_string = "test_" ) # Neatly truncate strings: tr_trunc_neatly( x = "This is a long string that we want to break neatly", l = 40 )
This package makes use of SemVer.
Travis Blimkie is the originator and principal contributor. You can check the list of all contributors here.
This project is written under the MIT license, available here.
Thanks to everyone in the lab who has used these functions and provided ideas/feedback!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.