diff --git a/logo/Scythe_logo.R b/logo/Scythe_logo.R deleted file mode 100644 index 227d509..0000000 --- a/logo/Scythe_logo.R +++ /dev/null @@ -1,57 +0,0 @@ -### Logo for Scythe Package -### Althea Marks -### Created 2022_3_16 - -## Install packages - -#install.packages("sysfonts") -#install.packages("magick") -#install.packages("hexSticker") -#install.packages("tidyverse") -#install.packages("showtext") - -library(magick) -library(hexSticker) -library(sysfonts) -library(tidyverse) - -## Construct hex sticker logo - -# Use image from Wikimedia commons -# https://commons.wikimedia.org/wiki/File:Glazed_pottery_tile,_blue_and_white_decor_of_a_man_with_a_scythe_01.jpg -# 17th century earthenware. Cultural heritage Agency of the Netherlands Art Collection -wikicomm_image <- "man/figures/logo_image_2022_03_29.png" - -library(showtext) -# Loading Google fonts (http://www.google.com/fonts) -font_add_google("Architects Daughter", "AD") - -showtext_auto() - -scythe_logo <- sticker(wikicomm_image, #subplot image - s_x = 1.1, #subplot position relative to 1(center) - s_y = 1.1, - s_width = 0.5, - s_height = 0.5, - package = "Scythe", #text displayed for package name - h_fill = "white", - p_family = "AD", - p_size = 75, #font size - p_x = 1, # position font - p_y = 0.45, - p_color = "grey20", - dpi = 1000, # plot resolution - asp = 1, # aspect ratio of image file - h_color = "grey20", # boarder color - h_size = 3, # boarder size - white_around_sticker = T, - spotlight = F, - filename = "man/figures/logo.png") - -scythe_logo - -## Build favicons of logo -# build_favicons(pkg = ".", overwrite = FALSE) - -## Check tests and package structure -devtools::check(cran=TRUE) \ No newline at end of file diff --git a/man/figures/Glazed_pottery_tile_man_with_a_scythe_01.jpg b/man/figures/Glazed_pottery_tile_man_with_a_scythe_01.jpg deleted file mode 100644 index 9095f12..0000000 Binary files a/man/figures/Glazed_pottery_tile_man_with_a_scythe_01.jpg and /dev/null differ diff --git a/man/figures/logo.png b/man/figures/logo.png deleted file mode 100644 index b3ec3a0..0000000 Binary files a/man/figures/logo.png and /dev/null differ diff --git a/man/figures/logo_image_2022_03_29.png b/man/figures/logo_image_2022_03_29.png deleted file mode 100644 index 7c83ad4..0000000 Binary files a/man/figures/logo_image_2022_03_29.png and /dev/null differ