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
Remove dependency on knitr and Suggest knitr instead #137
Comments
One further consideration: AFAIK, knitr doesn't play very well with RHEL, due to package dependencies that are not in sync between knitr and RHEL. More precisely, knitr has system dependencies that are not always avilable on the latest RHEL build. For this reason, I am strongly of the opinion we should remove |
OK, but what about the other side of the coin? Who was for rmarkdown Antonio On Sun, Oct 5, 2014 at 8:01 AM, Andrie notifications@github.com wrote:
|
I don't remember an debate on whether we should include Maybe we should have removed this when we did either The code change itself is really simple: Simply change the regex to search only for I like the idea of potentially turning |
Can we remove the package dependency on knitr and only do that check on Rmarkdown if knitr is already attached. (That would make knitr an "improves" package, not a dependency.) |
That would make it a suggests package. we can do that but I wouldn't rush Antonio On Mon, Oct 6, 2014 at 5:58 AM, David Smith notifications@github.com
|
I think we should remove the dependency on knitr, and advertise Rmarkdown checking as available only when knitr is installed and available. That would make knitr a suggested package for checkpoint, not a dependency. |
Yep, you just need to locate any knitr-related logic and wrap it in an On Fri, Nov 14, 2014 at 8:59 AM, David Smith notifications@github.com
|
I have removed this dependency in the branch https://github.com/RevolutionAnalytics/checkpoint/tree/remove_knitr_dependency. Now need to build additional unit tests that include at least one |
The checkpoint package only directly depends on
knitr
. In turnknitr
depends on several other packages (see the dependency graph below). We have already removed several other dependencies from the package.knitr
is used to detect library() and require() calls inRmarkdown
in your project. It is a nice but absolutely essential feature, and we could conceivably remove this.Argument for removing
knitr
:Argument against removing
knitr
:library()
calls inRmarkdown
in your project@piccolbo and @revodavid Any opinions on this?
The text was updated successfully, but these errors were encountered: