run_r_tests_for_known_hosts: Force Testing on Known Hosts

View source: R/test_helpers.R

run_r_tests_for_known_hostsR Documentation

Force Testing on Known Hosts

Description

Enforce the environment variable RUN_R_TESTS to TRUE on known hosts.

Usage

run_r_tests_for_known_hosts()

Details

This should go into .onLoad to force tests on known hosts.

Value

Invisibly NULL.

See Also

Other test helpers: develop_test(), get_boolean_envvar(), get_run_r_tests(), is_cran(), is_r_cmd_check(), is_running_on_fvafrcu_machines(), is_running_on_gitlab_com(), set_run_r_tests()

Examples

get_run_r_tests()
if (isFALSE(get_run_r_tests())) {
    run_r_tests_for_known_hosts()
    get_run_r_tests()
}

fritools documentation built on Nov. 19, 2023, 1:06 a.m.