My package, trrrj, has, among other functionality, a set of functions that wrap data export from our internal Oracle DB.
In the CI (via GitHub Actions) the package dependencies installation fails due to ROracle.
As you probably know installing ROracle is a pain the the neck and it is not really available out of the box as for other DBs/packages.
I was thinking to exclude ROracle from the list of packages to install maybe using the following code somewhere in the Install dependencies
step of the R-CMD-check.yaml
library(desc)
library(dplyr)
# read DESCRIPTION in current dir
desc <- description$new()
desc$get_deps() %>% as_tibble() %>% filter(package != "ROracle")
The idea is to pass the list of packages instead of TRUE
to the call remotes::install_deps(dependencies = TRUE)
Does it make sense?
Has anybody tried to solve the ROracle depenency this way before?
How to pass a long-ish script to GH Actions' step?
I am looking forwards to hearing for ideas, suggestions, examples.
Thanks!