Skip to content

Error with download_file when there are no code chunks #24

@weiyangtham

Description

@weiyangtham

I get the following error message when I upload then download a file with no code chunks at all.

Error in seq_len(nrow(chunk_info)) : argument must be coercible to non-negative integer

I attached a simple R Markdown example as a .txt file.
trackdown.txt
Even just adding a completely empty chunk without a label seems to solve the problem.

This doesn't seem to be a problem if you upload a .rmd file that has code chunks then delete the chunk labels in the Google Doc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions