KWB-R / kwb.abimo

R Package with Functions for Working with Water Balance Model ABIMO
https://kwb-r.github.io/kwb.abimo
MIT License
0 stars 1 forks source link

Fix warning docu mismatch for extdata_file() #9

Closed mrustl closed 2 years ago

mrustl commented 2 years ago
Warning: Codoc mismatches from documentation object 'extdata_file':
extdata_file
  Code: function(..., must_exist = TRUE, dbg = FALSE)
  Docs: function(...)
  Argument names in code not in docs:
    must_exist dbg

https://github.com/KWB-R/kwb.abimo/runs/7011878517?check_suite_focus=true#step:9:67

due to: https://github.com/KWB-R/kwb.abimo/blob/e2167441e681c6be0b182bae4a8b6ae2a5fa6218/R/utils.R#L5

which seems not to correctly use the set parameters defined here:

https://github.com/KWB-R/kwb.utils/blob/2a6faaaefda4af9ad155e31dee0db551f18fdbf0/R/createFunctionExtdataFile.R#L58