Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better handling of output checks for asset and portfolio modes #216

Merged
merged 3 commits into from
Dec 1, 2023

Conversation

goergen95
Copy link
Member

This PR introduces an improved version of checking output from indicator functions. Different logics for processing and error checks are applied for asset and portfolio mode. Error messages are improved, and, if an issue is found, the backend now places NA values correctly.

@goergen95 goergen95 linked an issue Nov 30, 2023 that may be closed by this pull request
@goergen95 goergen95 self-assigned this Nov 30, 2023
Copy link

codecov bot commented Nov 30, 2023

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (82c6ba4) 74.38% compared to head (1e44630) 74.60%.

Files Patch % Lines
R/calc_indicators.R 80.64% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #216      +/-   ##
==========================================
+ Coverage   74.38%   74.60%   +0.22%     
==========================================
  Files          43       43              
  Lines        1819     1827       +8     
==========================================
+ Hits         1353     1363      +10     
+ Misses        466      464       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@goergen95 goergen95 merged commit 640f93d into main Dec 1, 2023
10 checks passed
@goergen95 goergen95 deleted the improve-output-checks branch December 1, 2023 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ESA Landcover returns 0-length tibble
1 participant