Skip to content

bedrock

0.1.20Package record

Base Functions for the 'DescToolsX' Ecosystem

0packages depend
366downloads / year
91.8%test coverage
13/13flavors OK

Overview

About

Provides the low level utilities on which the 'DescToolsX' ecosystem is built. Covered are data manipulation and reshaping, predicates for data inspection and validation, vector and string operations, handling of labels and metadata, and routines from number theory and combinatorics. All functions share a common naming and argument scheme and are implemented as S3 generics wherever several input types are meaningful, with performance critical parts written in C++. The package is self contained and can be used on its own, independently of the higher level packages of the suite.

Changes in 0.1.20
  • toBaseR() gains a method for data.table: key, secondary indices and the internal self-reference are dropped, and a deep copy is returned. haven_labelled columns are converted to factors, as for tibbles.
  • toBaseR() on tibbles no longer breaks up list and matrix columns.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.3 min · r-devel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK12 OK2026-10-05
  • ERROR4 OK, 2 ERROR2026-09-30
Advisories

none known

Documentation

In release 0.1.20
READMEYes · 537 wordsVignettesYes · 1 · staticNEWSYes · 100% structured · mentions 0.1.20Citation fileNoWebsiteYes · pkgdown
Help pages
136 (1 internal)
Examples that run
96%129 run in a plain check (2 of them under a condition) · 4 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run
Exported functions with examples
99%
Documented parameters
96%
Return-value docs
99%
Help pages citing references
4%
Vignettes (1)

Downloads

366
CRAN downloads in the past year
Rank #25,169 · ~1/day · ~31/mo
Daily download trend is not available in this view yet.
36630 days
36690 days
3661 year
Compare downloads with other packages →
Also on7 r2u15 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
0Releases
73Commits
1Commit identities
73 commits · Last activity 2026-10-16
Responsiveness
not measured

Commits over time

2026-10-04 · 712026-10-11 · 73
PracticesBeta

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

Checks run against github.com/andrisignorell/bedrock on 2026-10-11.

Continuous integration (1)
GitHub Actions
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-10-05 · The repository has a site deploy workflow

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing bedrock adds 30 packages (17 with compiled code, 17 MB of source tarballs). Heaviest: data.table 5.7 MB, readxl 2.1 MB, Rcpp 1.8 MB.

Depends (1)
R >= 4.4.0
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (20)
Author, Maintainer since 0.1.9 (2026)
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Show 11 more contributorsHide 11 contributors
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Releases (3)

