metrumresearchgroup / bbr

R interface for model and project management
https://metrumresearchgroup.github.io/bbr/
Other
22 stars 2 forks source link

tests: add missing skips for SUM1-based tests #621

Closed kyleam closed 7 months ago

kyleam commented 7 months ago

When not running on Metworx or Drone, setup-workflow-ref.R doesn't define SUM1. Most spots that use SUM1 call skip_if_not_drone_or_metworx() to avoid an "object 'SUM1' not found" error. Fix the two spots that don't.

kyleam commented 7 months ago

When not running on Metworx

.. where "running on Metworx" is detected by METWORX_VERSION being set. I hit into this in a dev Metworx environment that doesn't yet set this environment variable.