Reduce dependencies
jeroenjanssens opened this issue · comments
Would be good to reduce the number of dependencies. For instance:
-
rlang
(onlyrlang::abort()
is used; perhaps make it optional or replace withbase::stop()
?) -
glue
(glue::glue()
can perhaps be replaced withpaste0()
?) -
dplyr
(onlydplyr::case_when
is used; perhaps replace with good oldif...else
?)
Moreover, some demos currently depend on packages that are not listed as a dependency in DESCRIPTION:
-
purrr
-
fs
-
stringr
We should either add them as dependencies or replace the code with a base
alternative.
Removed {fs}
, {glue}
, {stringr}
, {dplyr}
, and {purrr}
as dependencies from the demos (see 6e3458a).