interfacer
Define and Enforce Contracts for Dataframes as Function Parameters
Description
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.
Downloads
218
Last 30 days
20401st
704
Last 90 days
2.9K
Last year
Trend: +36.3% (30d vs prior 30d)
10
Last 30 days
25
Last 90 days
120
Last year
Trend: -33.3% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 7, 2026
S3 generic/method consistency
Warning in file(open = "w+") : cannot open file '/tmp/RtmpfdVT2Y/Rf3420d19d3cd78': No space left on device Error in file(open = "w+") : cannot open the connection Calls: <Anonymous> -> .load_namespace_quietly -> .try_quietly -> file Execution halted See section ‘Generic functions and methods’ in the ‘Writing R Extensions’ manual.