Package: interfacer 0.4.0
interfacer: Define and Enforce Contracts for Dataframes as Function Parameters
A dataframe validation framework for package builders who use dataframes as function parameters. It performs checks on column names, coerces data-types, and checks grouping to make sure user inputs conform to a specification provided by the package author. It provides a mechanism for package authors to automatically document supported dataframe inputs and selectively dispatch to functions depending on the format of a dataframe much like S3 does for classes. It also contains some developer tools to make working with and documenting dataframe specifications easier. It helps package developers to improve their documentation and simplifies parameter validation where dataframes are used as function parameters.
Authors:
interfacer_0.4.0.tar.gz
interfacer_0.4.0.zip(r-4.7)interfacer_0.4.0.zip(r-4.6)interfacer_0.4.0.zip(r-4.5)
interfacer_0.4.0.tgz(r-4.6-any)interfacer_0.4.0.tgz(r-4.5-any)
interfacer_0.4.0.tar.gz(r-4.7-any)interfacer_0.4.0.tar.gz(r-4.6-any)
interfacer_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
interfacer/json (API)
NEWS
| # Install 'interfacer' in R: |
| install.packages('interfacer', repos = c('https://ai4ci.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ai4ci/interfacer/issues
Pkgdown/docs site:https://ai4ci.github.io
Last updated from:c746b4ede8 (on 0.4.0). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 154 | ||
| source / vignettes | OK | 214 | ||
| linux-release-x86_64 | OK | 152 | ||
| macos-release-arm64 | OK | 96 | ||
| macos-oldrel-arm64 | OK | 88 | ||
| windows-devel | OK | 97 | ||
| windows-release | OK | 107 | ||
| windows-oldrel | OK | 139 | ||
| wasm-release | OK | 127 |
Exports:%>%check_charactercheck_consistentcheck_datecheck_integercheck_logicalcheck_numericcheck_singledemo_idispatchget_ifaceiclipiconvertidispatchidocumentif_col_presentifaceigroup_processimapperimissingiprotoireturnis_col_presentis.ifaceitestivalidaterecycleresolve_missingswitch_pipelinetype.anythingtype.charactertype.completetype.datetype.defaulttype.doubletype.enumtype.factortype.finitetype.group_uniquetype.in_rangetype.integertype.logicaltype.not_missingtype.numerictype.of_typetype.positive_doubletype.positive_integertype.proportiontype.unique_iduse_dataframeuse_iface
Dependencies:brewcallrclicommonmarkcpp11crayondescdplyrevaluateforcatsfsgenericsgluehighrknitrlifecyclelobstrmagrittrpillarpkgbuildpkgconfigpkgloadprettyunitsprocessxpspurrrR6rlangroxygen2rprojrootstringistringrtibbletidyselectutf8vctrswithrxfunxml2yaml
Dataframe validation
Rendered frominterfacer.Rmdusingknitr::rmarkdownon May 10 2026.Last update: 2025-06-24
Started: 2023-07-18
Multiple dispatch based on dataframes
Rendered fromdispatch.Rmdusingknitr::rmarkdownon May 10 2026.Last update: 2025-07-31
Started: 2024-07-24
Nested dataframes and purrr style list columns
Rendered fromnesting.Rmdusingknitr::rmarkdownon May 10 2026.Last update: 2024-07-24
Started: 2024-07-24
Parameter consistency checking with interfacer
Rendered fromconsistency.Rmdusingknitr::rmarkdownon May 10 2026.Last update: 2024-11-07
Started: 2024-11-07
Tools to work with interfacer
Rendered fromdevtools.Rmdusingknitr::rmarkdownon May 10 2026.Last update: 2025-06-24
Started: 2024-07-24
