Skip to content

Update constructor documentation and S7 package hooks - #429

Open
t-kalinowski wants to merge 3 commits into
posit-dev:mainfrom
t-kalinowski:fix/s7-compatibility-20261012
Open

t-kalinowski wants to merge 3 commits into
posit-dev:mainfrom
t-kalinowski:fix/s7-compatibility-20261012

Conversation

@t-kalinowski

Copy link
Copy Markdown
Member

With development S7, ContentSlashCommand() accepts the inherited text argument through ..., but its documentation lists text as a direct formal argument. Document ... as forwarded to ellmer::ContentText() and regenerate the usage section. This removes the code/documentation mismatch while preserving the description of slash-command text.

Use S7’s load, unload, and build hooks when available, retaining methods_register() for older releases. On development S7, unloading removes the package’s external S7 methods and dependency hooks, and the build hook cleans external generic bindings after method declarations.

@t-kalinowski

Copy link
Copy Markdown
Member Author

Thanks for maintaining shinychat! I'm planning to submit the next version of S7 to CRAN on November 16 (see RConsortium/S7#786).

Would you be able to merge these compatibility changes and submit an updated version of shinychat to CRAN before then? Please let me know if you need more time or if there’s anything I can help with.

This branch has not been deployed

No deployments
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.

2 participants