Skip to content
Snippets Groups Projects
Commit 97fb58a2 authored by mael.theuliere's avatar mael.theuliere
Browse files

ajout logo

parent ccacf7bd
No related branches found
No related tags found
No related merge requests found
......@@ -3,3 +3,4 @@
^LICENSE\.md$
^dev_history\.R$
^README\.Rmd$
^data-raw$
......@@ -13,7 +13,8 @@ knitr::opts_chunk$set(
)
```
# datalibaba
# datalibaba <img src='man/figures/logo.png' align="right" height="139" />
<!-- badges: start -->
<!-- badges: end -->
......
<!-- README.md is generated from README.Rmd. Please edit that file -->
# datalibaba
# datalibaba <img src='man/figures/logo.png' align="right" height="139" />
<!-- badges: start -->
<!-- badges: end -->
......
## code to prepare `logo` dataset goes here
library(hexSticker)
library(showtext)
font_add_google("Eagle Lake")
library(ggplot2)
p <- ggplot(aes(x = mpg, y = wt), data = mtcars) + geom_point()
p <- p + theme_void() + theme_transparent()
img <- "inst/figures/database.png"
sticker(img, package="datalibaba",
s_width = 0.3,
s_height = 0.3,
p_family = "Eagle Lake",
p_size=20, s_x=1, s_y=.75,
filename="inst/figures/logo.png",
dpi = 400,
h_fill = "#E2B835",
h_color = "#FDCF41")
......@@ -13,6 +13,8 @@ usethis::user_r("post_data.R")
usethis::user_r("get_data.R")
usethis::use_news_md()
usethis::use_readme_rmd()
usethis::use_logo("inst/figures/logo.png")
attachment::att_amend_desc()
devtools::document()
devtools::check()
usethis::use_data_raw("logo")
inst/figures/database.png

12.8 KiB

inst/figures/logo.png

45 KiB

man/figures/logo.png

21 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment