We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
reproducible snippet:
" coreImg <- terra::rast("https://github.com/nickmckay/specimR/raw/development/data/CORE_XYZ.tif") terra::plotRGB(coreImg, r=2, g=4, b=6, stretch = "hist") #plots without error terra::plotRGB(coreImg, r=2, g=4, b=6, stretch = "hist", ext=c(1,2,1,2)) Error in if (hadWin) { : the condition has length > 1 "
I believe this error is new with the most recent update to Rcpp.
packageVersion("terra") [1] ‘1.7.39’ packageVersion("Rcpp") [1] ‘1.0.11’
OS: Windows 10
The text was updated successfully, but these errors were encountered:
This error did not occur after I reverted to terra 1.7.3 and Rcpp 1.0.9.
Also, ext=c(368, 779, 13147, 13193) provides a valid cropping
Sorry, something went wrong.
6922c80
Thanks. I can now (again) do
terra::plotRGB(coreImg, r=2, g=4, b=6, stretch = "hist", ext=c(1200,1287,13150,13217))
No branches or pull requests
reproducible snippet:
"
coreImg <- terra::rast("https://github.com/nickmckay/specimR/raw/development/data/CORE_XYZ.tif")
terra::plotRGB(coreImg, r=2, g=4, b=6, stretch = "hist")
#plots without error
terra::plotRGB(coreImg, r=2, g=4, b=6, stretch = "hist", ext=c(1,2,1,2))
Error in if (hadWin) { : the condition has length > 1
"
I believe this error is new with the most recent update to Rcpp.
packageVersion("terra")
[1] ‘1.7.39’
packageVersion("Rcpp")
[1] ‘1.0.11’
OS: Windows 10
The text was updated successfully, but these errors were encountered: