Skip to content

Use of global variables in testthat #115

@katgit

Description

@katgit

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions