Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot transfer to new time #387

Closed
antopg opened this issue Nov 25, 2022 · 5 comments
Closed

Cannot transfer to new time #387

antopg opened this issue Nov 25, 2022 · 5 comments

Comments

@antopg
Copy link

antopg commented Nov 25, 2022

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
Copy link
Member

Hi @antopg,

1a. Please install v1 from GitHub using the following code:
remotes::install_github("wallaceecomod/[email protected]")

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
Copy link
Author

antopg commented Nov 27, 2022

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

image

image

@gjknowlton
Copy link

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
Copy link
Member

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants