Skip to content
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

test_publish.R is skipped silently in its entirety #178

Open
hlapp opened this issue Oct 16, 2018 · 3 comments
Open

test_publish.R is skipped silently in its entirety #178

hlapp opened this issue Oct 16, 2018 · 3 comments

Comments

@hlapp
Copy link
Contributor

hlapp commented Oct 16, 2018

The test_publish.R code is wrapped in if(0), i.e., it's never run. That's bad in multiple ways, one of which is that it's not even reported as a test that's being skipped even though effectively it is.

Perhaps this really isn't currently fit to run as a test anywhere, but even then it should use skip() so that it's at least reported as a test that is being skipped.

@cboettig
Copy link
Member

yeah, it should use skip. Though really I think we should deprecate the publish() methods. Uploading NeXML file to figshare doesn't seem like a particularly effective way to share NeXML. What do you think?

@hlapp
Copy link
Contributor Author

hlapp commented Oct 16, 2018

Though really I think we should deprecate the publish() methods.

I agree, actually. I think it should simply be out of scope for this package. Looking at the code, there's not that much special stuff that's being done. At most I'd argue this should be a vignette for how one might upload NeXML data to Figshare (because obviously there are other ways to massage and deposit metadata). But even that might be out of scope, and if anywhere such a vignette should arguably be part of rfigshare.

@cboettig
Copy link
Member

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants