You can make awesome hex stickers for your R packages using hexSticker.

phenomix

Subplot image from Geneshot_ontologies project.

img1 <- "inst/images/geneshot.UMAP.layer2.pdf"
# img2 <- "../images/phoenix_pixel.png"

sticker(subplot = img1, package="phenomix", p_size=20, s_x=1, s_y=.7,  s_width = .8,
        h_fill = "black", h_color = "cyan",spotlight = FALSE, white_around_sticker=TRUE,
        filename="inst/hex/phenomix.png")

Session Info

utils::sessionInfo()
## R version 4.1.0 (2021-05-18)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 20.04.2 LTS
## 
## Matrix products: default
## BLAS/LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.8.so
## 
## locale:
##  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
##  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=C             
##  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
##  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
## [1] ggplot2_3.3.5    dplyr_1.0.7      hexSticker_0.4.9
## 
## loaded via a namespace (and not attached):
##  [1] tidyselect_1.1.1    xfun_0.24           bslib_0.2.5.1      
##  [4] purrr_0.3.4         lattice_0.20-44     colorspace_2.0-2   
##  [7] vctrs_0.3.8         generics_0.1.0      htmltools_0.5.1.1  
## [10] yaml_2.2.1          utf8_1.2.1          gridGraphics_0.5-1 
## [13] rlang_0.4.11        pkgdown_1.6.1       hexbin_1.28.2      
## [16] jquerylib_0.1.4     pillar_1.6.1        withr_2.4.2        
## [19] glue_1.4.2          DBI_1.1.1           rvcheck_0.1.8      
## [22] lifecycle_1.0.0     stringr_1.4.0       munsell_0.5.0      
## [25] gtable_0.3.0        ragg_1.1.3          memoise_2.0.0      
## [28] evaluate_0.14       knitr_1.33          fastmap_1.1.0      
## [31] fansi_0.5.0         Rcpp_1.0.7          scales_1.1.1       
## [34] BiocManager_1.30.16 showtext_0.9-2      cachem_1.0.5       
## [37] desc_1.3.0          magick_2.7.2        jsonlite_1.7.2     
## [40] sysfonts_0.8.3      systemfonts_1.0.2   fs_1.5.0           
## [43] textshaping_0.3.5   digest_0.6.27       stringi_1.7.3      
## [46] showtextdb_3.0      grid_4.1.0          rprojroot_2.0.2    
## [49] ggimage_0.2.8       here_1.0.1          tools_4.1.0        
## [52] magrittr_2.0.1      sass_0.4.0          tibble_3.1.2       
## [55] crayon_1.4.1        pkgconfig_2.0.3     ellipsis_0.3.2     
## [58] ggplotify_0.0.7     assertthat_0.2.1    rmarkdown_2.9      
## [61] R6_2.5.0            compiler_4.1.0