CDCgov / wastewater-informed-covid-forecasting

Wastewater-informed COVID-19 forecasting models submitted to the COVID-19 Forecast Hub
https://cdcgov.github.io/wastewater-informed-covid-forecasting/
Apache License 2.0
44 stars 8 forks source link

Restore pre-commit `deps-in-desc` when package != repo #146

Open kaitejohnson opened 2 months ago

kaitejohnson commented 2 months ago

Problem

The pre-commit hook id: deps-in-desc should allow you to specify that the root should be within the package directory like:

id: use-tidy-description
args: [--root=<R package root>] 

As described here. However, this doesn't seem to be working for this repo, we tried

id: deps-in-desc
args: [--root=cfaforecastrenewalww]

And still got a bunch of errors about package dependencies that were in the DESCRIPTION file.