-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
chore: restyle new examples-shiny
apps
#4004
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like something went wrong with the git history?
Yeah I was going to roll this into #4003 before merging |
b201264
to
4c22b13
Compare
4c22b13
to
b4cc60c
Compare
@cpsievert okay, merge conflicts are fixed now |
inst/examples-shiny/02_text/app.R
Outdated
# App title ---- | ||
title = "Shiny Text", | ||
|
||
# Sidebar panel for inputs ---- | ||
sidebar = sidebar( | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused as to why this newline got removed, but it didn't in 01_hello
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did attempt to add code changes and restore the newlines manually but it was a bit of work so I bailed. So I probably introduced the difference in this line.
I think I'd prefer that. |
@cpsievert okay (most of the useful) newlines are back |
Re-styles the example apps using
grkstyle::grk_style_dir("inst/examples-shiny")
(powered bystyler
and using the tidyverse style rules, with an exception for the style described here).This did have the effect of removing some leading empty lines between the open
(
of a function call and the next comment. I don't think this affects readability, but we could add these newlines back if desired.Note: stacks on top of #4003. We can merge this into #4003 so we can merge the examples changes all at once.