Learn R Programming

amregtest

The goal of amregtest is used to verify backwards compatibility while developing the R package allelematch from https://github.com/cran/allelematch

amregtest is a set of R scripts and data files that contain test input and expected output.

Installation

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

# install.packages("devtools")
devtools::install_github("torstax/amregtest")

Example

# The installed version of 'allelematch' 
# will be tested by the installed version of 'amregtest':
library(allelematch)
library(amregtest)

# The testing is done by function 'artRun()'. 
# See the help in RStudio:
?artRun

Copy Link

Version

Install

install.packages('amregtest')

Monthly Downloads

182

Version

1.0.5

License

MIT + file LICENSE

Maintainer

Torvald Staxler

Last Published

September 2nd, 2025

Functions in amregtest (1.0.5)

amregtest

Package Overview
amExample1

Example 1 High quality data set
artList

Lists available tests in amregtest without running them
artRun

Runs the regression test
artVersion

Returns package version
amExample3

Example 3 Marginal quality data set
amExample5

Example 5 Wildlife data set
artData

Example data used by amregtest
amregtest-package

amregtest: Runs Allelematch Regression Tests
ggSample

Data sets originating from GG work
amExample4

Example 4 Low quality data set
amExample2

Example 2 Good quality data set