The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Centralize brand guidelines in a single ‘brand.yml’ file, enabling consistent theming across Quarto, Shiny, R applications, reports, and presentations with minimal configuration.
Install the latest release of brand.yml from CRAN with:
install.packages("brand.yml")You can install the development version of brand.yml from GitHub with:
# install.packages("pak")
pak::pak("posit-dev/brand-yml/pkg-r")Alternatively, you can install from posit-dev.r-universe.dev with:
install.packages(
'brand.yml',
repos = c('https://posit-dev.r-universe.dev', 'https://cloud.r-project.org')
)Use read_brand_yml() to read in a brand.yml file into a
validated and consistent R list. You can provide a path to a local file,
or read_brand_yml() will look for a _brand.yml
file in your project.
library(brand.yml)
brand <- read_brand_yml(
system.file("examples", "brand-posit.yml", package = "brand.yml")
)
brand$color |> str()
#> List of 12
#> $ palette :List of 7
#> ..$ blue : chr "#447099"
#> ..$ orange : chr "#EE6331"
#> ..$ gray : chr "#404041"
#> ..$ white : chr "#FFFFFF"
#> ..$ teal : chr "#419599"
#> ..$ green : chr "#72994E"
#> ..$ burgundy: chr "#9A4665"
#> $ foreground: chr "#151515"
#> $ background: chr "#FFFFFF"
#> $ primary : chr "#447099"
#> $ secondary : chr "#707073"
#> $ tertiary : chr "#C2C2C4"
#> $ success : chr "#72994E"
#> $ info : chr "#419599"
#> $ warning : chr "#EE6331"
#> $ danger : chr "#9A4665"
#> $ light : chr "#FFFFFF"
#> $ dark : chr "#404041"These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.