Permalink
Browse files

Fix #14 by adding library(png) call

There was no library(png) call in demos/ijroi.R, hence the
problem. This is now fixed.
  • Loading branch information...
1 parent 6305e9d commit 70ed92e573f499ecec16d560aa9497ec644573ae @davidcsterratt committed Jan 13, 2015
Showing with 2 additions and 1 deletion.
  1. +1 −1 DESCRIPTION
  2. +1 −0 demo/ijroi.R
View
@@ -3,7 +3,7 @@ Title: Read ImageJ Region of Interest (ROI) Files
Description: Provides functions to read ImageJ (http://imagej.nih.gov/ij/)
Region of Interest (ROI) files, to plot the ROIs and to convert them as
spatstat (http://spatstat.org/) spatial patterns.
-Version: 0.1
+Version: 0.1.1
URL: https://github.com/davidcsterratt/RImageJROI
Date: 2014-03-20
Authors@R: c(person("David C", "Sterratt", role=c("aut", "cph", "cre"),
View
@@ -1,3 +1,4 @@
+library(png)
path <- file.path(system.file(package = "RImageJROI"), "extdata", "ijroi")
im <- as.raster(readPNG(file.path(path, "imagej-logo.png")))
plot(NA, NA, xlim=c(0, ncol(im)), ylim=c(nrow(im), 0), asp=1)

0 comments on commit 70ed92e

Please sign in to comment.