packages feed

R-pandoc 0.2.1 → 0.2.2

raw patch · 3 files changed

+10/−11 lines, 3 filesdep ~R-pandocdep ~basedep ~pandoc-typesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: R-pandoc, base, pandoc-types, process

API changes (from Hackage documentation)

- Text.Pandoc.R: instance Read Echo
- Text.Pandoc.R: instance Show Echo
+ Text.Pandoc.R: instance GHC.Read.Read Text.Pandoc.R.Echo
+ Text.Pandoc.R: instance GHC.Show.Show Text.Pandoc.R.Echo

Files

R-pandoc.cabal view
@@ -1,5 +1,5 @@ name: R-pandoc-version: 0.2.1+version: 0.2.2 cabal-version: >=1.10 build-type: Simple license: BSD3@@ -17,11 +17,11 @@  library     build-depends:-        base         >=4.6  && <4.9,-        pandoc-types >=1.12 && <1.13,+        base         >=4.6  && <4.10,+        pandoc-types >=1.12 && <1.17,         directory    >=1.2  && <1.3,         filepath     >=1.3  && <1.5,-        process      >=1.2  && <1.3,+        process      >=1.2  && <1.5,         split        >=0.2  && <0.3     exposed-modules: Text.Pandoc.R     exposed: True@@ -32,9 +32,9 @@  executable R-pandoc     build-depends:-        base         >=4.6  && <4.9,-        pandoc-types >=1.12 && <1.13,-        R-pandoc     ==0.2.1+        base         >=4.6  && <4.10,+        pandoc-types >=1.12 && <1.17,+        R-pandoc     ==0.2.2     main-is: src/Main.hs     buildable: True     default-language: Haskell2010
README.md view
@@ -3,6 +3,8 @@  A [pandoc](http://johnmacfarlane.net/pandoc/) filter to embbed R plots inside markdown documents. +See the [Blog post](http://www.corentindupont.info/blog/posts/Programming/2015-09-14-diagrams.html) for more details on usage.+ ## Usage  Install R:@@ -43,9 +45,6 @@ [pandoc filter](http://johnmacfarlane.net/pandoc/scripting.html) as shown above. -`R-pandoc` is aware of two code block classes.  A block with-the `Rplot` class will be replaced by the resulting plot---the code-will not appear in the output.    ## Installing 
src/Text/Pandoc/R.hs view
@@ -54,7 +54,7 @@    Nothing -> [defFile]  insertImage :: FilePath -> Inline-insertImage file = Image [] (file,"")+insertImage file = Image nullAttr [] (file,"")  --plot the R graph --the files created will be the one specified in the R code with commands such as: