Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ezknitr to cedta.pkgEvalsUserCode #2266

Closed
mattmills49 opened this issue Jul 11, 2017 · 2 comments
Closed

Add ezknitr to cedta.pkgEvalsUserCode #2266

mattmills49 opened this issue Jul 11, 2017 · 2 comments
Milestone

Comments

@mattmills49
Copy link

ezknitr is a package that helps with using knitr's knit and spin functions that I use frequently in combination with ProjectTemplate project directories. When using the data.table package in my scripts I received the "cedta decided 'ezknitr' wasn't data.table aware" message when attempting to spin the script with the datatable.verbose option set to TRUE. I was able to fix this by running the assignInNamespace("cedta.pkgEvalsUserCode", c(data.table:::cedta.pkgEvalsUserCode,"ezknitr"), "data.table") command but was wondering if ezknitr could be added to the default packages to be excluded in the cedta.R file? If not then that's fine, at least I know how to avoid this error in the future.

@mattdowle
Copy link
Member

mattdowle commented Jul 11, 2017

Many thanks. Yes will add.
Related: https://stackoverflow.com/a/13131555/403310

Any idea why ezknitr was created rather than enhancing knitr? I looked at the Description for ezknitr and that's what struck me. I asked here: ropensci/ezknitr#13

@mattdowle mattdowle added this to the v1.10.6 milestone Jul 11, 2017
@cderv
Copy link

cderv commented Jul 11, 2017

@mattdowle, you could find some answers in this blogpost

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants