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

Documentation: more informative error for misformmated intervals #59

Open
chacalle opened this issue Dec 29, 2020 · 0 comments
Open

Documentation: more informative error for misformmated intervals #59

chacalle opened this issue Dec 29, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@chacalle
Copy link
Collaborator

Describe what needs better documentation
Error message for misformatted intervals should be clearer and give hints about how to fix. Also potentially link to the getting started vignette documentation once improved.

Is your documentation request related to a problem? Please describe.

A new user tried aggregating age groups that were in demographic interval notation, this led to a non-informative error

Aggregating age
Error: `ints_dt` must a 2-column data.table with the first column representing the start of the interval and the second column the end of each interval

image

@chacalle chacalle added the documentation Improvements or additions to documentation label Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant