在FlexDashboard HTML中显示的YAML位

时间:2017-08-02 14:49:32

标签: r shiny yaml rstudio flexdashboard

我在flexdashboard HTML中获取了YAML代码位:

flexdashboard

图片不清楚:它说:

$(document).ready(function () { FlexDashboard.init({ theme: "flatly", fillPage: true, orientation: "columns", storyboard: false, defaultFigWidth: 576, defaultFigHeight: 460, defaultFigWidthMobile: 360, defaultFigHeightMobile: 460 }); });

我的YAML标题如下所示:

---
title: "my title"
date: '`r format(Sys.time(), "%B %d, %Y")`'
output: 
  flexdashboard::flex_dashboard:
    theme: flatly
    logo: Figures/logo.png
    favicon: Figures/favicon.ico
    orientation: column
    source_code: embed
    vertical_layout: fill
    self_contained: true
    navbar:
      - { title: "Data Dictionary", href: "example.html", align: right }    
---

不幸的是,我无法重现这一点。我想知道是否有人知道造成这种情况的原因是什么?

0 个答案:

没有答案