There are 4 global variables in testthat functions:
- test_conn
- phenotype_table
- platforms_table
- transcriptomics_signature_id
Changing values of global variables from within functions is not a safe practice in R.
Modify the unit tests to avoid the need to modify the values of the global functions from within the unit tests.