Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra NAs at the end of code chunks #57

Open
joelnitta opened this issue Dec 25, 2024 · 1 comment
Open

Extra NAs at the end of code chunks #57

joelnitta opened this issue Dec 25, 2024 · 1 comment

Comments

@joelnitta
Copy link
Collaborator

This seems to be caused by chunk options like this #| code = readLines("files/plans/plan_6.R")[2:28] when line 28 is an empty line. Changing to #| code = readLines("files/plans/plan_6.R")[2:27] etc. (assuming line 27 is the last line with text) throughout should fix.

@joelnitta
Copy link
Collaborator Author

joelnitta commented Dec 25, 2024

image (note NA in yellow at end of code chunk):

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant