1

编织 papaja 包生成的 word 文档后,图形名称重复,请参见那里。请问有谁知道如何解决这个问题?

papaja版本如下:0.1.0.999

可重现的代码如下:

---
title             : "The title"
shorttitle        : "Title"

author: 
  - name          : "First Author"
    affiliation   : "1"
    corresponding : yes    # Define only one corresponding author
    address       : "Postal address"
    email         : "my@email.com"
    role:         # Contributorship roles (e.g., CRediT, https://casrai.org/credit/)
      - Conceptualization
      - Writing - Original Draft Preparation
      - Writing - Review & Editing
  - name          : "Ernst-August Doelle"
    affiliation   : "1,2"
    role:
      - Writing - Review & Editing

keywords          : "keywords"
wordcount         : "X"

bibliography      : ["r-references.bib"]

floatsintext      : no
figurelist        : no
tablelist         : no
footnotelist      : no
linenumbers       : yes
mask              : no
draft             : no

documentclass     : "apa6"
classoption       : "man"
output            : papaja::apa6_docx
---
    
    ```{r setup, include = FALSE}
     library("papaja")
     r_refs("r-references.bib")
    ```

    (ref:my-figure1-caption) this is figure 1

    ```{r my-figure1, echo=FALSE, fig.cap="(ref:my-figure1-caption)"}
    plot(mtcars)
    ```

    (ref:my-figure2-caption) This is figure 2

    ```{r my-figure2, echo=FALSE, fig.cap="(ref:my-figure2-caption)"}
    plot(mtcars$mpg)
    ```
4

0 回答 0