Hi! I'm building a package which I have tried to submit to CRAN, which depends on the package R-INLA, which is not on CRAN. Thanks to some previous threads here (Correctly installing non-CRAN dependencies - #4 by BobOHara and Running vignette with non-CRAN dependencies) I thought I knew how to do this, but unfortunately there was an error when running the Debian checks, that the package INLA cannot be found. Here is the log: https://win-builder.r-project.org/incoming_pretest/inlamemi_1.0.0_20240613_155626/Debian/00check.log (please ignore the other issues pointed out there).
In trying to reproduce this error, I have tried using both R-Hub and R CMD Check through Github Actions, and I seem to be getting similar issues there, though the error messages do not match exactly. The results of those can be seen here: Workflow runs · emmaSkarstein/inlamemi · GitHub
Based on the error message I get for Ubuntu oldrel-1 on R CMD Check through Github Actions, it seems like it may be related to the Matrix package, so I tried adding a dependency on Matrix in the Description file, but that didn't change anything.
I thought it would be enough to add the Additional_repositories field in the description file, but it seems like that isn't the case, and I am really struggling to identify what is causing the problem here. Does anyone have similar experiences or have any ideas for what I can try?