ropensci / colocr

An R package for conducting co-localization analysis. Edit
https://docs.ropensci.org/colocr
GNU General Public License v3.0
26 stars 3 forks source link

replaced load.image with image_read #3

Closed MahShaaban closed 5 years ago

MahShaaban commented 5 years ago

I replaced imager::load.image with magick::image_read followed by imager::magick2cimg to return the same kind of object cimg. With these changes both Travis and Appveyor ran and passed the tests. The reason I made these changes is that, the new image_load function returns the same pixel values on ubuntu and windows, unlike the previous code that used imager::load.image.

MahShaaban commented 5 years ago

My bad. The build is not completed on Travis for some reason!