Checking package with python dependencies on CRAN

I want to submit my package precommit to CRAN, and it has unit tests in that install packages with conda (via reticulate) and use command line executables via system2. Is there a way to install cona on CRAN machines? Or do I have to skip the test? There are packages that have similar issues like keras, for which unit tests are disabled on CRAN:

2 Likes

I don't recommend trying to install conda on the CRAN machines. They will not like that. Do you have tests that can be run that don't require conda/reticulate/system2()? If yes, I recommend only skipping specific tests using testthat::skip_on_cran().