Browse Source

squash soft deprecate conditional formulas

tags/0.3.0
Maxime Wack 2 years ago
parent
commit
49a166d252
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      R/build.R

+ 1
- 0
R/build.R View File

@@ -15,6 +15,7 @@ statColumn <- function(stat, data) {
# Statify checks types and output for the stat function. Returns a numeric vector or a character vector if needed.
if (length(stat) == 3)
warning("Conditional formulas are deprecated and will be removed in 1.0.0

purrr::map style formulas are used now.
For example, `is.normal ~ mean | median` becomes `~ if (is.normal(.)) mean(.) else median(.)`")



Loading…
Cancel
Save