Closed cderv closed 2 years ago
@Enchufa2 I have made a PR with the second solution. If you want to try and give your thoughts you are more than welcome. Thank you!
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
This was originally posted in https://github.com/rstudio/rticles/issues/394#issuecomment-894316281
We need to watch out to not override any existing R file that would be owned by the user and not generated by us.
Two ideas:
Provide an opt-out mechanism for the purl-ing. Something like
Use a special comment header
# Do not edit
as done in other tools so that we know that this is our file and we can overwrite.