OHDSI / CohortGenerator

An R package for instantiating cohorts using data in the CDM.
https://ohdsi.github.io/CohortGenerator/
11 stars 10 forks source link

Fix for references with simple test case added #115

Closed azimov closed 9 months ago

azimov commented 10 months ago

Clone on instantiate of subsetDefinition and when users pull subsetOperators out of subsetDefinitions

Added a very simple test case to prove that the cohort should not be modified

codecov[bot] commented 10 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (3e60dd5) 98.54% compared to head (bb8c0e8) 98.54%.

:exclamation: Current head bb8c0e8 differs from pull request most recent head 9d6997e. Consider uploading reports for the commit 9d6997e to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #115 +/- ## ======================================== Coverage 98.54% 98.54% ======================================== Files 12 12 Lines 1375 1375 ======================================== Hits 1355 1355 Misses 20 20 ``` | [Files](https://app.codecov.io/gh/OHDSI/CohortGenerator/pull/115?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OHDSI) | Coverage Δ | | |---|---|---| | [R/SubsetDefinitions.R](https://app.codecov.io/gh/OHDSI/CohortGenerator/pull/115?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OHDSI#diff-Ui9TdWJzZXREZWZpbml0aW9ucy5S) | `98.48% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.