Skip to content

set_collapse with mask=all and quarto/knitr fail #647

Description

@DMozzanica

I don’t know if the issue is on the collapse side or on the Quarto side…

Executing a Quarto document with set_collapse(nthreads = 4, mask = "all") fails with the following error:

Processing file: prova.txt
|.......................................... | 80% [unnamed-chunk-2]Error in names<-:
! tentativo di impostare un attributo a NULL
Backtrace:

  1. global .main()
  2. execute(...)
  3. rmarkdown::render(...)
  4. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  5. knitr:::process_file(text, output)
    ...
  6. FUN(X[[i]], ...)
  7. knitr:::sew.source(x, options, ...)
  8. (knit_hooks$get("source"))(src, options)
  9. create_fence(x, "`")
  10. collapse::fmax.default(...)

Quitting from lines 14-15 [unnamed-chunk-2] (prova.qmd)

Attached you can find the file.

Best regards,
Domenico Mozzanica
prova.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions