Changelog
Source:NEWS.md
shinyfilters 0.3.0
Additions
- Added functions used internally to access argument names needed by
filterInput()(#40): - Arguments can now be passed to generics used in
args_filter_input()(#24, #56): - Implementations of
args_update_filter_input()can now return a value forinputId(or equivalent) ([#87])
Bugfixes
- Use
anyNA()for NA checks andinherits()for class checks, perjarl check .(@novica) - The error message now displays for invalid S7 list dispatches
- An error is now thrown when an implementation of
args_filter_input()returns a completely unnamed list -
updateFilterInput()now works when passingselected(or equivalent) as an argument -
selectedargument (or equivalent) is now always removed from the result ofargs_update_filter_input()(#90)
Performance
- Unnecessarily repeated calls to
apply_filters()were removed inserverFilterInput()(#92)
Documentation:
- All examples now correctly use
inputId(#17) - All outputs now display in
get_input_values()example (#18) - Borders have been removed in examples (#7)
- Hyperlinks added for all issues in NEWS (#26)
- Updated package title to be more precise (#22)
- Updated filterInput() description in README to match new title
shinyfilters 0.2.0
CRAN release: 2025-12-17
Additions:
-
get_input_values(): Generic to return multiple values from a shiny input object (#10, #5) -
get_input_ids(): Generic to return the names of the shiny input ids for an arbitrary objectx. Method provided for data.frames (#12) -
get_input_labels(): Same asget_input_ids(), but returns thelabelinstead ofinputId(#10).
Bugfixes
-
get_input_values()has been re-added; its erroneous removal was causing an error inserverFilterInput()(#10, #5).
Documentation:
-
args_update_filter_input()has been removed from the README’s list of extensible functions. - Renames air.yaml Github Action job: “pkgdown” –> “air”
- Adds to README instructions on installing release version
shinyfilters 0.1.0
CRAN release: 2025-12-17
Initial release of shinyfilters.
The package provides the following functions:
-
filterInput(): Create a shiny input from a vector or data.frame, with support for extension -
updateFilterInput(): Update a filter input created byfilterInput() -
serverFilterInput(): Server logic to update filter inputs for data.frames -
apply_filters(): Apply a list of filters to a data.frame -
args_filter_input(),args_update_filter_input(): Get default args forfilterInput()andupdateFilterInput(). -
call_filter_input(),call_update_filter_input(): Create calls tofilterInput()andupdateFilterInput(). -
get_filter_logical(): Compute a logical vector for filtering a data.frame column