Skip to content

R file produced by rjournal_article is not replaced by new one #394

@cderv

Description

@cderv

We forgot to set overwrite = FALSE here I think:

file.copy(output_R, xfun::with_ext(filename, "R"))

Meaning that the new purled R file was not copied to the output dir unless the previous one was cleaned. No error or warning issued with file.copy in this case...

That is nasty bug I think. But with an easy fix

Thanks @apreshill for finding this

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