Skip to content

Conversation

@itendswells
Copy link
Collaborator

The code that sets the RStudio graphic backend to RAGG looks for RStudio global options, which don't exist when using other IDES. The check for rstudioapi::is_available() used to in theory handle this, but Positron is also built with the rstudioapi. You can currently use cmapplot in Positron normally, but trying to build the package (for example in a golem shiny app) raises an error. This patch changes the return of getOption from NULL to FALSE which fixes the "arguement of length 0" error.

@itendswells itendswells merged commit d206d01 into master Aug 29, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants