r-spatial / mapedit

Interactive editing of spatial data in R
https://www.r-spatial.org/r/2019/03/31/mapedit_leafpm.html
Other
218 stars 33 forks source link

mosaic_view() running problem #131

Closed mfm2174 closed 9 months ago

mfm2174 commented 11 months ago

I'm having a problem when running the function mosaic_view(). See the following script and message error please:

> pot<-mosaic_input("potato.tif")
> mosaic_view(pot)
Using downsample = 3 so that the number of rendered pixels approximates the `max_pixels`
Using `show = 'rgb' may not produce accurate cropping coordinates.
 Please, consider using `show = 'index'`instead.
Loading required namespace: leaflet.extras
Carregando pacotes exigidos: shiny

Listening on http://127.0.0.1:7174
Warning: `select_()` was deprecated in dplyr 0.7.0.
ℹ Please use `select()` instead.
ℹ The deprecated feature was likely used in the mapedit package.
  Please report the issue at <https://github.com/r-spatial/mapedit/issues>.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
generated.
tim-salabim commented 11 months ago

which package is mosaic_view() from? I don't think it's from mapedit... Also, what you're seeing is a warning. Do things not work?

TiagoOlivoto commented 9 months ago

Hi @tim-salabim , after visiting the mapedit's page to find help, I saw this issue. mosaic_view() is a function from my package pliman, but this WARNINGS were removed in the dev version. @mfm2174 install pliman from GitHub (https://github.com/TiagoOlivoto/pliman/) and try again. You probably have the plot correctly rendered despite these warnings.

tim-salabim commented 9 months ago

Ok, thanks @TiagoOlivoto for the information. I'll close the issue here. Feel free to reopen if needed.