wallaceEcoMod / wallace

an interactive, reproducible, expandible, instructional, and open-source GUI-based app for ecological niche modeling
https://wallaceecomod.github.io/
GNU General Public License v3.0
132 stars 46 forks source link

Cannot transfer to new time #387

Closed antopg closed 1 year ago

antopg commented 1 year ago

Hi, I am new using wallace, everything works fine until a try to transfer to new time, the screen dims and the following lines appears on R Studio:

ENMevaluate completed in 0 minutes 12.6 seconds. Warning: Error in if: argument is of length zero 2: shiny::runApp 1: run_wallace

I download Wallace V2.0 and the same error occurs. Any solution to this? I need to deliver this on Monday, and I am stuck 😢

Best regards,

Antonio

image image image

gepinillab commented 1 year ago

Hi @antopg,

1a. Please install v1 from GitHub using the following code: remotes::install_github("wallaceecomod/wallace@v1.1.3")

1b. Or please be sure to have the last version of v2 installed: remotes::install_github("wallaceecomod/wallace")

  1. Also, update to the latest versions of raster and terra packages available on CRAN.

I double-checked both versions, and they are working fine. If the issue persists, remember that you can use your own rasters in the TRANSFER component in v2. So, you just need to find the rasters in other sources outside wallace.

Best, Gonzalo

antopg commented 1 year ago

I did 1a and 2, now I got three errors.

image

image

gjknowlton commented 1 year ago

Running into the same issue described above. Also updated Wallace, Terra, & Raster packages.

Trying to project out to future timeframe and also getting the error: ! ERROR : The polygon has not been drawn and finished. Please use the draw toolbar on the left-hand of the map to complete the polygon.

Then getting the grayed-out screen and unresponsive shiny app.

gepinillab commented 1 year ago

Hi again,

I am sorry for the late reply. I was offline last week.

Antonio (@antopg): Checking the first message, I noticed that you did not choose an RCP in the screenshot. This issue generates an error message at that moment. The second error occurred in the model component, not the transfer. I am unsure about the issue, but I hope you can use V2 instead. If the problem persists for V2, I will need more information about the input data you are using. We are doing a lot of testing, which is working fine for us! Keep in mind that v2 will be available on CRAN in a couple of weeks, so we are prioritizing bug fixes in that version.

Garrett (@gjknowlton): I will need all the error messages in the R/Rstudio console to figure out/confirm that you are having the same issue.

Best, Gonzalo

gepinillab commented 1 year ago

Hi again,

There is a post related to this issue in Google Groups. The error message reported there allows us to identify and fix the error. Please let us know if your issue was not fixed in wallace v2.

Best, Gonzalo