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 in if (n == 1) word else paste(word, "s", sep = "") : the condition has length > 1 #1655
Comments
Are you able to share the contents of your bookdown project? This error:
seems to imply you have a chunk with multiple labels, or that |
It took a bit of time to debug this. Turns out, I forgot to include renv cache directory to Now the questions are:
|
Thanks! Maybe |
|
Hi @idavydov, I'm getting the same error message while deploying a Shiny App to Heroku 20 using Heroku buildpack-r. Can you describe how you solved it? What changes did you make to the Thank you |
hi @DaboinCJ , in my case library cache location was set up using:
So I simply added Does that help? |
I have a project with renv 1.0.2. It seems to work fine in one environment, but inside a docker image it generates the following error when R is starting:
renv::restore()
I tried to add the following lines to the beginning of the
.Rprofile
:Then the error looks like this (no change, it seems):
The text was updated successfully, but these errors were encountered: