| Title: | A Wrapper for the Node.js 'Jdenticon' Library |
|---|---|
| Description: | A Wrapper for the Node.js 'Jdenticon' <https://jdenticon.com/> Library. Uses 'esbuild' <https://esbuild.github.io/> to reduce user dependencies. |
| Authors: | Matt Roumaya [aut, cre, cph] (ORCID: <https://orcid.org/0000-0002-8009-2771>), Richard D. Morey [ctb] (ORCID: <https://orcid.org/0000-0001-9220-3179>) |
| Maintainer: | Matt Roumaya <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.1.1 |
| Built: | 2026-06-07 08:43:53 UTC |
| Source: | https://github.com/mattroumaya/jdenticon |
Create a Jdenticon.
jdenticon( value = NULL, filePath = tempdir(), fileName = glue::glue("jdenticon_{size}_{value}"), size = "100", config = NULL, type = "png", preview = interactive() && Sys.getenv("RSTUDIO") == "1", return_list = FALSE )jdenticon( value = NULL, filePath = tempdir(), fileName = glue::glue("jdenticon_{size}_{value}"), size = "100", config = NULL, type = "png", preview = interactive() && Sys.getenv("RSTUDIO") == "1", return_list = FALSE )
value |
|
filePath |
|
fileName |
|
size |
|
config |
list of jdenticon configuration options (see the jdenticon documentation) |
type |
Image type (default 'png', or 'svg') |
preview |
|
return_list |
|
Path to Jdenticon icon file, or (if return_list is true) a list with all parameters (including path).
## Not run: jdenticon(value = 'mango') ## End(Not run)## Not run: jdenticon(value = 'mango') ## End(Not run)
Install jdenticon npm dependency.
jdenticon_npm_install(force = FALSE)jdenticon_npm_install(force = FALSE)
force |
|
Updated inst/node_modules folder.
## Not run: jdenticon_npm_install(force = TRUE) ## End(Not run)## Not run: jdenticon_npm_install(force = TRUE) ## End(Not run)