openwashdata / washr

An R package to make publishing openwashdata resources easier
https://openwashdata.github.io/washr/
GNU General Public License v3.0
1 stars 0 forks source link

Checks fail because metadata folder is "non-standard" #42

Open yashdubey132 opened 5 days ago

yashdubey132 commented 5 days ago

When devtools::check() is executed, 1 error occurs.

  1. The error is due to the fact that the metadata folder is not expected in the data folder.
  2. Advice from the check is to move it to inst/extdata. However, this defeats the purpose of dataspice keeping the data and metadata together.
  3. Possible resolution could be to move the metadata to the data-raw folder instead as the dictionary.csv file also exists there.
  4. JSON-LD file should be stored in the same folder.
yashdubey132 commented 5 days ago

@larnsce please let me know your thoughts

larnsce commented 5 days ago

I think it might be possible to add it to the .Rbuildignore file. I have had similar issues before and solved it like that.

yashdubey132 commented 4 days ago