Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation bug which omits children from R help pages #638

Merged
merged 9 commits into from
Mar 25, 2019

Conversation

rpkyle
Copy link
Contributor

@rpkyle rpkyle commented Mar 8, 2019

The arguments and usage for components in dashHtmlComponents and dashCoreComponents did not properly list children in the list of supported arguments.

This PR will update the 'transpiler' to address this issue, while removing references to htmltools, and an unnecessary repeated call to reorder_props. A dependency on the dashR package is introduced for 'transpiled' component libraries.

@rpkyle rpkyle self-assigned this Mar 8, 2019
@rpkyle rpkyle requested a review from alexcjohnson March 8, 2019 18:55
@rpkyle rpkyle changed the title Enforce dependency on dashR package for 'transpiled' R components Fix documentation bug which omits children from R help pages Mar 10, 2019
@@ -78,7 +78,8 @@
Version: {package_version}
Authors @R: as.person(c({package_author}))
Description: {package_description}
Depends: R (>= 3.5.0)
Depends: R (>= 3.0.2)
Imports: dashR
Copy link
Collaborator

Choose a reason for hiding this comment

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

We talked on Friday about separating dependency loading from the Imports: dashR search, in part by extending the function name to .{package_name}_dashR_js_metadata(). That said it does seem like Imports: dashR is appropriate for its regular purpose (ensuring the right packages are installed), particularly for packages outside the core.

Copy link
Member

@chriddyp chriddyp left a comment

Choose a reason for hiding this comment

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

💃 - thanks for the descriptive commit messages

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.

3 participants