rum
r template for RStudio from your friends at the University of Miami.
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
2 of 3 committers (66.7%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.7%) to scientific vocabulary
Keywords
Repository
r template for RStudio from your friends at the University of Miami.
Basic Info
- Host: GitHub
- Owner: RaymondBalise
- License: other
- Language: R
- Default Branch: master
- Homepage: https://raymondbalise.github.io/rUM/
- Size: 8.3 MB
Statistics
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 5
- Releases: 2
Topics
Metadata Files
README.md
<!-- badges: start -->
<!-- -->
<!--
-->
<!-- badges: end -->
rUM 
This is a collection of R things from your friends at UM (The University of Miami).
To see a tutorial video on rUM check out our presentation at R Medicine 2025{target="_blank"}.
rUM includes:
A research project template. It creates a new RStudio project that has your choice of an
analysis.qmdQuarto file oranalysis.RmdR markdown file that load the tidyverse and conflicted packages and set many useful default details. These files can also include example tables and figures.rUMstreamlines creating a package that include a paper outline with themake_package()function.rUMhelps with project documentation files (write_readme()andwrite_notes()), and Quarto styling files (write_scss()).💥 NEW in Version 2.2.0 (rUM Runner) 💥
rUMcan make documentation/manual pages for datasets with thewrite_man()function.rUMnow includes templates to produce slide decks with thewrite_slides()function. There are now functions (find_slides()andshow_slides()) to find and render/show slides that are included with a package.write_quarto()now accepts anexampleargument. If this is set toTRUE, then it will use the Quarto paper template with examples of a table and figure with cross-referencing. If this isFALSE, then it will use the Quarto paper template without examples for tables. The default value isNULLand will provide a minimal Quarto template. See?write_quarto()for more documentation.
How do I add rUM?
Modern versions of the RStudio interface (v2022.07 or later) ships with Quarto; update to the most recent version of RStudio here. You can install the latest version of Quarto directly from here.
Then you should run this in the console of RStudio:
r
if (!requireNamespace("remotes")) install.packages("remotes")
remotes::install_cran("rUM")
If you would like the (unstable) development version, use the following code instead:
r
if (!requireNamespace("remotes")) install.packages("remotes")
remotes::install_github("RaymondBalise/rUM")
Can I make a R package that includes my paper as a vignette?
Yes! When you use the make_project() function set vignette = TRUE. See the "Make a Package" vignette which ships with rUM. Run this line vignette("Make a Package", package = "rUM") to see it now.
Can I make a Quarto based vignette?
Yes! If you would like to write a Quarto vignette you need have Quarto version 1.4.549 or higher. You can check your version with quarto::quarto_version(). You can install the latest version of Quarto directly from here.
Where can I get rUM?
https://raymondbalise.github.io/rUM/
https://github.com/RaymondBalise/rUM
How do I make rUM research project?
- Use File > New Project > New Directory
- Scroll down and then click rUM Research Project Template
- Specify where you want your research project to be saved.
How do change the reference style for my paper?
The default reference style is the New England Journal of Medicine. The style is set by the Citation Style Language (csl:) option near the top of the file. To use a different style, download a csl file from https://www.zotero.org/styles/ into the folder with your analysis file. Then change the-new-england-journal-of-medicine.csl to the name of the file you downloaded.
How do I control what files appear in my reference section?
The analysis file includes this code near the bottom:
c(
.packages(),
"rUM",
"table1"
),
If you want to acknowledge a package that is not used directly in your analysis file, add its name inside of the c() function. The authors of the packages that you used for exploratory data analysis will thank you.
After you knit/render the analysis file once the packages will appear in the "packages.bib" file in the same directory/folder as your analysis file. If you are using the RStudio Visual Editor, put the cursor when you want to add the citation, then use the Insert Menu and choose @ Citation... and pick the article. If you are using the Visual Studio Source Editor, open the "packages.bib" file, find the manual reference for the package that you want to add and copy it. For example, if you needed to add a reference to the rUM package you would find this line:
@Manual{R-rUM
and copy the reference name. Here the name is R-rUM. Paste that where you want the citation like this [@R-rUM].
How do I use rUM for R Markdown headers?
- Use File > New File > RMarkdown...
- Click From Template
- Choose a template
- html2 with rUM
- html2 Details with rUM
- pdf2 showing LaTeX with rUM
- bookdown_site with rUM
This will create a new subdirectory in your current working directory with the same name as the name of the .Rmd file you specified. Within this directory, you will find the analysis R Markdown file. For example, if you created an R Markdown file called wrangle_cytometry_data.Rmd with the steps above, then your current directory will now have a subdirectory called wrangle_cytometry_data/ which will contain the file wrangle_cytometry_data.Rmd and any subsequent files from the knitting process (such as .PDF, .html, or .docx files created by knitting the RMarkdown document).
What are the headers?
html2 with rUM
This is a basic web page
html2 Details with rUM
This shows a table of contents
pdf2 showing LaTeX with rUM
PDF report where table and figures don't float to other pages. Many thanks to https://stackoverflow.com/questions/16626462/figure-position-in-markdown-when-converting-to-pdf-with-knitr-and-pandoc
bookdown_site with rUM
A bookdown website with a good table of contents for a book
Owner
- Name: Raymond R. Balise, PhD
- Login: RaymondBalise
- Kind: user
- Location: Miami, Florida
- Company: University of Miami
- Website: https://derailment.netlify.com/
- Twitter: raymondBalise
- Repositories: 5
- Profile: https://github.com/RaymondBalise
Associate Professor, Biostatistics
GitHub Events
Total
- Create event: 22
- Release event: 2
- Issues event: 20
- Watch event: 1
- Delete event: 21
- Issue comment event: 20
- Push event: 289
- Gollum event: 2
- Pull request review comment event: 79
- Pull request review event: 85
- Pull request event: 37
Last Year
- Create event: 22
- Release event: 2
- Issues event: 20
- Watch event: 1
- Delete event: 21
- Issue comment event: 20
- Push event: 289
- Gollum event: 2
- Pull request review comment event: 79
- Pull request review event: 85
- Pull request event: 37
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Raymond R. Balise | b****e@m****u | 84 |
| Kyle Grealis | k****s@i****m | 26 |
| Gabriel J. Odom | g****m@f****u | 16 |
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 45
- Total pull requests: 58
- Average time to close issues: 6 months
- Average time to close pull requests: 11 days
- Total issue authors: 8
- Total pull request authors: 4
- Average comments per issue: 0.31
- Average comments per pull request: 0.45
- Merged pull requests: 44
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 13
- Pull requests: 38
- Average time to close issues: 4 months
- Average time to close pull requests: 10 days
- Issue authors: 4
- Pull request authors: 2
- Average comments per issue: 0.54
- Average comments per pull request: 0.24
- Merged pull requests: 28
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- RaymondBalise (28)
- kyleGrealis (6)
- wdefreit (2)
- gabrielodom (2)
- pxb591 (1)
- focardozom (1)
- higgi13425 (1)
- labouz (1)
- mponzini (1)
Pull Request Authors
- kyleGrealis (43)
- RaymondBalise (21)
- gabrielodom (1)
- focardozom (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 427 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 7
- Total maintainers: 1
cran.r-project.org: rUM
R Templates from the University of Miami
- Homepage: https://raymondbalise.github.io/rUM/
- Documentation: http://cran.r-project.org/web/packages/rUM/rUM.pdf
- License: MIT + file LICENSE
-
Latest release: 2.2.0
published 11 months ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.5 depends
- conflicted * imports
- rlang * imports
- tidyverse * imports
- usethis * imports
- bookdown * suggests
- knitr * suggests
- rmarkdown * suggests
- table1 * suggests
- tidymodels * suggests
- tinytex * suggests