Closed eddelbuettel closed 6 years ago
We could. But is it really worth it? By now pinp.cls
is "ours" anyway and not fully self-contained.
Well maybe we should :) I just tried two more "cleanups" just by renaming and dug myself a little hole. So reverted.
Suggest to just squash merge this and move on. We had this (trivial) issue open for a while.
There is one issue that would in fact merit a release: the improved end matter. I rendered a few package vignettes since 0.0.2, and things are better now. Maybe that should go out into the world?
I'll revisit later this week to hopefully change where the declarations are.
cc #33
I keep thinking that a test suite would be good. But comparing rendered pdf files (as a formal test) is not trivial / will be fragile. People tried that with charts too.
@eddelbuettel see what the RStudio folks do over at:
https://github.com/rstudio/rticles/blob/master/tests/testthat/test_formats.R
Let's talk about this in #40
Yes, completion to a file is good enough. We can do that in tests/someSimpleScript.R
as well -- no need for extra dependencies.
Anyway we could pass the values into the
pinp.cls
file like thefooter
defines?