Skip to content

Commit

Permalink
rename arguments for function params
Browse files Browse the repository at this point in the history
  • Loading branch information
david-beauchesne committed Feb 8, 2024
1 parent 27da2c3 commit 3a43919
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/args.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ arguments <- function(arg) {
dat$weights <- "@param w_d,w_i weight for the direct (`w_d`) and indirect (`w_i`) modules when calculating network-scale cea scores; w_d + 2*w_i should be equal to 1."
dat$output <- "@param output relative path to export results of assessment."
dat$motif_effects <- "@param motif_effects TODO"
dat$output_format <- "@param output format, one of `geotiff` or `COG`."
dat$focus <- "@param named argment, string with name of valued component on which to perform the assessment."
dat$output_format <- "@param output_format output format, one of `geotiff` or `COG`."
dat$focus <- "@param focus named argument, string with name of valued component on which to perform the assessment."

dat[names(dat) %in% arg] |>
unlist()
Expand Down
7 changes: 5 additions & 2 deletions man/ncea_species.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3a43919

Please sign in to comment.