Skip to content

[R] Set up testthat infrastructure and run.py r_unit_test #237

@Amasus

Description

@Amasus

Part of #235.

Create the testthat skeleton — no tests yet, just the scaffolding:

  • Create `R/tests/testthat/` directory
  • Add a `testthat.R` runner script
  • Add a shared `helper.R` with common fixture-building utilities (small data.tables representing config, result, and EDE data matching the column schemas used by the utility functions)
  • Add `python run.py r_unit_test` command that runs `Rscript -e "testthat::test_dir('R/tests/testthat/')"` inside the container

This is a prerequisite for all subsequent test phases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions