Skip to content

sanitizers

0.1.2Package record

C/C++ Source Code to Trigger Address and Undefined Behaviour Sanitizers

0packages depend
2.3Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About

Recent gcc and clang compiler versions provide functionality to test for memory violations and other undefined behaviour; this is often referred to as "Address Sanitizer" (or 'ASAN') and "Undefined Behaviour Sanitizer" ('UBSAN'). The Writing R Extension manual describes this in some detail in Section 4.3 title "Checking Memory Access". This feature has to be enabled in the corresponding binary, eg in R, which is somewhat involved as it also required a current compiler toolchain which is not yet widely available, or in the case of Windows, not available at all (via the common Rtools mechanism). As an alternative, pre-built Docker containers such as the Rocker container 'r-devel-san' or the multi-purpose container 'r-debug' can be used. This package then provides a means of testing the compiler setup as the known code failures provides in the sample code here should be detected correctly, whereas a default build of R will let the package pass. The code samples are based on the examples from the Address Sanitizer Wiki at https://github.com/google/sanitizers/wiki.

Changes in 0.1.2
  • Expanded README.md with additional badges, and updated URLs
  • Updated continuous integration multiple times
  • Switched to Authors@R
  • Added usage, arguments and value sections to manual page

From inst/NEWS.Rd in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.9 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-16
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.2
READMEYes · 286 wordsVignettesNoNEWSYes · mentions 0.1.2Citation fileNoWebsiteYes
Help pages
1includes a package overview page
Examples that run
no examples
Exported functions with examples
0%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.3K
CRAN downloads in the past year
Rank #20,039 · ~6/day · ~194/mo
Daily download trend is not available in this view yet.
34330 days
64890 days
2.3K1 year
Compare downloads with other packages →
Also on360 r2u4 autocran

Repository

13Stars
0Forks
0Open issues
0Open PRs
0Releases
32Commits
1Commit identities
32 commits · Last activity 2026-09-12
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
not measured

Commits over time

2026-07-19 · 302026-09-15 · 32
PracticesBeta

2 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/eddelbuettel/sanitizers on 2026-10-11.

Continuous integration (1)
GitHub Actions
Governance and community (1)

The repository owner accepts GitHub Sponsors

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing sanitizers adds no packages beyond those that come with R.

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2014)
Releases (3)

Pick two releases to compare their code metrics.

  • 0.1.2Latest
    record
    2026-09-12 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.1
    record
    2023-06-11 · diff ↗ ·
    removed 1 export
    pattern:^[[:alpha:]]+
    added 3 exports
    stackAddressSanitize, heapAddressSanitize, intOverflowSanitize
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 0.1.0
    record
    2014-08-03
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-08-03
Total releases
3 / 12 yrs
License
GPL (>= 2) OSI
Download size
11 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sanitizers")
Eddelbuettel, D. (2026). sanitizers: C/C++ Source Code to Trigger Address and Undefined Behaviour Sanitizers (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.sanitizers

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sanitizers version 0.1.2 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy