Comments (2)
I don't think this is possible. The cache code calls eval
on the code in the curly braces. eval
doesn't have error trapping capabilities. That is, it doesn't return a string with any errors it encountered. Instead if there is an error, the error is thrown by eval
, which is what you are seeing.
@connectedblue would you have any thoughts on how to trap errors in the cache function?
from projecttemplate.
from projecttemplate.
Related Issues (20)
- ProjectTemplate and backward compatibility for existing projects HOT 1
- Consider removing "cache" from .mandatory.files HOT 4
- Rebuild cache if the underlying data changed HOT 9
- Error in order(data.files$cache_only, data.files$filename, data.files$varname, : HOT 6
- Help: using projecttemplate R within RStudio: Microsoft Azure Data Science VM HOT 2
- Spelling - Main README.md HOT 4
- Clear objects from the workspace - deleted cached files - no such file or directory HOT 4
- Accept project without cache dir HOT 4
- Loading data with space in name HOT 1
- false cache entry from autoloading data HOT 3
- data_ignore does not ignore cached files
- Clear explanation of where/how to use Notebooks (Rmd) with ProjectTemplate HOT 9
- Missing spaces in warning HOT 1
- quite/verbose option in `run.project` HOT 1
- Quotes used to wrap the path for dbname value in sql file returns error HOT 4
- Mastering guide should show 'load.project' step prior to stub.tests() HOT 2
- Support underscore in data file names HOT 3
- Autoload stopped working after update HOT 11
- My RStudio can't find templates of ProjectTemplate in the New Project… wizard HOT 5
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 projecttemplate.