hrbrmiscpp : R C/C++ mish-mash of stuff for hrbrmstr

A place for some C/C++-backed R functions until they find a better home.

The following functions are implemented:

The following data sets are included:

Installation

devtools::install_github("hrbrmstr/hrbrmiscpp")
options(width=120)

Usage

library(hrbrmiscpp)

# current verison
packageVersion("hrbrmiscpp")

setdiff(sdbm_hash(state.name), sdbm_hash(state.name))

setdiff(djb2_hash(state.name), djb2_hash(state.name))

line_count(system.file("extdata", "lines.csv", package = "hrbrmiscpp"))

Test Results

library(hrbrmiscpp)
library(testthat)

date()

test_dir("tests/")


hrbrmstr/hrbrmiscpp documentation built on May 17, 2019, 5:08 p.m.