-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* template code for hexsticker * create traits.build hex * Moved hex into folder that can be accessed by README and pkgdown --------- Co-authored-by: Daniel Falster <[email protected]> Co-authored-by: Fonti Kar <[email protected]>
- Loading branch information
1 parent
fcd7cde
commit 9d33a1c
Showing
5 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
|
||
f <- function(filename) { | ||
p <- ggplot() + theme_void() + ggpubr::theme_transparent() | ||
|
||
#p <- file.path("logo_green_transparent.png") | ||
|
||
hexSticker::sticker(p, | ||
package="traits.build", | ||
p_color = "chartreuse4", | ||
p_size=25, | ||
p_y = 1.05, | ||
s_x=.94, s_y=1.02, | ||
s_width=.75, s_height = .75, | ||
h_fill = "white", h_color = "chartreuse4", | ||
filename=filename) | ||
} | ||
|
||
f("traits_build_hex2.png") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.