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

Support ui.Rmd #467

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support ui.Rmd #467

wants to merge 1 commit into from

Conversation

jcheng5
Copy link
Member

@jcheng5 jcheng5 commented Dec 9, 2020

Fixes #466

@@ -297,6 +297,9 @@ function DirectoryRouter(root, runas, dirIndex, prefix, logdir, settings,
var rmd = _.find(entries, function(entry) {
return /\.rmd$/i.test(entry);
});
var uiRmd = _.find(entries, function(entry) {
Copy link
Contributor

Choose a reason for hiding this comment

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

The name ui.Rmd is unimportant; the filename is a convention, not a requirement. See: rstudio/rsconnect#461 (comment)

This was my original approach in rsconnect, too, before looking more deeply at each Rmd to understand if it asks for a Shiny runtime.

Copy link
Member Author

Choose a reason for hiding this comment

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

Crap, I was hoping to avoid doing that, oh well. Thanks for catching that.

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.

ui.Rmd support
2 participants