At the moment, none of the code chunks in the paper are named. Hence we have figures generated with names unnamed-chunk-xx.png. If we insert a chunk or rearrange things then git is tracking changes to those images, adding more images, and we're hanging on to figures we don't need and which require constant cleaning of the figures/ folder.
I haven't done a PR in @SimonGoring's main tree yet as I can't build .Rmd docs using the new rmarkdown package on my work computer (Pandoc is too old). If someone wants to check I haven't screwed the building with a typo that'd be great otherwise I will do this tonight and generate the PR if all is well?
At the moment, none of the code chunks in the paper are named. Hence we have figures generated with names
unnamed-chunk-xx.png
. If we insert a chunk or rearrange things then git is tracking changes to those images, adding more images, and we're hanging on to figures we don't need and which require constant cleaning of thefigures/
folder.Solution; name all the code chunks.
I have committed changes that do this in my fork of the paper repo. The commit that does this is here: https://github.com/gavinsimpson/neotoma_paper/commit/1d0754333392fc5cfcd8e31df169c258266d2e95
I haven't done a PR in @SimonGoring's main tree yet as I can't build
.Rmd
docs using the new rmarkdown package on my work computer (Pandoc is too old). If someone wants to check I haven't screwed the building with a typo that'd be great otherwise I will do this tonight and generate the PR if all is well?