Changelog
helpr 0.0.3
Breaking changes
create_form()now takes the features in...in place of thefeaturesargument. You must now namecollapse. Replacecreate_form("y", feats, "*")withcreate_form("y", feats, collapse = "*"), and removefeatures =from your calls.cross_tab()now takes only unquoted column names in..., and gives an error for quoted strings or variables that hold column names. Replacecross_tab(df, "cyl")withcross_tab(df, cyl). The first argument is nowdatain place ofx.
Minor improvements and fixes
-
create_form()now takes one or more features in..., for examplecreate_form("y", "a", "b"). A character vector, as increate_form("y", c("a", "b")), also works. -
cross_tab()now takes only unquoted column names in..., and its first argument is nowdata.
helpr 0.0.2
Fixes
- Fixed clobbering pkg functions with indexing objects
- doubled up on things like
is_dblwhich is bad form - just renamed the indexing vectors not to double use the functions with the same name
- not necessary, R is smart, but was ugly
- doubled up on things like
Maintenance
- Added a namespace test in ‘inst’
- simple script to ensure that namespaces are kept low (or to a minimum)
- usage:
Rscript --vanilla inst/test-ns.R
- Improvements to
enrich_test()- general simplifications
- separate out into S3 methods:
matrix,list, anddata.frame - gets a new print method and new unit tests
- the alternative param is now simply passed direction to
fisher.test()via the new...which allows further extensibility - simplifies internal logic and params
- user is asked to consult
fisher.test()for further information
Added
New unit testing helpers
-
New
jagged_tbl()function- new function from old code base which is useful here
- adds tibble package so not sure if I want to keep the dependency
-
New
file_find()wrapper- documented in filesystem docs
- thin wrapper around
ls_dir()
-
New function
write_latex_tbl()- from old code but good one to have in the back pocket
-
New
piter()function- analogue for
purrr::pmap()allowing for extensible list iteration - allows for
~formulasyntax - also added
~formulasyntax forliter()also
- analogue for