jeroenjanssens / raylibr

R package that wraps Raylib, a simple and easy-to-use library to enjoy videogames programming

Home Page:https://jeroenjanssens.github.io/raylibr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reduce dependencies

jeroenjanssens opened this issue · comments

Would be good to reduce the number of dependencies. For instance:

  • rlang (only rlang::abort() is used; perhaps make it optional or replace with base::stop()?)
  • glue (glue::glue() can perhaps be replaced with paste0()?)
  • dplyr (only dplyr::case_when is used; perhaps replace with good old if...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).

Removed {glue} and {dplyr} as dependencies (see 70bec40 and b13a69d).