ropenscilabs / deposits

R Client for access to multiple data repository services
https://docs.ropensci.org/deposits/
Other
38 stars 3 forks source link

Creating a deposit from the current working directory #88

Open collinschwantes opened 1 year ago

collinschwantes commented 1 year ago

For project ( has a .proj file) based workflows, it would be nice to be able to add the working directory as a resource

Current behavior

cli$deposit_add_resource(".")
Error: `resource_name` `Alignment` must only contain lowercase alphanumeric characters plus `.`, `-` and `_`.

Desired behavior

cli$deposit_add_resource(".")
frictionless metadata file has been generated as '/tmp/RtmpvRre5Z/data/datapackage.json'

It would also be nice to have a .depositsignore file that works similarly to a .gitignore file so that you can keep certain items out of the deposit.