Easily output package citations and session information for reproducibility in research publications.
You can install the latest stable version from GitHub using the following command:
library(devtools)
install_github("colbyford/sourcerr")
library(sourcerr)
## Load in the libraries into the R session
library(tidyverse)
library(ggplot2)
library(glmnet)
library(doParallel)
## Cite all loaded packages
cite_packages(outfile = "../../Downloads/citations.bibtex",
format = "bibtex",
detaillevel = "loaded")