Skip to content

Fix/lsds calling env - #522

Merged
timcadman merged 1 commit into
v7.0-devfrom
fix/lsds-calling-env
Oct 30, 2026
Merged

timcadman merged 1 commit into
v7.0-devfrom
fix/lsds-calling-env

Conversation

@timcadman

@timcadman timcadman commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Issue

ds.ls didn't work with DSLite. lsDS always searched .GlobalEnv, which under DSLite is the client's R session, so it listed the client's objects and missed those assigned on the DSLite server.

What's changed

lsDS now searches the environment it's called from. On Opal and Armadillo that is still .GlobalEnv, so behaviour there is unchanged. On DSLite it is the DSLite session, so the same objects are returned. environment.searched reports "DSLiteEnv_" under DSLite.

@timcadman
timcadman changed the base branch from v6.3.6-dev to v7.0-dev October 29, 2026 17:36
@timcadman
timcadman force-pushed the fix/lsds-calling-env branch from fcd5be6 to 0f71904 Compare October 30, 2026 08:24
@timcadman
timcadman marked this pull request as ready for review October 30, 2026 09:11

@StuartWheater StuartWheater left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Change looks correct
  • Test also looks correct and passes

@timcadman
timcadman merged commit b068684 into v7.0-dev Oct 30, 2026
8 checks passed
@timcadman
timcadman deleted the fix/lsds-calling-env branch October 30, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants