Skip to contents

This function is generally only called internally by generate_shiny().

Usage

create_about(
  dataset_name,
  date = format(Sys.Date(), "%d %b %Y"),
  citation = "",
  osf_link = "",
  contact = "",
  list_packages = TRUE,
  bayesian = FALSE,
  meta = FALSE
)

Arguments

dataset_name

Name of the dataset

date

Date of the last update. Defaults to the current date.

citation

Citation requested by the author. Defaults to an empty string.

Link to the OSF (or similar) project where data and materials are available. Defaults to an empty string.

contact

Contact information, typically email. Defaults to an empty string.

list_packages

Should all packages used by the app be listed on the About page? If TRUE, it lists the packages used in the default configuration. To display different packages (e.g., because you added/removed models), pass a character vector with all packages to display.

bayesian

Is the optional Bayesian model enabled? If so, the default list includes bayesmeta.

meta

Does author model code use meta? If so, the default list includes it.

Value

HTML code for the About panel of the Shiny app