-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
guess_fileSize should not cause create_codemeta() to fail just bc a dependency isn't installed. #196
Comments
Looks like this error occurs when devtools::build fails due to a missing dependency. (you'd think it would be possible to build a package without dependencies installed, but apparently not, even with vignettes=FALSE. (Also we should probably replace I suppose we could call Really, the whole idea of building a package to guess fileSize is a nice statistic to have, but also a potentially fragile and computationally expensive operation and so should both fail gracefully and have a way to toggle off. I'll adjust this issue title to reflect these outstanding issues. https://github.com/ropensci/codemetar/blob/master/R/guess_metadata.R#L225
Thoughts @maelle ? |
Do you use the dev branch? Devtools should have been replaced in it |
Agree with the changes proposed |
👍 no, sorry, I ran the above checks with |
Yes there is a PR from dev to master, not sure yet what should be the criteria for the release i.e what to fix/improve before merging? |
And i only use the dev version nowadays |
Sounds like we should merge dev to master if that's what you're using anyway! And plan a release soon? I have simple criteria for a release workflow:
So I think ? |
What I implemented is not a global option to toggle though. |
@cboettig do you have a favorite example of a package with such a toggle option? |
not off hand, but I was thinking just setting something in options. e.g. |
I think we can close thanks to the default behavior introduced in #239 |
but on a Linux server, for https://github.com/ropensci/infx
Any idea what could be the reason for this @cboettig?
The text was updated successfully, but these errors were encountered: