aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-01-13 14:54:58 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2015-01-13 14:54:58 +0100
commit8975dc148d0a6f222174980eb60314054be9b6cf (patch)
treeec0c45d40fc0808eb94885d0c4be582314089174
parent891af5d0f1ee8d45cd4403af43293463d23ba96b (diff)
Fix warning in README
-rw-r--r--README.md19
-rw-r--r--README.rmd6
-rw-r--r--figure/unnamed-chunk-2-1.pngbin5901 -> 0 bytes
-rw-r--r--figure/unnamed-chunk-3-1.pngbin0 -> 5883 bytes
4 files changed, 6 insertions, 19 deletions
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 <ce>
-```
-
-```
-## Warning in title(...): Konvertierungsfehler für 'Concentration [μg/L]' in
-## 'mbcsToSbcs': Punkt ersetzt <bc>
-```
-
-![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
--- a/figure/unnamed-chunk-2-1.png
+++ /dev/null
Binary files differ
diff --git a/figure/unnamed-chunk-3-1.png b/figure/unnamed-chunk-3-1.png
new file mode 100644
index 0000000..176aa58
--- /dev/null
+++ b/figure/unnamed-chunk-3-1.png
Binary files differ

Contact - Imprint