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 building book on my system #51

Closed
smach opened this issue May 20, 2016 · 5 comments
Closed

Error building book on my system #51

smach opened this issue May 20, 2016 · 5 comments

Comments

@smach
Copy link

smach commented May 20, 2016

I expect the problem is on my side if no one else is reporting it, but wonder if you might have any idea why I am receiving the following error when running bookdown::render_book("index.Rmd", bookdown::html_chapters()) after running devtools::install_github("csgillespie/efficientR")

Quitting from lines 17-25 (_main.Rmd) 
Error in eval(expr, envir, enclos) : object 'mychart' not found
@csgillespie
Copy link
Owner

I've just cloned the repo and ran

bookdown::render_book("index.Rmd", bookdown::html_chapters())

and everything works. I also reran travis; everything seems to work there. Would you try update.packages()? Also, what version of R are you running?

@smach
Copy link
Author

smach commented May 20, 2016

Recently installed the latest version, "Supposedly Educational." Tried updating packages, now I'm getting

Quitting from lines 28-31 (_main.Rmd) 
Error in xy.coords(x, y, xlabel, ylabel, log) : 
  'x' is a list, but does not have components 'x' and 'y'

I suspect something may be strange with my new library location, will investigate. On a Windows machine. Will try on a Mac and see what happens. Thank you.

@csgillespie
Copy link
Owner

@smach did you solve this problem?

@smach
Copy link
Author

smach commented Jun 2, 2016

Thanks for asking! I'd given up, but since you were kind enough to check, I have re-installed the new version of R with a new library location and tried again. That seems to have done the trick.

@smach smach closed this as completed Jun 2, 2016
@csgillespie
Copy link
Owner

Great stuff. The book relies on a lot of packages. One of them must have had a R 3.3 dep'

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