错误:未提供 html_dependency 的路径 R Markdown selectInput

crn*_*rns 8 markdown r input

我的 R Markdown 项目有问题。我无法添加选择输入甚至滑块输入。当我单击“构建网站”时,我收到此错误消息:错误:未提供 html_dependency 的路径执行已停止我看了很多主题,但无法解决我的问题。

你能帮助我吗 ?先感谢您 !

---
  title: "Untitled"
  author: "qc"
  date: "May 30, 2017"
  output: flexdashboard::flex_dashboard

---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(flexdashboard)
library(ggplot2)
library(shiny)
library(datasets)
```
Run Code Online (Sandbox Code Playgroud)

输入 {.sidebar}

```{r, echo=FALSE}

inputPanel(
radioButtons("category",label= "Select  Category",choices=c("diffPts","diffGF","diffGA","diffGD","diffpos"),inline = TRUE),

selectInput("dataset","Choose :", 
              choices = c("ezce","efzf","zef"))



```
Run Code Online (Sandbox Code Playgroud)

use*_*752 3

首先,您错过了运行时:在 Rmd 文件的开头闪亮 其次,您错过了 inputPanel 中的关闭“)”

---

title: "Untitled"
author: "qc"
date: "May 30, 2017"
output: flexdashboard::flex_dashboard
runtime: shiny

---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library(flexdashboard)
library(ggplot2)
library(shiny)
library(datasets)
```

Column {.sidebar}
-------------------------------------
```{r, echo=FALSE}

inputPanel(radioButtons("category",label= "Select  Category",choices=c("diffPts","diffGF","diffGA","diffGD","diffpos"),inline = TRUE))



selectInput("dataset","Choose :", 
              choices = c("ezce","efzf","zef"))



```
Run Code Online (Sandbox Code Playgroud)