plumber icon indicating copy to clipboard operation
plumber copied to clipboard

Required parameter annotation

Open JosiahParry opened this issue 2 weeks ago • 1 comments

The plumber docs (as far as I can tell) do not show how to mark a parameter as required (or optional) without using the programmatic usage.

I would prefer to use the comment annotation as it is far easier to write and read.

Marking a parameter as optional is alluded to in the examples at https://www.rplumber.io/articles/annotations.html#equivalent-programmatic-usage-1. This is only shown for the programatic usage, however.

JosiahParry avatar Jun 26 '24 14:06 JosiahParry