metrumresearchgroup / bbr

R interface for model and project management
https://metrumresearchgroup.github.io/bbr/
Other
23 stars 2 forks source link

ignore file extension in new_model #486

Closed callistosp closed 2 years ago

callistosp commented 2 years ago

Problem

If I pass a model name that includes a valid file extension, e.g. new_model(file.path(MODEL_DIR, "001.ctl")), I get an error. However, I would like bbr to just ignore the extension in this case.