Learn R Programming

card.pro (version 2.3.0)

use.cardpro: Include stylesheets and scripts

Description

Use the package scripts and stylesheets in a page

Usage

use.cardpro(
  theme = letters[1:5],
  jquery = FALSE,
  jqueryui = TRUE,
  fontawesome = FALSE,
  template = "bundle",
  fix.header = FALSE
)

Value

A list of files to be inserted in the header of a page

Arguments

theme

The template type

jquery

option. logical. include jquery

jqueryui

option. logical. include jquery UI

fontawesome

option. logical. include fontawesome

template

template folder

fix.header

logical. fix header if titlePanel2() is used in UI

Examples

Run this code
if(interactive()){
use.cardpro()
use.cardpro(theme="a",jqueryui = TRUE, fontawesome = FALSE)
}

Run the code above in your browser using DataLab