Skip to content

Commit 68f738c

Browse files
add logo and favicons
1 parent 2aa4ef1 commit 68f738c

14 files changed

Lines changed: 396 additions & 2 deletions

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
^pkgdown$
99
references.bib
1010
^codecov\.yml$
11+
^data-raw$

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ knitr::opts_chunk$set(
1414
)
1515
```
1616

17-
# ricci
17+
# ricci <a href="https://lschneiderbauer.github.io/ricci/"><img src="man/figures/logo.svg" align="right" height="139" alt="ricci website" /></a>
1818

1919
<!-- badges: start -->
2020

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<!-- README.md is generated from README.Rmd. Please edit that file -->
33

4-
# ricci
4+
# ricci <a href="https://lschneiderbauer.github.io/ricci/"><img src="man/figures/logo.svg" align="right" height="139" alt="ricci website" /></a>
55

66
<!-- badges: start -->
77

data-raw/hex_logo.R

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
## code to prepare `hex_logo` dataset goes here
2+
3+
# Latex code:
4+
# R_{\;\;ci}^{ic}
5+
6+
# svg generated with https://viereck.ch/latex-to-svg/
7+
# hex plot and svg text merged with inkscape
8+
9+
library(hexSticker)
10+
library(ggplot2)
11+
12+
bg <- "white"
13+
14+
plot <-
15+
ggplot() +
16+
theme_void() +
17+
theme(legend.position = "none")
18+
19+
plot
20+
21+
sticker(
22+
plot,
23+
s_x = 1,
24+
s_y = 1,
25+
s_width = 1.6,
26+
s_height = 1.6,
27+
h_fill = bg,
28+
h_color = "black",
29+
package = "",
30+
filename = "ricci.svg"
31+
)
32+

0 commit comments

Comments
 (0)