The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Title: A Wrapper for the Node.js 'Jdenticon' Library
Version: 0.1.1
Description: A Wrapper for the Node.js 'Jdenticon' https://jdenticon.com/ Library. Uses 'esbuild' https://esbuild.github.io/ to reduce user dependencies.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.2.1
Suggests: testthat (≥ 3.0.0)
Config/testthat/edition: 3
Imports: fs, processx, yesno, magick, glue, jsonlite
NeedsCompilation: no
Packaged: 2023-04-24 12:55:33 UTC; matthewroumaya
Author: Matt Roumaya ORCID iD [aut, cre, cph], Richard D. Morey ORCID iD [ctb]
Maintainer: Matt Roumaya <matthewroumaya@gmail.com>
Repository: CRAN
Date/Publication: 2023-04-24 17:10:02 UTC

Create a Jdenticon.

Description

Create a Jdenticon.

Usage

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
)

Arguments

value

character Value to be converted to hexadecimal hash to render Jdenticon. Cannot contain characters that are reserved for filepaths:

filePath

character File path to save Jdenticon .png to. If NULL, defaults to current working directory.

fileName

character File name to save Jdenticon .png as. If NULL, defaults to ⁠temp_jdenticon_{value}⁠.

size

numeric Size of Jdenticon. Default == 100.

config

list of jdenticon configuration options (see the jdenticon documentation)

type

Image type (default 'png', or 'svg')

preview

boolean Preview Jdenticon in viewer pane?

return_list

boolean Return full list object with all settings?

Value

Path to Jdenticon icon file, or (if return_list is true) a list with all parameters (including path).

Examples

## Not run: 
jdenticon(value = 'mango')

## End(Not run)


Install jdenticon npm dependency.

Description

Install jdenticon npm dependency.

Usage

jdenticon_npm_install(force = FALSE)

Arguments

force

boolean If TRUE, automatically proceeds with npm installation. If FALSE (default), prompts user before proceeding with npm installation.

Value

Updated inst/node_modules folder.

Examples

## Not run: 
jdenticon_npm_install(force = TRUE)

## End(Not run)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.