Package: interfacer 0.3.2
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.3.2.tar.gz
interfacer_0.3.2.zip(r-4.5)interfacer_0.3.2.zip(r-4.4)interfacer_0.3.2.zip(r-4.3)
interfacer_0.3.2.tgz(r-4.4-any)interfacer_0.3.2.tgz(r-4.3-any)
interfacer_0.3.2.tar.gz(r-4.5-noble)interfacer_0.3.2.tar.gz(r-4.4-noble)
interfacer_0.3.2.tgz(r-4.4-emscripten)interfacer_0.3.2.tgz(r-4.3-emscripten)
interfacer.pdf |interfacer.html✨
interfacer/json (API)
NEWS
# Install 'interfacer' in R: |
install.packages('interfacer', repos = c('https://bristol-vaccine-centre.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/bristol-vaccine-centre/interfacer/issues
Last updated 9 days agofrom:63075fa1fb (on 0.3.2). Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 14 2024 |
R-4.5-win | OK | Nov 14 2024 |
R-4.5-linux | OK | Nov 14 2024 |
R-4.4-win | OK | Nov 14 2024 |
R-4.4-mac | OK | Nov 14 2024 |
R-4.3-win | OK | Nov 14 2024 |
R-4.3-mac | OK | Nov 14 2024 |
Exports:%>%check_charactercheck_consistentcheck_datecheck_integercheck_logicalcheck_numericcheck_singleiclipiconvertidispatchidocumentif_col_presentifaceigroup_processimapperiprotoireturnis_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:brewcallrclicommonmarkcpp11descdigestdplyrevaluatefansiforcatsfsgenericsgluehighrknitrlifecyclemagrittrpillarpkgbuildpkgconfigpkgloadprocessxpspurrrR6rlangroxygen2rprojrootstringistringrtibbletidyselectutf8vctrswithrxfunxml2yaml
Dataframe validation
Rendered frominterfacer.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2024-07-26
Started: 2023-07-18
Multiple dispatch based on dataframes
Rendered fromdispatch.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2024-11-07
Started: 2024-07-24
Nested dataframes and purrr style list columns
Rendered fromnesting.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2024-07-24
Started: 2024-07-24
Parameter consistency checking with interfacer
Rendered fromconsistency.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2024-11-07
Started: 2024-11-07
Tools to work with interfacer
Rendered fromdevtools.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2024-07-26
Started: 2024-07-24