Skip to content

[r] fix issue in documentation examples in plot_embedding()#316

Merged
immanuelazn merged 2 commits intomainfrom
ia/plot-embedding-docs
Nov 10, 2025
Merged

[r] fix issue in documentation examples in plot_embedding()#316
immanuelazn merged 2 commits intomainfrom
ia/plot-embedding-docs

Conversation

@immanuelazn
Copy link
Copy Markdown
Collaborator

@immanuelazn immanuelazn commented Nov 10, 2025

This pull request primarily addresses a bug in documentation examples for the plot_embedding() function and improves the robustness of argument name resolution in error checking utilities. It also includes minor updates to documentation phrasing and copyright information.

Fixes #314

Bug fixes:

  • Fixed an error in documentation examples for plot_embedding() that was caused by nested function calls in examples. This ensures that users will not encounter misleading or broken examples when referencing documentation.

Error checking improvements:

  • Enhanced the argument_name function in errorChecking.R to more reliably resolve argument names through the call stack, avoiding temporary placeholders and ensuring single-line output for large expressions. This improves error message clarity and robustness, especially when wrappers or helpers are used.

@immanuelazn immanuelazn merged commit 7f33b85 into main Nov 10, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in plot_embedding()

1 participant