Pick two releases to compare their code metrics.

  • 0.1.20Latest
    record
    2026-10-16 · current release · diff ↗ ·
    removed 1 export
    %](%") export("%][%") export("%^%") export("%overlaps%") export("label<-") export(GCD) export(LCM) export(abind) export(allDuplicated) export(allIdentical) export(appendEnum) export(appendRowNames) export(appendX) export(applySides) export(asBinary) export(asCDateFmt) export(asciiToChar) export(baseToBase) export(bin) export(binToDec) export(binaryTree) export(buildPath) export(callIf) export(charToAscii) export(checkConfLevel) export(checkCount) export(checkFlag) export(checkString) export(chr) export(closest) export(coalesceX) export(collapseTable) export(columnWrap) export(combLevels) export(combN) export(combPairs) export(combSet) export(compareDataFrames) export(completeColumns) export(conceptAudit) export(conceptMap) export(countCompCases) export(courseData) export(crossProd) export(crossProdN) export(dataDescription) export(decToBin) export(decToHex) export(decToOct) export(digitSum) export(distance) export(divisors) export(dotProd) export(dummy) export(extractArgs) export(factorize) export(fibonacci) export(fileExistURL) export(findDownload) export(flags) export(frac) export(funArgs) export(funCalls) export(funKeywords) export(funList) export(getConcepts) export(getDotsArg) export(hexToDec) export(int) export(isDichotomous) export(isEuclid) export(isFilePath) export(isLowCardinality) export(isNA) export(isNumeric) export(isOdd) export(isPrime) export(isURL) export(isWholeLike) export(isZero) export(keepAttr) export(label) export(linScale) export(locf) export(logit) export(logitInv) export(mGsub) export(mReplace) export(maxDec) export(mergeArgs) export(midx) export(moveAvg) export(multMerge) export(nDec) export(nUnique) export(naIf) export(naReplace) export(nchr) export(nf) export(num) export(nz) export(octToDec) export(openDataObject) export(overlap) export(overlaps) export(pairApply) export(parseSASDatalines) export(pdfManual) export(peekFile) export(percentRank) export(permn) export(prec) export(primes) export(printCharMatrix) export(ptInPoly) export(quot) export(rBetaShape) export(rSum21) export(randGroupSplit) export(rankX) export(rdLabels) export(rdTitle) export(readDownload) export(recodeX) export(recycle) export(removeAttr) export(renameX) export(resolveContingency) export(resolveFormula) export(resolveFormulaFromCall) export(resolveGroups) export(revCode) export(revX) export(romanToInt) export(roundTo) export(sampleX) export(setAttr) export(setLength) export(setNamesX) export(sortX) export(splitAt) export(splitPath) export(splitX) export(strSplitToCol) export(strSplitToDummy) export(strX) export(stringsAsFactors) export(toBaseR) export(toLong) export(toWide) export(trim) export(unirootAll) export(untable) export(unwhich) export(vRot) export(vShift) export(winsorize) export(withSeed) importFrom(Rcpp
    added 1 export
    %](%") export("%][%") export("%^%") export("%overlaps%") export("label<-") export(GCD) export(LCM) export(abind) export(allDuplicated) export(allIdentical) export(appendEnum) export(appendRowNames) export(appendX) export(applySides) export(asBinary) export(asCDateFmt) export(asciiToChar) export(auditNames) export(baseToBase) export(bin) export(binToDec) export(binaryTree) export(buildPath) export(callIf) export(charToAscii) export(checkConfLevel) export(checkCount) export(checkFlag) export(checkString) export(chr) export(closest) export(coalesceX) export(collapseTable) export(columnWrap) export(combLevels) export(combN) export(combPairs) export(combSet) export(compareDataFrames) export(completeColumns) export(conceptAudit) export(conceptMap) export(countCompCases) export(crossProd) export(crossProdN) export(dataDescription) export(decToBin) export(decToHex) export(decToOct) export(digitSum) export(distance) export(divisors) export(dotProd) export(dummy) export(extractArgs) export(factorize) export(fibonacci) export(findDownload) export(flags) export(frac) export(funArgs) export(funCalls) export(funKeywords) export(funList) export(getConcepts) export(getDotsArg) export(hexToDec) export(int) export(isDichotomous) export(isEuclid) export(isFilePath) export(isLowCardinality) export(isNA) export(isNumeric) export(isOdd) export(isPrime) export(isUrl) export(isWholeLike) export(isZero) export(keepAttr) export(label) export(linScale) export(locf) export(logit) export(logitInv) export(mGsub) export(mReplace) export(maxDec) export(mergeArgs) export(midx) export(moveAvg) export(multMerge) export(nDec) export(nUnique) export(naIf) export(naReplace) export(nchr) export(nf) export(num) export(nz) export(octToDec) export(openDataObject) export(overlapSize) export(overlaps) export(pairApply) export(parseSasDatalines) export(pdfManual) export(peekFile) export(percentRank) export(permn) export(prec) export(primes) export(printCharMatrix) export(ptInPoly) export(quot) export(rBetaShape) export(rSum21) export(randGroupSplit) export(rankX) export(rdLabels) export(rdTitle) export(readCourseData) export(readDownload) export(recodeX) export(recycle) export(removeAttr) export(renameX) export(resolveContingency) export(resolveFormula) export(resolveFormulaFromCall) export(resolveGroups) export(revCode) export(revX) export(romanToInt) export(roundTo) export(sampleX) export(setAttr) export(setLength) export(setNamesX) export(sortX) export(splitAt) export(splitPath) export(splitX) export(strSplitToCol) export(strSplitToDummy) export(strX) export(stringsAsFactors) export(toBaseR) export(toLong) export(toWide) export(trim) export(unirootAll) export(untable) export(unwhich) export(urlExists) export(vRot) export(vShift) export(winsorize) export(withSeed) importFrom(Rcpp
  • 0.1.16
    record
    2026-10-01 · diff ↗ ·
    removed 1 export
    %](%") export("%][%") export("%^%") export("%overlaps%") export("label<-") export(GCD) export(LCM) export(abind) export(allDuplicated) export(allIdentical) export(appendEnum) export(appendRowNames) export(appendX) export(applySides) export(asBinary) export(asCDateFmt) export(asciiToChar) export(baseToBase) export(bin) export(binToDec) export(binaryTree) export(buildPath) export(callIf) export(charToAscii) export(checkConfLevel) export(checkCount) export(checkFlag) export(checkString) export(chr) export(closest) export(coalesceX) export(collapseTable) export(columnWrap) export(combLevels) export(combN) export(combPairs) export(combSet) export(compareDataFrames) export(completeColumns) export(countCompCases) export(courseData) export(crossProd) export(crossProdN) export(dataDescription) export(decToBin) export(decToHex) export(decToOct) export(digitSum) export(distance) export(divisors) export(dotProd) export(dummy) export(extractArgs) export(factorize) export(fibonacci) export(fileExistURL) export(findDownload) export(flags) export(frac) export(funArgs) export(funCalls) export(funKeywords) export(funList) export(getDotsArg) export(hexToDec) export(int) export(isDichotomous) export(isEuclid) export(isFilePath) export(isLowCardinality) export(isNA) export(isNumeric) export(isOdd) export(isPrime) export(isURL) export(isWholeLike) export(isZero) export(keepAttr) export(label) export(linScale) export(locf) export(logit) export(logitInv) export(mGsub) export(mReplace) export(maxDec) export(mergeArgs) export(midx) export(moveAvg) export(multMerge) export(nDec) export(nUnique) export(naIf) export(naReplace) export(nchr) export(nf) export(num) export(nz) export(octToDec) export(openDataObject) export(overlap) export(overlaps) export(pairApply) export(parseSASDatalines) export(pdfManual) export(peekFile) export(percentRank) export(permn) export(prec) export(primes) export(printCharMatrix) export(ptInPoly) export(quot) export(rBetaShape) export(rSum21) export(randGroupSplit) export(rankX) export(rdLabels) export(rdTitle) export(readDownload) export(recodeX) export(recycle) export(removeAttr) export(renameX) export(resolveContingency) export(resolveFormula) export(resolveGroups) export(revCode) export(revX) export(romanToInt) export(roundTo) export(sampleX) export(setAttr) export(setLength) export(setNamesX) export(sortX) export(splitAt) export(splitPath) export(splitX) export(strSplitToCol) export(strSplitToDummy) export(strX) export(stringsAsFactors) export(toBaseR) export(toLong) export(toWide) export(trim) export(unirootAll) export(untable) export(unwhich) export(vRot) export(vShift) export(winsorize) export(withSeed) importFrom(Rcpp
    added 2 exports
    %](%") export("%][%") export("%^%") export("%overlaps%") export("label<-") export(GCD) export(LCM) export(abind) export(allDuplicated) export(allIdentical) export(appendEnum) export(appendRowNames) export(appendX) export(applySides) export(asBinary) export(asCDateFmt) export(asciiToChar) export(baseToBase) export(bin) export(binToDec) export(binaryTree) export(buildPath) export(callIf) export(charToAscii) export(checkConfLevel) export(checkCount) export(checkFlag) export(checkString) export(chr) export(closest) export(coalesceX) export(collapseTable) export(columnWrap) export(combLevels) export(combN) export(combPairs) export(combSet) export(compareDataFrames) export(completeColumns) export(conceptAudit) export(conceptMap) export(countCompCases) export(courseData) export(crossProd) export(crossProdN) export(dataDescription) export(decToBin) export(decToHex) export(decToOct) export(digitSum) export(distance) export(divisors) export(dotProd) export(dummy) export(extractArgs) export(factorize) export(fibonacci) export(fileExistURL) export(findDownload) export(flags) export(frac) export(funArgs) export(funCalls) export(funKeywords) export(funList) export(getConcepts) export(getDotsArg) export(hexToDec) export(int) export(isDichotomous) export(isEuclid) export(isFilePath) export(isLowCardinality) export(isNA) export(isNumeric) export(isOdd) export(isPrime) export(isURL) export(isWholeLike) export(isZero) export(keepAttr) export(label) export(linScale) export(locf) export(logit) export(logitInv) export(mGsub) export(mReplace) export(maxDec) export(mergeArgs) export(midx) export(moveAvg) export(multMerge) export(nDec) export(nUnique) export(naIf) export(naReplace) export(nchr) export(nf) export(num) export(nz) export(octToDec) export(openDataObject) export(overlap) export(overlaps) export(pairApply) export(parseSASDatalines) export(pdfManual) export(peekFile) export(percentRank) export(permn) export(prec) export(primes) export(printCharMatrix) export(ptInPoly) export(quot) export(rBetaShape) export(rSum21) export(randGroupSplit) export(rankX) export(rdLabels) export(rdTitle) export(readDownload) export(recodeX) export(recycle) export(removeAttr) export(renameX) export(resolveContingency) export(resolveFormula) export(resolveFormulaFromCall) export(resolveGroups) export(revCode) export(revX) export(romanToInt) export(roundTo) export(sampleX) export(setAttr) export(setLength) export(setNamesX) export(sortX) export(splitAt) export(splitPath) export(splitX) export(strSplitToCol) export(strSplitToDummy) export(strX) export(stringsAsFactors) export(toBaseR) export(toLong) export(toWide) export(trim) export(unirootAll) export(untable) export(unwhich) export(vRot) export(vShift) export(winsorize) export(withSeed) importFrom(Rcpp, ave
  • 0.1.9
    record
    2026-09-29
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-09-29
Total releases
3 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.4.0
Bundled data
26 KB / 4 files
Download size
747 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("bedrock")
Signorell, A., R Core Team, Borchers, H. W., Chessel, D., Cooper, N., Dray, S., Elff, M., Friendly, M., Leisch, F., Lumley, T., Maechler, M., Sabbe, N., Soetaert, K., Therneau, T., Ushey, K., VanDerWal, J., Venables, B., Warnes, G. R., Wollschlaeger, D., & Yee, T. W. (2026). bedrock: Base Functions for the 'DescToolsX' Ecosystem (Version 0.1.20) [Computer software]. https://doi.org/10.32614/CRAN.package.bedrock

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 bedrock version 0.1.20 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, 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