You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a package where I use RStudio's source markers using rstudioapi::callFun("sourceMarkers", ...). Since this feature is not available in VS Code for instance, I put it behind rstudioapi::isAvailable(). However, it turns out that rstudioapi::isAvailable() returns TRUE in Positron, but source markers are not supported.
Will they be supported in the future? Alternatively, do I have a way to detect that the user is using Positron?
rstudioapi::isAvailable()
#> TRUErstudioapi::callFun("sourceMarkers")
#> Error:#> ! Function sourceMarkers not found in RStudio
The text was updated successfully, but these errors were encountered:
Originally posted by @etiennebacher in #6061:
I have a package where I use RStudio's source markers using
rstudioapi::callFun("sourceMarkers", ...)
. Since this feature is not available in VS Code for instance, I put it behindrstudioapi::isAvailable()
. However, it turns out thatrstudioapi::isAvailable()
returnsTRUE
in Positron, but source markers are not supported.Will they be supported in the future? Alternatively, do I have a way to detect that the user is using Positron?
The text was updated successfully, but these errors were encountered: