【发布时间】:2021-04-29 11:28:17
【问题描述】:
大家好,我想在我的 .Rmd 文档中包含一个用于代码折叠的用户切换。我正在使用输出:github_document,我发现可以使用 html_documents (as described here) 执行此操作,但是当我将命令包含在我的 github_document 中时出现错误...
---
title: "example"
author: "this guy"
date: "20/01/2021"
output:
github_document:
code_folding: hide
---
编织文档会导致错误。
Error in (function (toc = FALSE, toc_depth = 3, number_sections = FALSE, :
unused argument (code_folding = "hide")
Calls: <Anonymous> -> create_output_format -> do.call
Execution halted
我是缺少一个包还是它在 .Rmd 文件期间无法用于 github_documents?
【问题讨论】:
标签: github r-markdown