Open
Description
System details:
Positron and OS details:
Positron Version: 2025.02.0 (Universal) build 79
Code - OSS Version: 1.96.0
Commit: a268bc8
Date: 2025-01-21T02:44:54.581Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.2.0
Interpreter details:
R 4.4.2
Describe the issue:
When I plot a raster object with four layers using the R package terra, only three of them show in Positron whereas all four of them appear in RStudio.
Positron:
Steps to reproduce the issue:
Execute the following code from an R script or the console:
devtools::install_github("geocompr/geocompkg") #might need this specific package version
library(terra)
path <- system.file("raster/landsat.tif", package = "spDataLarge")
multi_rast <- rast(path)
plot(multi_rast)
Expected or desired behavior:
It seems that RStudio's behavior is the correct one:
Were there any error messages in the UI, Output panel, or Developer Tools console?
No
Activity