more docs
Some checks are pending
pkgdown.yaml / pkgdown (push) Waiting to run

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-04-22 13:57:59 +02:00
commit 2249ba06db
No known key found for this signature in database
11 changed files with 54 additions and 8 deletions

View file

@ -16,11 +16,15 @@ data of same class as input
Remove empty/NA attributes
}
\examples{
ds <- mtcars |> lapply(\(.x) REDCapCAST::set_attr(.x, label = NA, attr = "label")) |> dplyr::bind_cols()
ds <- mtcars |>
lapply(\(.x) REDCapCAST::set_attr(.x, label = NA, attr = "label")) |>
dplyr::bind_cols()
ds |>
remove_empty_attr() |>
str()
mtcars |> lapply(\(.x) REDCapCAST::set_attr(.x, label = NA, attr = "label")) |> remove_empty_attr() |>
mtcars |>
lapply(\(.x) REDCapCAST::set_attr(.x, label = NA, attr = "label")) |>
remove_empty_attr() |>
str()
}