Richard Cotton

Richard Cotton

36 packages on CRAN

1 packages on Bioconductor

assertive

cran
99.99th

Percentile

Lots of predicates (is_* functions) to check the state of your variables, and assertions (assert_* functions) to throw errors if they aren't in the right form.

99.99th

Percentile

A minimal set of predicates and assertions used by the assertive package. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of code. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of (country independent) complex data types. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of UK-specific complex data types. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of US-specific complex data types. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of dates and times. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of files and connections. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of matrices. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of models. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of numbers. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of variables, such as length, names and attributes. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the state and capabilities of R, the operating system it is running on, and the IDE being used. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of sets. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the properties of strings. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

99.99th

Percentile

A set of predicates and assertions for checking the types of variables. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

learningr

cran
99.99th

Percentile

Crabs in the English channel, deer skulls, English monarchs, half-caste Manga characters, Jamaican cities, Shakespeare's The Tempest, drugged up cyclists and sexually transmitted diseases.

listless

cran
99.99th

Percentile

A lightweight utility for converting lists to tidy data frames.

99.99th

Percentile

Utilities for paths, files and directories.

poio

cran
99.99th

Percentile

Read and write PO and POT files, for package translations.

rebus

cran
99.99th

Percentile

Build regular expressions piece by piece using human readable code. This package is designed for interactive use. For package development, use the rebus.* dependencies.

rebus.base

cran
99.99th

Percentile

Build regular expressions piece by piece using human readable code. This package contains core functionality, and is primarily intended to be used by package developers.

99.99th

Percentile

Build regular expressions piece by piece using human readable code. This package contains date and time functionality, and is primarily intended to be used by package developers.

99.99th

Percentile

Build regular expressions piece by piece using human readable code. This package contains number-related functionality, and is primarily intended to be used by package developers.

99.99th

Percentile

Build regular expressions piece by piece using human readable code. This package contains Unicode functionality, and is primarily intended to be used by package developers.

99.99th

Percentile

Automatically convert a file or package worth of 'RUnit' test functions into 'testthat' tests.

setter

cran
99.99th

Percentile

Mutators to set attributes of variables, that work well in a pipe (much like stats::setNames()).

sig

cran
99.99th

Percentile

Print function signatures and find overly complicated code.

datasauRus

cran
99.99th

Percentile

The Datasaurus Dozen is a set of datasets with the same summary statistics. They retain the same summary statistics despite having radically different distributions. The datasets represent a larger and quirkier object lesson that is typically taught via Anscombe's Quartet (available in the 'datasets' package). Anscombe's Quartet contains four very different distributions with the same summary statistics and as such highlights the value of visualisation in understanding data, over and above summary statistics. As well as being an engaging variant on the Quartet, the data is generated in a novel way. The simulated annealing process used to derive datasets from the original Datasaurus is detailed in "Same Stats, Different Graphs: Generating Datasets with Varied Appearance and Identical Statistics through Simulated Annealing" <doi:10.1145/3025453.3025912>.

DYM

cran
99.99th

Percentile

Add a "Did You Mean" feature to the R interactive. With this package, error messages for misspelled input of variable names or package names suggest what you really want to do in addition to notification of the mistake.

fancycut

cran
99.99th

Percentile

Provides the function fancycut() which is like cut() except you can mix left open and right open intervals with point values, intervals that are closed on both ends and intervals that are open on both ends.

flippant

cran
99.99th

Percentile

The lipid scrambling activity of protein extracts and purified scramblases is often determined using a fluorescence-based assay involving many manual steps. flippant offers an integrated solution for the analysis and publication-grade graphical presentation of dithionite scramblase assays, as well as a platform for review, dissemination and extension of the strategies it employs. The package's name derives from a play on the fact that lipid scrambling is also sometimes referred to as 'flipping'.

knitr

cran
99.99th

Percentile

Provides a general-purpose tool for dynamic report generation in R using Literate Programming techniques.

99.99th

Percentile

Tools to create a layout for figures made of multiple panels, and to fill the panels with base, 'lattice', 'ggplot2' and 'ComplexHeatmap' plots, grobs, as well as content from all image formats supported by 'ImageMagick' (accessed through 'magick').

99.99th

Percentile

Edge-corrected kernel density estimation and binary kernel regression estimation for multivariate spatial point process data. For details, see Diggle, P.J., Zheng, P. and Durr, P. A. (2005) <doi:10.1111/j.1467-9876.2005.05373.x>.

MSnbase

bioconductor
99.99th

Percentile

Basic plotting, data manipulation and processing of MS-based Proteomics data.

withr

cran
99.99th

Percentile

A set of functions to run code 'with' safely and temporarily modified global state. Many of these functions were originally a part of the 'devtools' package, this provides a simple package with limited dependencies to provide access to these functions.