Open Keanna-K opened 4 years ago
For argument names, can we all do input_path
and output_path
?
For arguments order, because output_path
has default maybe we can do either
The first one is good. I'll add output_path
argument in my function according to feedback.
We also need to update the vignette and pkgdown site to match these the changes to our function documentation.
For arguments order, because
output_path
has default maybe we can do either
- function(input_path, other_arguments, output_path=NULL)
- function(other_arguments, input_path, output_path=NULL) which one do you guys prefer?
I agree with @clsu22, the first option is good.
As suggested from the review by @dkruszew and @fkhan72, we should ensure our function arguments satisfy the following:
output_path
oroutput_file
output_path
output_path
to theinput_path
with a function-specific string auto-concatenated to it like "_blurred" or "_circle"