I have a package that I developed to enable my team (and perhaps other interested users) to install and use a particular R package ([RQDA](https://cran.r-project.org/web/packages/RQDA/index.html)) that was archived on CRAN. I have hosted [this package](https://github.com/BroVic/RQDAassist) on GitHub and am trying to set up GitHub Actions so that I have a CI workflow in place.

Whenever I run `R CMD check` locally everything is fine, but when I push to GitHub the build fails. This is because, by default, Actions tries to install that same (archived) package. Expectedly, this fails.

[![build failure](https://i.stack.imgur.com/16eTv.png)](https://i.stack.imgur.com/16eTv.png)

So, my question is this: is there a way I can disable the `check` for a specific package dependency? There are no plans to **ever** send this package to CRAN, so I am happy to bypass their package policy in this instance.