https://github.com/certara/r-style
Certara styling utilities for R
https://github.com/certara/r-style
Last synced: 24 days ago
JSON representation
Certara styling utilities for R
- Host: GitHub
- URL: https://github.com/certara/r-style
- Owner: certara
- License: gpl-2.0
- Created: 2024-03-05T03:04:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-07T20:30:15.000Z (over 2 years ago)
- Last Synced: 2025-10-30T01:55:41.040Z (9 months ago)
- Language: R
- Size: 217 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Certara.StyleR
## Using the library
To use `Certara.StyleR`, simply load the library within an R markdown chunk that includes the option `results='asis'`.
This will print the certara logo at the top and also provide access to the following three texts:
- summary
- datainfo
- guidance
To use any of the above, simply use the following format within an R markdown script:
```
:::summary
Some text can be entered here, including
- bullet points
:::
```
You can use the test file `certaracss_test.Rmd` in this repository to test whether your package was installed correctly.
## Troubleshooting
If the package isn't working as expected, please first check that you are loading the library within a chunk that has `results='asis'`, e.g.
````
```{r results='asis'}
library(Certara.StyleR)
```
````
If you have done that and are still experiencing issues, please file an "issue" on this github page and we will try to address it.
## Install
To install (and verify that installation worked) run the code below in R.
```
library(devtools)
devtools::install_github("certara/R-Style")
library(Certara.StyleR)
```
To uninstall, use the following:
```
remove.packages("Certara.StyleR")
```