Make hex

devoptera::make_hex is a helper function that generates an echoverse-themed hex sticker using a built-in template.

hex <- devoptera::make_hex(pkg = "devoptera", 
                           save_path = tempfile(fileext = "hex.png"))
## Loading required namespace: hexSticker

Show hex

By default, it saves the sticker at inst/hex/hex.png. Once it’s been created, you can push it to the package’s GitHub repository.

This will then be detected automatically by rworkflows::use_badges() when the argument use_hex=TRUE.

rworkflows::use_badges(ref = "RajLabMSSM/devoptera",
                       add_hex = TRUE)
## Finding hex sticker(s) for 1 package(s).
## Adding license.
## Adding version.
## Adding code size
## Adding commit.
## Adding actions.
## Adding codecov.
## Adding authors.
## When refs is provided, paths must have the same length (or be set to NULL). Setting paths=NULL.

License: GPL-3
R build status
Authors: Brian Schilder
[1] “
(https://img.shields.io/badge/license-GPL--3-blue.svg)](https://cran.r-project.org/web/licenses/GPL-3)\n(https://img.shields.io/github/languages/code-size/RajLabMSSM/devoptera.svg)](https://github.com/RajLabMSSM/devoptera)\n
(https://github.com/RajLabMSSM/devoptera/workflows/rworkflows/badge.svg)](https://github.com/RajLabMSSM/devoptera/actions)\n
Authors: Brian Schilder

Further customisation

For more customised hex stickers, you can make awesome hex stickers for your R packages using:

Session Info

devoptera::session_info()
## ─ Session info ───────────────────────────────────────────────────────────────
##  setting  value
##  version  R Under development (unstable) (2024-03-28 r86224)
##  os       Ubuntu 22.04.4 LTS
##  system   x86_64, linux-gnu
##  ui       X11
##  language en
##  collate  en_US.UTF-8
##  ctype    en_US.UTF-8
##  tz       UTC
##  date     2024-04-01
##  pandoc   3.1.1 @ /usr/local/bin/ (via rmarkdown)
## 
## ─ Packages ───────────────────────────────────────────────────────────────────
##  package       * version     date (UTC) lib source
##  badger          0.2.3       2023-01-28 [1] CRAN (R 4.4.0)
##  Biobase         2.63.1      2024-03-29 [1] Bioconductor 3.19 (R 4.5.0)
##  BiocBaseUtils   1.5.1       2024-03-08 [1] Bioconductor 3.19 (R 4.5.0)
##  BiocCheck       1.39.27     2024-03-25 [1] Bioconductor 3.19 (R 4.5.0)
##  BiocFileCache   2.11.2      2024-03-27 [1] Bioconductor 3.19 (R 4.5.0)
##  BiocGenerics    0.49.1      2023-11-01 [1] Bioconductor
##  BiocManager     1.30.22     2023-08-08 [1] CRAN (R 4.5.0)
##  BiocStyle     * 2.31.0      2023-10-24 [1] Bioconductor
##  biocViews       1.71.1      2023-10-25 [1] Bioconductor
##  bit             4.0.5       2022-11-15 [1] CRAN (R 4.4.0)
##  bit64           4.0.5       2020-08-30 [1] CRAN (R 4.4.0)
##  bitops          1.0-7       2021-04-24 [1] CRAN (R 4.4.0)
##  blob            1.2.4       2023-03-17 [1] CRAN (R 4.4.0)
##  bookdown        0.38        2024-03-04 [1] CRAN (R 4.5.0)
##  bslib           0.7.0       2024-03-29 [2] CRAN (R 4.5.0)
##  cachem          1.0.8       2023-05-01 [2] CRAN (R 4.5.0)
##  cli             3.6.2       2023-12-11 [2] CRAN (R 4.5.0)
##  codetools       0.2-19      2023-02-01 [3] CRAN (R 4.5.0)
##  colorspace      2.1-0       2023-01-23 [1] CRAN (R 4.4.0)
##  curl            5.2.1       2024-03-01 [2] CRAN (R 4.5.0)
##  data.table      1.15.4      2024-03-30 [1] CRAN (R 4.5.0)
##  DBI             1.2.2       2024-02-16 [1] CRAN (R 4.5.0)
##  dbplyr          2.5.0       2024-03-19 [1] CRAN (R 4.5.0)
##  desc            1.4.3       2023-12-10 [2] CRAN (R 4.5.0)
##  devoptera     * 0.99.1      2024-04-01 [1] Bioconductor
##  devtools        2.4.5       2022-10-11 [2] CRAN (R 4.5.0)
##  digest          0.6.35      2024-03-11 [2] CRAN (R 4.5.0)
##  dlstats         0.1.7       2023-05-24 [1] CRAN (R 4.4.0)
##  dplyr           1.1.4       2023-11-17 [1] CRAN (R 4.4.0)
##  ellipsis        0.3.2       2021-04-29 [2] CRAN (R 4.5.0)
##  evaluate        0.23        2023-11-01 [2] CRAN (R 4.5.0)
##  fansi           1.0.6       2023-12-08 [2] CRAN (R 4.5.0)
##  farver          2.1.1       2022-07-06 [1] CRAN (R 4.4.0)
##  fastmap         1.1.1       2023-02-24 [2] CRAN (R 4.5.0)
##  filelock        1.0.3       2023-12-11 [1] CRAN (R 4.4.0)
##  fs              1.6.3       2023-07-20 [2] CRAN (R 4.5.0)
##  generics        0.1.3       2022-07-05 [1] CRAN (R 4.4.0)
##  ggfun           0.1.4       2024-01-19 [1] CRAN (R 4.4.0)
##  ggimage         0.3.3       2023-06-19 [1] CRAN (R 4.4.0)
##  ggplot2         3.5.0       2024-02-23 [1] CRAN (R 4.5.0)
##  ggplotify       0.1.2       2023-08-09 [1] CRAN (R 4.4.0)
##  glue            1.7.0       2024-01-09 [2] CRAN (R 4.5.0)
##  graph           1.81.0      2023-10-24 [1] Bioconductor
##  gridGraphics    0.5-1       2020-12-13 [1] CRAN (R 4.4.0)
##  gtable          0.3.4       2023-08-21 [1] CRAN (R 4.4.0)
##  here            1.0.1       2020-12-13 [1] CRAN (R 4.4.0)
##  hexbin          1.28.3      2023-03-21 [1] CRAN (R 4.4.0)
##  hexSticker      0.4.9       2020-12-05 [1] CRAN (R 4.5.0)
##  highr           0.10        2022-12-22 [2] CRAN (R 4.5.0)
##  htmltools       0.5.8       2024-03-25 [2] CRAN (R 4.5.0)
##  htmlwidgets     1.6.4       2023-12-06 [2] CRAN (R 4.5.0)
##  httpuv          1.6.15      2024-03-26 [2] CRAN (R 4.5.0)
##  httr            1.4.7       2023-08-15 [2] CRAN (R 4.5.0)
##  httr2           1.0.0       2023-11-14 [2] CRAN (R 4.5.0)
##  jquerylib       0.1.4       2021-04-26 [2] CRAN (R 4.5.0)
##  jsonlite        1.8.8       2023-12-04 [2] CRAN (R 4.5.0)
##  knitr           1.45        2023-10-30 [2] CRAN (R 4.5.0)
##  labeling        0.4.3       2023-08-29 [1] CRAN (R 4.4.0)
##  later           1.3.2       2023-12-06 [2] CRAN (R 4.5.0)
##  lattice         0.22-6      2024-03-20 [3] CRAN (R 4.5.0)
##  lifecycle       1.0.4       2023-11-07 [2] CRAN (R 4.5.0)
##  magick          2.8.3       2024-02-18 [1] CRAN (R 4.5.0)
##  magrittr        2.0.3       2022-03-30 [2] CRAN (R 4.5.0)
##  memoise         2.0.1       2021-11-26 [2] CRAN (R 4.5.0)
##  mime            0.12        2021-09-28 [2] CRAN (R 4.5.0)
##  miniUI          0.1.1.1     2018-05-18 [2] CRAN (R 4.5.0)
##  munsell         0.5.0       2018-06-12 [1] CRAN (R 4.4.0)
##  pillar          1.9.0       2023-03-22 [2] CRAN (R 4.5.0)
##  pkgbuild        1.4.4       2024-03-17 [2] CRAN (R 4.5.0)
##  pkgconfig       2.0.3       2019-09-22 [2] CRAN (R 4.5.0)
##  pkgdown         2.0.7       2022-12-14 [1] CRAN (R 4.5.0)
##  pkgload         1.3.4       2024-01-16 [2] CRAN (R 4.5.0)
##  profvis         0.3.8       2023-05-02 [2] CRAN (R 4.5.0)
##  promises        1.2.1       2023-08-10 [2] CRAN (R 4.5.0)
##  purrr           1.0.2       2023-08-10 [2] CRAN (R 4.5.0)
##  R.methodsS3     1.8.2       2022-06-13 [1] CRAN (R 4.4.0)
##  R.oo            1.26.0      2024-01-24 [1] CRAN (R 4.4.0)
##  R.utils         2.12.3      2023-11-18 [1] CRAN (R 4.4.0)
##  R6              2.5.1       2021-08-19 [2] CRAN (R 4.5.0)
##  ragg            1.3.0       2024-03-13 [2] CRAN (R 4.5.0)
##  rappdirs        0.3.3       2021-01-31 [2] CRAN (R 4.5.0)
##  RBGL            1.79.0      2023-10-24 [1] Bioconductor
##  RColorBrewer    1.1-3       2022-04-03 [1] CRAN (R 4.4.0)
##  Rcpp            1.0.12      2024-01-09 [2] CRAN (R 4.5.0)
##  RCurl           1.98-1.14   2024-01-09 [1] CRAN (R 4.4.0)
##  remotes         2.5.0.9000  2024-04-01 [1] Github (r-lib/remotes@ac483e7)
##  renv            1.0.5       2024-02-29 [1] CRAN (R 4.5.0)
##  rlang           1.1.3       2024-01-10 [2] CRAN (R 4.5.0)
##  rmarkdown       2.26        2024-03-05 [1] CRAN (R 4.5.0)
##  rprojroot       2.0.4       2023-11-05 [2] CRAN (R 4.5.0)
##  RSQLite         2.3.6       2024-03-31 [1] CRAN (R 4.5.0)
##  rstudioapi      0.16.0      2024-03-24 [2] CRAN (R 4.5.0)
##  RUnit           0.4.33      2024-02-22 [1] CRAN (R 4.5.0)
##  rvcheck         0.2.1       2021-10-22 [1] CRAN (R 4.4.0)
##  rworkflows      1.0.1       2024-04-01 [1] Github (neurogenomics/rworkflows@9352118)
##  sass            0.4.9       2024-03-15 [2] CRAN (R 4.5.0)
##  scales          1.3.0       2023-11-28 [1] CRAN (R 4.4.0)
##  sessioninfo     1.2.2       2021-12-06 [2] CRAN (R 4.5.0)
##  shiny           1.8.1       2024-03-26 [2] CRAN (R 4.5.0)
##  showtext        0.9-7       2024-03-02 [1] CRAN (R 4.5.0)
##  showtextdb      3.0         2020-06-04 [1] CRAN (R 4.4.0)
##  stringdist      0.9.12      2023-11-28 [1] CRAN (R 4.4.0)
##  stringi         1.8.3       2023-12-11 [2] CRAN (R 4.5.0)
##  stringr         1.5.1       2023-11-14 [2] CRAN (R 4.5.0)
##  sysfonts        0.8.9       2024-03-02 [1] CRAN (R 4.5.0)
##  systemfonts     1.0.6       2024-03-07 [2] CRAN (R 4.5.0)
##  textshaping     0.3.7       2023-10-09 [2] CRAN (R 4.5.0)
##  tibble          3.2.1       2023-03-20 [2] CRAN (R 4.5.0)
##  tidyselect      1.2.1       2024-03-11 [1] CRAN (R 4.5.0)
##  urlchecker      1.0.1       2021-11-30 [2] CRAN (R 4.5.0)
##  usethis         2.2.3       2024-02-19 [2] CRAN (R 4.5.0)
##  utf8            1.2.4       2023-10-22 [2] CRAN (R 4.5.0)
##  vctrs           0.6.5       2023-12-01 [2] CRAN (R 4.5.0)
##  withr           3.0.0       2024-01-16 [2] CRAN (R 4.5.0)
##  xfun            0.43        2024-03-25 [2] CRAN (R 4.5.0)
##  XML             3.99-0.16.1 2024-01-22 [1] CRAN (R 4.4.0)
##  xtable          1.8-4       2019-04-21 [2] CRAN (R 4.5.0)
##  yaml            2.3.8       2023-12-11 [2] CRAN (R 4.5.0)
##  yulab.utils     0.1.4       2024-01-28 [1] CRAN (R 4.4.0)
## 
##  [1] /__w/_temp/Library
##  [2] /usr/local/lib/R/site-library
##  [3] /usr/local/lib/R/library
## 
## ──────────────────────────────────────────────────────────────────────────────