-
-
Notifications
You must be signed in to change notification settings - Fork 595
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
Problem with rebuilding the book #809
Comments
I've seen similar error messages before and can guess the answer: remove the contents of This is what I currently have, removing these should make the build work for you:
Hope that helps, let us know how you get on! |
Thanks a lot for your quick reply. During subsequent compilation attempts I had to install many more packages, incl. rcartocolor, rmapshaper, kableExtra, rnaturalearth, rnaturalearthdata, cartogram, mlr3extralearners, stplanr. But I still have a problem:
On some sites, SpatialLinesNetwork appears as a function of the stplanr package, but is not officially documented. Also, after clicking on the name of this function in chapter 13 (in the version of the book on the website), a 404 error will be displayed. |
Probably I will change this example for the 2nd edition. So will keep this open, thanks for reporting! |
This is also being picked up by Actions now and it's most likely due to recent versions of |
I marked the problematic part of the code in Chapter 13 as "eval = FALSE" and there were no more problems compiling Chapter 13. Another problem I have in Chapter 15:
Can I have a hint on how to solve it? |
See #816 is it a different error? |
Yes, it is. This is bug # 816. I was able to compile a book. Thank you very much for help. Many times I had to compile a book from scratch because a package was missing. Below is a list of packages necessary to compile the latest version and an R script that prepares a list based on the content of the book. List of 102 packages:
If I can ask at the end, is it possible to compile the book to a pdf file? It's more convenient to read on an e-book reader, and nowhere have I found an option to change the target format of the compilation. |
A little update. The package name may contain a period (e.g. data.table).
And let me add that "EPSG" "mypackage" "CGAL" "Centroid" "nremotes" are not packages. |
I had the same problem. Many times I had to start over from scratch because a package was missing. But I didn't bother because I was able to deal with these errors. It takes about 30 minutes to compile on my computer so I spent quite a lot of time on it... In my script, I assumed that the package could be used like this:
My proposition:
I repeat the question, is there any possibility to compile the book to .pdf format? |
Hi Wacek, the latest version of the book is reproducible, as shown on actions. #817 was the biggest issue but there were and still others. In any case closing for now, let us know how you get on, thanks for the input, and good luck with it, any future feedback and especially PRs that improve the book are welcome! |
I have a problem with rebuild the book on my computer. An error is displayed:
I have R 4.2.0, RStudio 2022.02.3 Build 492 installed. All packages are up to date: rmarkdown 2.14, bookdown 0.27
Necessary packages for the book installed with
remotes :: install_github ("geocompr / geocompkg")
I have tried to compile a book in the past but never succeeded. So I decided to report the problem and ask for advice on solving it. Thank you in advance for any help.
The text was updated successfully, but these errors were encountered: