muttest
muttest is an R package for mutation testing: it makes selected changes to code and runs tests to see which changes the test suite catches.
What muttest is
muttest is an R package for mutation testing: it makes selected changes to code and runs tests to see which changes the test suite catches. Its mutation score gives the percentage of mutations caught, helping identify weak assertions. Users can choose which changes to apply and where, with mutators for operators, boolean and NA or NULL values, function calls, strings, numbers, indexes, conditions, negation, and return values. Presets group common changes such as arithmetic, comparison, logical, numeric, string, and condition mutations. The package’s examples use testthat and show comparison changes for exposing untested boundary cases. Reports are available in HTML and JSON, with feedback on files that may need stronger assertions. Documentation links a guide for running checks in CI, including GitHub Actions, score badges, and thresholds. A July 2026 update describes parallel execution. muttest is free, licensed under MIT plus a LICENSE file, and supports Linux, macOS, and Windows. The CRAN listing states that it requires R version 4.1.0 or later.
Good
- Reports a percentage mutation score.
- Offers HTML and JSON reports.
- Can run in CI with score badges and thresholds.
- Supports parallel execution.
Watch out
- Requires R version 4.1.0 or later.
- The documented test framework includes testthat.
Who it suits
muttest suits R developers who want to check whether their tests catch representative code changes. It may also help review suites generated with LLMs, a use case described by the project.
Verdict
muttest helps assess the strength of an R test suite by showing which code mutations pass undetected. Its configurable mutators, reports, and CI guidance give developers several ways to use the results.
The facts
Each one read from muttest's own pages, with the date it was checked.
What it does
- CI
- The documentation index links a guide to running muttest in CI, including GitHub Actions and score badges.checked 3 Oct 2026
- Configurable mutations
- Users choose what code changes to make and where to make them.checked 3 Oct 2026
- File feedback
- The tool reports which files need stronger assertions.checked 4 Oct 2026
- HTML report
- The package documentation lists a CI vignette describing how to run mutation tests on every push, add a score badge, and enforce thresholds.checked 4 Oct 2026
- Install
- The package page provides an R install.packages command using the maker’s r-universe repository and CRAN.checked 3 Oct 2026
- Intended users
- The project describes mutation testing as a way to find weak assertions in test suites, including suites generated with LLMs.checked 4 Oct 2026
- License
- The package is licensed under MIT plus a LICENSE file.checked 4 Oct 2026
- Maintainer
- The CRAN package listing names Jakub Sobolewski as author and maintainer.checked 4 Oct 2026
- Mutation examples
- The maker’s examples include changing comparison operators to expose untested boundary cases.checked 3 Oct 2026
- Mutation score
- The mutation score is the percentage of mutants killed or errored among killed, survived, and errored mutants; mutants with no test coverage are excluded.checked 4 Oct 2026
- Mutators
- Available mutators include operator, boolean, NA or NULL, function-call, string, numeric, index, condition, negation, and return-value changes.checked 4 Oct 2026
- Package type
- muttest is an R package for mutation testing.checked 4 Oct 2026
- Parallel execution
- The maker’s July 2026 update describes parallel execution as a muttest capability.checked 3 Oct 2026
- Preset mutators
- Preset collections cover arithmetic, comparison, logical, boolean, NA, numeric, index, string, and condition mutations.checked 4 Oct 2026
- Purpose
- muttest measures test quality by applying small changes to code and checking whether the test suite catches them.checked 4 Oct 2026
- Release
- The CRAN listing shows version 0.3.0, published July 21, 2026.checked 4 Oct 2026
- Reporting
- The package includes HTML and JSON reporting.checked 3 Oct 2026
- Requirements
- The documentation index lists testthat among muttest’s dependencies.checked 3 Oct 2026
- R test workflow
- The maker describes muttest as mutation testing for R and shows tests under the testthat framework.checked 3 Oct 2026
- Runtime requirement
- The CRAN package listing states that muttest depends on R version 4.1.0 or later.checked 4 Oct 2026
The company
- Maker
- The maker identifies himself as Jakub Sobolewski, a software engineer specializing in R and Shiny.checked 3 Oct 2026
Where it runs
- Supported build platforms
- The package page lists successful checks for Linux, macOS, Windows, and WebAssembly targets.checked 3 Oct 2026
Alternatives to muttest
- 1
Mutatest
Free planOpen sourceAPILinuxmacOSSelf-hosted7.2Free plan - 2

ArcMutate
Free planLinuxmacOSSelf-hostedWindows6.7From $8 a month - 3
Mutant
Free planLinuxmacOS6.7From $250 a year - 4
MuJava
Free planLinuxmacOSWindows6.3Free plan - 5
pymute
Free planLinux6.3Free plan - 6
go-mutesting
Free planLinuxSelf-hosted6.2Free plan
