Maxime Wack
63a36fbba4
CRAN submission fixes
- change "≤ 0.01" to "< 0.01" and rebuild all doc
- remove LazyData (no data)
- add CRAN-SUBMISSION
- update cran-comments.md
2 years ago
Maxime Wack
8538fda469
Import !!! to splice lists in desc_table
2 years ago
Maxime Wack
5dfc92bdac
Update documentation
- update documentation for new API
- add keywords, seealso and family desc_table
- update roxygen
2 years ago
Maxime Wack
2870a15c14
Make tests_auto less opinionated
2 years ago
Maxime Wack
92f403665a
Make stats_auto less opinionated
- Use N and % for factors
- Use N, min, Q1, med, mean, Q3, max, sd, IQR for numerics
- deprecate other stats_* functions
2 years ago
Maxime Wack
d7fc1ccbda
Add comments to flag code to update after deprecation of desctable
2 years ago
Maxime Wack
b128146799
Use rlang::dots_list to parse ...
Allow unnamed functions and name them automatically
2 years ago
Maxime Wack
40ffc8655f
Provide tests directly in the desc_tests function call (as ...)
- use .default and .auto as previously but outside of a list
- proritize .default over .auto, as .auto has a default value
2 years ago
Maxime Wack
bc79bbb52d
Provide table statistics directly in the function call (in ...)
- read ... as a named list of statistics
- .labels replaces labels
- .auto replaces providing an automatic stats functions in stats
2 years ago
Maxime Wack
93ba79155a
Add output functions
For simple and grouped desctables
For df, pander, and DT outputs
2 years ago
Maxime Wack
ae504665a1
Add function to determine desc_table type
- not a desc_table
- simple desc_table
- grouped desc_table
2 years ago
Maxime Wack
b6f07decbc
Add basic version of desc_tests
2 years ago
Maxime Wack
f8115f63f5
Add basic desc_table version using nested list-tables
2 years ago
Maxime Wack
108724b6b6
Move deprecated code to deprecated.R
2 years ago
Maxime Wack
bbf54458c1
Soft-deprecate `desctable`
2 years ago
Maxime Wack
49a166d252
squash soft deprecate conditional formulas
2 years ago
Maxime Wack
7dbfe60974
Soft-deprecate conditional formulas
Show a warning if detecting such formula but still use it
2 years ago
Maxime Wack
33505c1208
Bring back parse_formula for retrocompatibility
And mark it deprecated
This reverts commit e2bb4ec3e2
.
2 years ago
Maxime Wack
ec5315bdf7
Fix CRAN check notes
- missing closing parenthesis in an example
- DT URL reported changed
- remove pander from Imports
2 years ago
Maxime Wack
a3b1ef434b
Update functions documentation for rlang::as_function
2 years ago
Maxime Wack
bf7d75feda
Use rlang::as_function for tests
And accept "quoted" functions with ~
If the content of the formula is a function, use as is
If it throws an error (applying with a non-existant "."), use rlang::as_function to convert to a function
2 years ago
Maxime Wack
3058e53dfa
Revert "Use formulas for tests"
This reverts commit 1f703da72f
.
2 years ago
Maxime Wack
60bc332214
Import and reexport pander::pander
3 years ago
Maxime Wack
1afd52d06e
Update rstudio DT url and urls in docs imported from DT
3 years ago
Yihui Xie
fa7a048377
search = FALSE is no longer valid for options in datatable()
this upcoming change in DT will break the function `datatable.desctable()`: https://github.com/rstudio/DT/pull/862
3 years ago
Maxime Wack
ad229d90f3
Fix headerList function name
4 years ago
Maxime Wack
7a54bc8660
Add parenthesis to desctable call in example + regen doc
4 years ago
Maxime Wack
1ccd895995
Replace purrr::map2 with mapply
4 years ago
Maxime Wack
e1ab1568fe
Correct regex to get rid of . in function call
4 years ago
Maxime Wack
c3b9155a3b
Fix for chisq.test and fisher.test in testify
4 years ago
Maxime Wack
d011618ec3
Fix tests_auto for formula version
4 years ago
Maxime Wack
1f703da72f
Use formulas for tests
4 years ago
Maxime Wack
e2bb4ec3e2
Get rid of parse_formula
4 years ago
Maxime Wack
8a7e6b04a7
Convert stats functions to rlang formulas
4 years ago
Maxime Wack
316c7a470b
Use rlang::as_function instead of manual formula parsing.
statify has only one method now
desctable stats argument list elements can be function names or formulas
as with tidyverse high order functions
4 years ago
Maxime Wack
756c032f4b
Fix wrong correction of functional pipelines into applications
4 years ago
Maxime Wack
fd151e1131
Fix wrong cbind instead of rbind for results of tests
4 years ago
Maxime Wack
f5925a92fc
Conform to tidyverse style convention for opening {
4 years ago
Maxime Wack
a1c3e35906
Add comments and doc
4 years ago
Maxime Wack
bfa62fe077
Styling (added empty lines, multi-line statements, simple ifs on a
single line, complex ifs with {}
4 years ago
Maxime Wack
d53f7d0f86
Multiline pipelines, with assignment using ->
4 years ago
Maxime Wack
c289fb5037
Don't use trivial pipes
4 years ago
Maxime Wack
04a2d56d09
Useless use of temp variable
4 years ago
Maxime Wack
28d7546554
Simple assignments use <-
4 years ago
Maxime Wack
2439268c4a
Function to set desctable class
4 years ago
Maxime Wack
24d5821c33
Revert "First version of export function to gt"
This reverts commit 8d3e6682e5
.
4 years ago
Maxime Wack
af7f87fcc9
Use less dplyr verbs (select -> [], bind_cols -> Reduce(cbind))
4 years ago
Maxime Wack
8d3e6682e5
First version of export function to gt
4 years ago
Adrien Boukobza
a907477bc3
Solving parenthesis problems in R package code
4 years ago
Maxime Wack
1da1b9d15b
Re-exports done right
5 years ago