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

Initial commit of R packaging-related files for dash-component-boilerplate #72

Closed
wants to merge 2 commits into from

Conversation

rpkyle
Copy link

@rpkyle rpkyle commented May 14, 2019

Closes #29.

There are some stub files here, namely in R and man, since I'm not sure how to commit the empty directories to the repo otherwise.

@rpkyle rpkyle requested a review from alexcjohnson May 14, 2019 19:38
@rpkyle rpkyle self-assigned this May 14, 2019
@@ -10,8 +10,9 @@
"build:js-dev": "webpack --mode development",
"build:js": "webpack --mode production",
"build:py": "dash-generate-components ./src/lib/components {{ cookiecutter.project_shortname }}",
"build:r": "dash-generate-components ./src/lib/components {{ cookiecutter.project_shortname }} --r-prefix '{{ cookiecutter.r_package_prefix }}'",
Copy link
Collaborator

Choose a reason for hiding this comment

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

As in plotly/dash-core-components#555 let's change this to a single back-end command build:py_and_r, also using -p package-info.json.

@alexcjohnson
Copy link
Collaborator

There are some stub files here, namely in R and man, since I'm not sure how to commit the empty directories to the repo otherwise.

Do the build commands fail if the directories are missing entirely, ie they need to be created during build? If you really need to have something, perhaps an empty .gitkeep file.

@alexcjohnson
Copy link
Collaborator

As discussed with @rpkyle I'm currently updating this repo for dash 1.0 - will include R support there, based on the work in this PR. I'll keep this PR open though until the new one is ready.

@alexcjohnson
Copy link
Collaborator

Closing in favor of #75

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.

Boilerplate should include R component metadata
2 participants