Learn R Programming

dpkg

Description: Data frame, tibble, or tbl objects are converted to data package objects using specific metadata labels (name, version, title, homepage, description). A data package object (dpkg) can be written to disk as a 'parquet' file or released to a 'GitHub' repository. Data package objects can be read into R from online repositories and downloaded files are cached locally across R sessions.

Installation

Install the released version of dpkg from CRAN with:

install.packages("dpkg")

You can install the development version of dpkg from GitHub with:

# install.packages("devtools")
devtools::install_github("cole-brokamp/dpkg")

Copy Link

Version

Install

install.packages('dpkg')

Monthly Downloads

301

Version

0.6.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Cole Brokamp

Last Published

January 23rd, 2026

Functions in dpkg (0.6.2)

stow_gh_release

download a github release asset to the stow R user directory
as_dpkg

Use a data.frame and metadata to create a data package
stow_info

get info about stowed files
read_dpkg_metadata

read (meta)data from dpkg on disk
dpkg_gh_release

Use a dpkg to create a github release
write_dpkg

write dpkg to disk
dpkg_meta

get the metadata associated with a data package
use_dpkg_badge

Use a markdown badge for a dpkg's latest github release
get_gh_token

get github token from GITHUB_PAT environment variable or use bundled token if unset