createSessionName function

Create a unique GUI session name from a string of characters

Create a unique GUI session name from a string of characters

This is used in mirtCAT to create a random session name so that shiny knows which environment to select objects from when multiple CAT sessions have been initialized.

createSessionName(n = 30, datetime = TRUE)

Arguments

  • n: number of upper/lower characters to sample
  • datetime: logical; include the current date/time the function was called in the string as well? This further helps with the uniqueness of the generated string

Returns

a list containing the internal environmental components for mirtCAT