posit-dev / ark

Ark, an R kernel
MIT License
176 stars 14 forks source link

Extending the variables pane - Inspect #561

Closed dfalbel closed 4 weeks ago

dfalbel commented 1 month ago

This a follow up for #560. See there for more details.

This PR adds support for custom inspect behavior using the ark_variable_get_child() and ark_variable_get_children() methods. It's made in a separate PR as the large diff is confusing to review. Most of it though, is a refactor to make the recursive behavior of resolve_object_from_path() more explicit.

dfalbel commented 1 month ago

I lacked git skills here , so I had to squash the changes in this PR. The history became completely meaningless due to conflicts when rebasing.