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

Error message when opening packrat project containing Rmd files #552

Closed
lucygarner opened this issue Apr 23, 2019 · 1 comment
Closed

Error message when opening packrat project containing Rmd files #552

lucygarner opened this issue Apr 23, 2019 · 1 comment

Comments

@lucygarner
Copy link

lucygarner commented Apr 23, 2019

Hi,

When I open my R project that is using packrat, I get an error coming from my Rmarkdown files, specifically from particular parameters in the headers.

Quitting from lines 379-381 (4-genes_and_TCR_samples.Rmd)
Error in eval(x, envir = envir) : object 'subset_CD3s' not found
Error in eval(x, envir = envir) : object 'subset_CD3s' not found
Error in eval(x, envir = envir) : object 'subset_CD3s' not found
Error in eval(x, envir = envir) : object 'subset_CD3s' not found
Error in eval(x, envir = envir) : object 'subset_CD3s' not found
Error in eval(x, envir = envir) : object 'subset_CD3s' not found

Quitting from lines 486-488 (4-genes_and_TCR_samples_with_CD3.Rmd)
Error in eval(x, envir = envir) : object 'subset_CD3s2' not found
Error in eval(x, envir = envir) : object 'subset_CD3s2' not found
Error in eval(x, envir = envir) : object 'subset_CD3s2' not found
Error in eval(x, envir = envir) : object 'subset_CD3s2' not found
Error in eval(x, envir = envir) : object 'subset_CD3s2' not found
Error in eval(x, envir = envir) : object 'subset_CD3s2' not found
Error in eval(x, envir = envir) : object 'subset_CD3s2' not found
Error in eval(x, envir = envir) : object 'subset_CD3s2' not found

"subset_CD3s: FALSE" is a parameter in the header of "4-genes_and_TCR_samples.Rmd", and "subset_CD3s2: FALSE" is in the header of "4-genes_and_TCR_samples_with_CD3.Rmd". I have other parameters in the same headers but these don't seem to be causing an error.

What could be the cause of this error and how can I fix it?

Thanks,
Lucy

@aronatkins
Copy link
Contributor

This problem was caused by using rmarkdown::render to analyze R Markdown files for dependencies.

We believe that this is resolved with #647.

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

2 participants