Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replaced the
server
parameter with adisease
parameter, so instead of saying "the production covid-19 line list or you have to give us a full URL", we say "the production covid-19 line list or you ask for another disease".I used different approaches in Python and R to accept this parameter: a class constructor in Python and changing the function argument in R. I don't get the impression that R programmers expect or use classes much, and I found three different implementations of classes which made me wonder if I might pick a "wrong" one that users don't expect to see.
I'm not fully satisfied with this solution as you now can't specify self-hosted or a dev/qa instance. But I couldn't work out a way to easily parameterise the disease name (which gives the "marketing" benefit that we advertise flexibility for different diseases) as well as the other fields. Perhaps we still let you set a custom URL in an env var? Would R users expect that as a customisation point?