inbo/inborutils

Make a package out of download_zenodo() and publish it under rOpenSci

Closed this issue · 7 comments

The function download_zenodo() seems something very interesting and it can have a very broad audience.
While following the discussion in #69, I am happy to see that this function is getting more and more complete but also complex (= more dependencies).
Broad scope + completeness + complexity = package 📦

Especially if I see that there is a package called zenodo to upload data to zenodo and whose documentation is published under the hood of rOpenSci. However the package is quite old, probably not actively maintained anymore and that it is not listed among the rOpenSci packages.
@inbo/bmk , @inbo/oscibio: what do you think about it?

I would be all for that. We could even reach out to rOpenSci to see if we can take over pkg maintenance.

I fully agree. Would love not to have to depend on inborutils in more focused packages ;-)

I believe complexity is an unavoidable downside of collecting various different functions in one package (inborutils) - which however should be seen as its 'purpose' somehow: a collection of small new ideas. (Is also a reason why I'm not that worried about having extra dependencies in inborutils @ThierryO ;-) )

I ran a search and found zen4R to be interesting as well. Both zen4R and zenodo provide functionalities that interact with the Zenodo REST API. The function download_zenodo() on the other hand does not do that. It just downloads the data from a zenodo doi. It's not that clear from the documentation of the Zenodo REST API if downloading of files is already possible (I think not).

It seems that zen4R is more recent and has more functionality; it could also be a good candidate for the function. It seems not to be published at rOpenSci.

I think we should reach out to the developers of both packages and to rOpenSci to initiate that discussion (could be done from and in this thread).

The function is now (also) part of the zen4R package. See https://cran.r-project.org/web/packages/zen4R/zen4R.pdf and search for download_zenodo. This issue can be closed. Thanks for asking @damianooldoni 👍

The function is now (also) part of the zen4R package

Just note that both functions are fundamentally different. If I remember correctly the zen4R function is a complete rewrite that sends a request to the Zenodo API.