croneditor-shiny {shinycroneditor}R Documentation

Shiny bindings for cron editor

Description

Output and render functions for using cron editor within 'shiny' applications and interactive 'rmarkdown' documents.

Usage

cronOutput(
  outputId,
  label = NULL,
  language = "en-US",
  width = "100%",
  height = NULL
)

renderCron(expr, env = parent.frame(), quoted = FALSE)

Arguments

outputId

output variable to read from

label

The label to show, just like in a regular Shiny input element. Set to NULL if you don't want a label.

language

The language the cron editor's UI will be in. Choose one of en-US, nl-NL, es-ES, zh-CN. Note that if you have multiple cron editors on one page, the last editor's language will be the one for all editors.

width, height

Must be a valid CSS unit (like '100%', '400px', 'auto') or a number, which will be coerced to a string and have 'px' appended.

expr

An expression that generates a test

env

The environment in which to evaluate expr.

quoted

Is expr a quoted expression (with quote())? This is useful if you want to save an expression in a variable.

Value

An 'htmlwidgets' object for use in a shiny app, containing a placeholder for where the cron input element is rendered.

A 'htmlwidgets' object for use in a 'shiny' app as an input element


[Package shinycroneditor version 1.0.0 Index]