RMI-PACTA / actions

Actions for GitHub workflows
4 stars 0 forks source link

Allow specifying R CMD Check matrix in R action #69

Closed AlexAxthelm closed 7 months ago

AlexAxthelm commented 7 months ago

Discovered as part of https://github.com/RMI-PACTA/pacta.multi.loanbook.plot/pull/16

Some R packages (igraph for example) actively discourage building from source as an alternative to using binaries.

Since CRAN only supports the past few releases of R, having old versions of R in our R CMD check matrix won't work for repos that have those packages as dependencies.

Suggested fix: make a pass through argument specifying the matrix to be used for testing with R CMD CHECK.

cc @jacobvjk