I'm in a difficult situation where I am developing a package for internal use in a secure environment. Critically this means that there is no outside internet connection. When the check runs it chokes when checking the CRAN and Bioconductor incoming feasibility (ie. the dependencies, name and version). I think that this is because it waits for the connection to time out, as no response is given. When I run the devtools::check(cran=FALSE) directly it runs significantly faster.
I could have sworn that there was a way to turn off the check as CRAN feature, which would disable these checks, but I can not find where that option is. Is it possible to disable the --as-cran? If so how?