From 8975dc148d0a6f222174980eb60314054be9b6cf Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 13 Jan 2015 14:54:58 +0100 Subject: Fix warning in README --- README.md | 19 +------------------ README.rmd | 6 +++++- figure/unnamed-chunk-2-1.png | Bin 5901 -> 0 bytes figure/unnamed-chunk-3-1.png | Bin 0 -> 5883 bytes 4 files changed, 6 insertions(+), 19 deletions(-) delete mode 100644 figure/unnamed-chunk-2-1.png create mode 100644 figure/unnamed-chunk-3-1.png diff --git a/README.md b/README.md index 3f0091f..4cf12c3 100644 --- a/README.md +++ b/README.md @@ -35,28 +35,11 @@ To read in and analyse a cwa file: ```r library(pfm) -``` - -``` -## Loading required package: R6 -``` - -```r example_cwa <- read.TOXSWA_cwa("00003s_pa.cwa") plot(example_cwa) ``` -``` -## Warning in title(...): Konvertierungsfehler für 'Concentration [μg/L]' in -## 'mbcsToSbcs': Punkt ersetzt -``` - -``` -## Warning in title(...): Konvertierungsfehler für 'Concentration [μg/L]' in -## 'mbcsToSbcs': Punkt ersetzt -``` - -![plot of chunk unnamed-chunk-2](figure/unnamed-chunk-2-1.png) +![plot of chunk unnamed-chunk-3](figure/unnamed-chunk-3-1.png) ```r example_cwa$get_events(c(20, 100)) diff --git a/README.rmd b/README.rmd index c28741d..77364fb 100644 --- a/README.rmd +++ b/README.rmd @@ -1,5 +1,9 @@ # pfm - +```{r, echo = FALSE} +options(device = function(file, width = 7, height = 7, ...) { + cairo_pdf(tempfile(), width = width, height = height, ...) +}) +``` The R package **pfm** provides some utilities for dealing with FOCUS pesticide fate modelling tools, (currently only TOXSWA cwa files), made available under the GNU public license. This means: diff --git a/figure/unnamed-chunk-2-1.png b/figure/unnamed-chunk-2-1.png deleted file mode 100644 index 599143e..0000000 Binary files a/figure/unnamed-chunk-2-1.png and /dev/null differ diff --git a/figure/unnamed-chunk-3-1.png b/figure/unnamed-chunk-3-1.png new file mode 100644 index 0000000..176aa58 Binary files /dev/null and b/figure/unnamed-chunk-3-1.png differ -- cgit v1.2.3