在 YAML 中设置日期格式后如何呈现四开本书籍?

Eva*_*Eva 5 yaml r rstudio quarto

我正在尝试在 RStudio 中创建一本四开本书籍。当我在 YAML 中添加日期格式时,无法呈现该书。当我删除日期格式字段时,我可以成功渲染它。示例 YAML 规范(在_quarto.yml项目文件中)如下:

project:
  type: book

book:
  title: "A Sample Book Title"
  author: 
    - name: "Eva"
  date: today
  #date-format: "MMM D, YYYY"
  page-footer:
    border: true
  chapters:
    - index.qmd
    - intro.qmd
    - summary.qmd
    - references.qmd

bibliography: references.bib
nocite: |
  @*

format:
  html:
    theme: cosmo
  pdf:
    documentclass: scrreprt
    fig-align: center
    fig-width: 6
    fig-height: 5
    fig-pos: 'h'
    fig-cap-location: bottom
    tbl-cap-location: top
    pdf-engine: lualatex
    keep-tex: true
    linestretch: 1.5
    toc: true
    toc-depth: 2
    toc-title: Contents
    lof: true
    lot: true
    number-sections: true
    number-depth: 6
    colorlinks: true
    cite-method: biblatex
    csl: apa7.csl
    callout-appearance: simple
    callout-icon: true
Run Code Online (Sandbox Code Playgroud)

当我保留日期格式字段的注释时,我可以以任何格式(HTML/PDF)呈现这本书,但是当我取消注释日期格式时,我无法将其呈现为任何格式。

我的四开本版本是1.2.90,RStudio 版本是

RStudio 2022.11.0-daily+170 "Elsbeth Geranium" Daily (7d3b494aefefb25c1b943137678c620c3b60a736, 2022-09-08) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2022.11.0-daily+170 Chrome/102.0.5005.167 Electron/19.0.10 Safari/537.36
Run Code Online (Sandbox Code Playgroud)