o2r-project / erc-spec

Executable Research Compendium specification and guides
https://o2r.info/erc-spec/
Creative Commons Zero v1.0 Universal
7 stars 5 forks source link

Allow minimal ERC with only one plot #25

Closed nuest closed 6 years ago

nuest commented 7 years ago

I like the idea of allowing an ERC to contain only code for one plot. I.e. an R-script plot.R and an output document plot{.png,.pdf}. The former could be the "main document" and the latter the "view document".

I suggest to make sure that the wording still allows this, i.e. that the main document CAN be a script instead of a literate programming file.

If this should be possible, it would be nice to have an example minimal ERC like this, I think it would be easy for people to understand.

@7048730 Thoughts on this?

ghost commented 7 years ago

I think we talked about this once and I like the idea. I also think there might by good use cases for these kinds of publication as a type of "data publication with minimal visualization", i.e. there is no analysis, but only code for figures. Your suggestion to change the wording is one way to realise this, we could also start distinguishing the two cases of analysis and visualization. But I guess it's not preferable to rely on the purpose of the code when constructing categories. On the other hand saying

the main document CAN be a script instead of a literate programming file.

invites the creator of an ERC to just ignore this suggestion.