-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Labels
Description
Describe the bug
It seems the workspace browser can't handle nested levels of tbl_graph objects from the tidygraph package.
To Reproduce
Minimal reproducible example:
# load required packages
library(tidyverse)
library(igraph)
library(tidygraph)
# setting workspace level to anything > 0 creates error
options(vsc.str.max.level = 1)
# create a simple igraph object
g <- erdos.renyi.game(10, .1)
# converting to a tbl_graph object produces the error (note that code still runs)
g <- as_tbl_graph(g)
# once the error starts, all commands produce it
x <- 1
The error goes away when vsc.str.max.level is set to 0:
options(vsc.str.max.level = 0)
g <- as_tbl_graph(g)
x <- 1
Do you want to fix by self? (We hope your help!)
Not right now. Perhaps if no one fixes, I will be able to take it on in the near future.
Expected behavior
No error message.
Environment (please complete the following information):
- OS: Ubuntu 18 (remote ssh), MacOS 11.5 (local)
- VSCode Version: 1.59.0
- R Version: 4.1.1
- vscode-R version: 2.1.0