Comments (4)
Howdy (and nice meeting you last weekend ;-)
I think that has bit me too once before.
Question is ... how to best compare? Just two file.info()
calls and compare size? I'd rather not depend on digest to compare checksums. Does R has a base checksummer? Or should we just always copy it out?
from pinp.
The issue here is some may modify the pinp.cls
file. So, copying on every knit probably isn't ideal.
Probably, best to check file.info()
and emit a message that emphasizes the underlying class file changed. If the compilation is broken, then delete the old .cls file for a new one to be added in its place.
The
pinp.cls
file is not in-sync with the package.
This may happen if it has been modified either locally or during a package update.
If there is trouble knitting the document, please delete thepinp.cls
file.
from pinp.
So, copying on every knit probably isn't ideal.
Yep. There was a reason we didn't do that.
But then suppose someone mod'ed it for good reason. Should we then yell at them each time we render the document because we see a change?
A puzzle...
from pinp.
There is tools::md5sum
. So maybe we just 'quickly' run that over both, and issue the warning if different. If we feel generous we can add package-environment toggle to tell it to never yell....
from pinp.
Related Issues (20)
- Failed to compile the example using Windows HOT 1
- setting the date manually HOT 18
- automatic DOI links in the reference list HOT 23
- Feature request: pnas_type HOT 5
- internationalisation HOT 4
- Empty space when not including abstract and keywords HOT 3
- Full abstract in the references HOT 4
- inherit from bookdown HOT 2
- figure size HOT 5
- include-after option HOT 3
- Class provides HOT 1
- Preserve non-fancy quotes in code chunks HOT 4
- Failed to compile the provided template HOT 4
- pinp breaking under current texlive HOT 2
- Update to newer pnas-new.cls ? HOT 1
- Possible regressions in 0.0.8 HOT 2
- reference list indent – change from first line to hanging HOT 6
- support multiple columns via easier pandoc notation HOT 2
- Pinpbluetext is Red-ish; shouldn't it be blue? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pinp.