Currently, part of extendr's CI, is to run an "integration" test that involves rextendr, and its test-suite (R CMD check). This is problematic when using use_dev_extendr in a few rextendr-tests, because then we are not testing against the extendr version in the CI instance.
Suggested solution:
Invent an environment variable that we can set, if we wish for tests to use use_dev_extendr, i.e. REXTENDR_TESTS_USE_DEV_EXTENDR, or similar
Go through all tests that uses use_dev_extendr = TRUE and inject logic to check for this environment variable
Currently, part of extendr's CI, is to run an "integration" test that involves
rextendr
, and its test-suite (R CMD check
). This is problematic when usinguse_dev_extendr
in a few rextendr-tests, because then we are not testing against theextendr
version in the CI instance.Suggested solution:
use_dev_extendr
, i.e.REXTENDR_TESTS_USE_DEV_EXTENDR
, or similaruse_dev_extendr = TRUE
and inject logic to check for this environment variable