Closed friendly closed 8 years ago
I may be missing something but here goes.
1) I made a new branch, index2. 2) I opened RStudio and set my working directory to ~/.../VCDR/ 3) In RStudio, I ran knit2pdf("book.Rnw", quiet=TRUE) It started to compile, but crashed at:
Quitting from lines 1244-1254 (./ch02.Rnw)
Quitting from lines 152-155 (./ch02.Rnw)
Error in nrow(tv_data) : object 'tv_data' not found
Would it be possible to just send me the ilg file to look over rather than having me recompile the book locally? Probably would be easier in the long run (since I won't have a ton of time tomorrow).
EDIT: The above error was because I didn't have vcdExtra installed (running a fairly fresh install).
EDIT2: Well, I sorted out all of the package errors (there were quite a few). But now the process crashes with:
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
Running 'texi2dvi' on 'book.tex' failed.
LaTeX errors:
! LaTeX Error: Something's wrong--perhaps a missing \item.
``
You're probably missing some of the core packages. Check book.Rnw for a list of the required packages and install those first.
Yeah, I caught of of those - see the edits. Now it is a different problem.
Some index problems arose in #70 and #71 I checked the new index visually, but didn't look at the
book.ilg
log file. That shows 67 warnings, the first few of which look like this:Most have to do with page range operators from
\ixon{}
and\ixoff{}
. They are warnings, but probably mean that the page ranges are printed wrongly.@mattsigal : Can you please try to check and correct as many of these as possible over the next day? It would work best if you could run
knit2pdf("book.Rnw", quiet=TRUE)
in your repo after making any changes an examine thebook.ilg
file. After you do, runso only the changed other files become part of your commit.