REditorSupport / REditorSupport/vscode-R

rstudioapi error with thematic_shiny()

Open
#1,396 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale
Dominant language
TypeScript
Stars
1.2k
Forks
139
Avg merge
2h 46m
Merged PRs (30d)
5

Description

Describe the bug
using thematic with shiny gives the following error in the browser plots:

error: This {rstudioapi} function is not currently implemented for VSCode.

To Reproduce
Steps to reproduce the behavior:

  1. Just in any shiny app add thematic_shiny() call before you server function call.
  2. Run the app using runApp() from console

Can you fix this issue by yourself? (We appreciate the help)

No

Screenshots
image

Environment (please complete the following information):

  • OS: windows 10
  • VSCode Version: 1.80.1
  • vscode-R: 2.8.1
  • R Version: 4.3.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with thematic_shiny() before the server function and runApp() in a VSCode-hosted Shiny app. Trace the rstudioapi call that produces the unsupported-for-VSCode error; done means browser plots render without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.