You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Back to not-centered argument names in documentation #13106
This is just a suggest. In my opinion, centering the names of the arguments in the help panel could lead missunderstandings in some functions. For instance, the function rmarkdown::word_document has arguments with large explainations that includes periods, so it is not clear to find out where starts/ends the definition of some of the arguments.
Reacted by Jan Netík, Desi Quintans, Cath Blatter, Josh, ismirsehregal and Etienne Bacher
Ah, this is a change in R 4.3.0 (my prior post was testing with R 4.2.3). Given that this is due to a change in R, not RStudio, I would recommend filing a bug with the R Core team. We could consider modifying the CSS to preserve the old presentation, though.
Honestly, it is not clear to me. Because when I use the command ?rmarkdown::word_document in RGui of R 4.3.0, shows me an HTML with the argument names at the top. It is just in RStudio when I see the issue, so I do not how the R Core Team will treat an issue that I can only reproduce in RStudio (but not in RGui or terminal).
Activity
ronblum commentedon May 11, 2023
@LuisLauM Thank you for raising this! As a comparison point, the help from standalone R is top-justified.
LuisLauM commentedon May 11, 2023
Yes or maybe just like the terminal version (in line with the text).
kevinushey commentedon May 11, 2023
The argument names appear to be top-justified for me:
This is with 2023.05.0 Build 325. Can you provide more details?
kevinushey commentedon May 11, 2023
Ah, this is a change in R 4.3.0 (my prior post was testing with R 4.2.3). Given that this is due to a change in R, not RStudio, I would recommend filing a bug with the R Core team. We could consider modifying the CSS to preserve the old presentation, though.
kevinushey commentedon May 11, 2023
For reference, R used to set
vertical-align: topon the table rows. This is part of the HTML generated with R 4.2.3:But with R 4.3.0, I see:
LuisLauM commentedon May 11, 2023
Honestly, it is not clear to me. Because when I use the command
?rmarkdown::word_documentin RGui of R 4.3.0, shows me an HTML with the argument names at the top. It is just in RStudio when I see the issue, so I do not how the R Core Team will treat an issue that I can only reproduce in RStudio (but not in RGui or terminal).ronblum commentedon Aug 21, 2023
Verified in RStudio Desktop 2023.09.0-daily+348 on MacOS 14 using R 3.6.3, 4.2.3, and 4.3.1.
joshua-theisen commentedon Sep 11, 2023
I'm still having this issue with this system:
Rstudio information
RStudio 2023.06.2 Build 561
"Mountain Hydrangea" Release (de44a31, 2023-08-25) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko)
RStudio/2023.06.2+561
Chrome/110.0.5481.208
Electron/23.3.0
Safari/537.36
ronblum commentedon Sep 11, 2023
@joshua-theisen This is fixed in the upcoming release, currently in progress. Builds for it are available at http://dailies.rstudio.com. Please note that these are for test and development purposes only, not production use.
joshua-theisen commentedon Sep 11, 2023
My apologies, I just downloaded 2023.06.2 and missed the detail that your fix is in the daily build. Thanks for your great work!
ronblum commentedon Sep 11, 2023
@joshua-theisen No problem—thanks for catching this, regradless. 🙂