Base Functions for the 'DescToolsX' Ecosystem
Overview
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.
toBaseR()gains a method fordata.table: key, secondary indices and the internal self-reference are dropped, and a deep copy is returned.haven_labelledcolumns 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
- OK13 OKNow
- OK12 OK2026-10-05
- ERROR4 OK, 2 ERROR2026-09-30
Documentation
- 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%
- Combinatorics PDF
Downloads
Repository
Commits over time
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.
GitHub Pages site last deployed 2026-10-05 · The repository has a site deploy workflow
Dependencies
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.
Code & Tests
Datasets
People & History
Show 11 more contributorsHide 11 contributors
Pick two releases to compare their code metrics.
- 0.1.20Latest2026-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(Rcppadded 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.162026-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(Rcppadded 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.92026-09-29
- RR 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")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.
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.