question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with rstudioapi emulation

See original GitHub issue

A couple of things I noticed when the update landed on my work PC:

  • tidyverse calls the rstudioapi to check the version which errors, stopping it from being attached.
  • For some reason the R building of the addin list fails which interferes with .vsc.attach.

@Ikuyadeu @renkun-ken tidyverse is a bit of a showstopper. The second issue might be to do with my work PC library setup which is a bit unusual. I’ll so some debugging on it now.

Is it possible to roll back to previous release?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:23 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
Ikuyadeucommented, Oct 16, 2020

@MilesMcBain @renkun-ken Thank you for your early works. I’ll put that notification on the CHANGELOG. After Rstudio issue reports are stopped for more than 2 weeks, let’s change default to be TRUE.

2reactions
renkun-kencommented, Oct 16, 2020

@Ikuyadeu We might need a release for this and notice users that options(vsc.rstudioapi = TRUE) should be used to enable rstudioapi emulation in the changelog.

When the feature become more stable, then we could make it TRUE by default.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues with rstudioapi emulation #421 - GitHub
A couple of things I noticed when the update landed on my work PC: tidyverse calls the rstudioapi to check the version which...
Read more >
Before I Sleep: Adding RStudio Addins to VSCode
I recently completed a project to add RStudio addins to the Visual Studio Code R extension. In this post I explain the technical...
Read more >
Saving an open script with code when run - RStudio Community
Hi all, I am looking for a way i can effectively auto save code each time I run it. I have been experimenting...
Read more >
4 ways to be more productive, using RStudio's terminal
Four common use-cases. 1. Execute resource-heavy R code in the Terminal quickly. A very common use case where the Terminal makes my life...
Read more >
rstudioapi: Safely Access the RStudio API
Description Access the RStudio API (if available) and provide informative error ... BugReports https://github.com/rstudio/rstudioapi/issues.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found