Lifecycle:
experimental R build
status

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%",
  eval = FALSE
)

touchstone

{touchstone} is a developer tool for continuous benchmarking with a focus on reliable relative measurement, uncertainty reporting and user convenience. The results are directly reported as a comment in GitHub Pull Requests.

Installation

You can install the package from CRAN:

install.packages("touchstone")

And the development version from GitHub{target="_blank"} with:

# install.packages("devtools")
devtools::install_github("lorenzwalthert/touchstone")

Getting Started

You can start using {touchstone} in your package repository with:

touchstone::use_touchstone()

For a detailed explanation on how to configure and use {touchstone} see the "Using touchstone" vignette.

Motivation

The motivation for touchstone is to provide accurate benchmarking results for package developers. The following insights were the motivation:

Conceptual

For your PR branch and the target branch, {touchstone} will:

Once done with the measurements, it will

Status

This package is experimental. You can see an example usage in {styler}.



lorenzwalthert/touchstone documentation built on April 20, 2024, 9:57 a.m.