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
sans_ext error #141
Comments
@thatchermo the 'xfun package' fixed that issue for me. I then ran into a few issues with other libraries: USAboundaries and USAboundariesData needing to be installed. There were a few function errors in the toolbox.Rmd file and also in the scales.Rmd file. One was an as.numeric in the scales.Rmd file that involved the ggplot of mpg when converting the X axis to Liters. I simply dropped the conversion to Liters for the label. See below:
Here is a list of all of the packages I needed to install:
If you are on Ubuntu you need to run the following for the book to make:
Overall, either commenting out the code that was not working or removing it allowed the book to be compiled. Hope this helps anyone else. |
Should be fixed by #142 |
Hi. In attempting to build the book, I ran into this error:
object 'sans_ext' not found
that occurred in common.R associated to the line that reads
"{", knitr:::sans_ext(x), "}",
(about line 92, I believe)
With the caveat that I know very little, it looks like it's trying to use a private function from the knitr package that would remove a file name extension, but that function doesn't seem to exist? I got a lot farther in building by loading the package xfun and using its version of sans_ext in common.R. Or maybe I totally misunderstand the situation...
The text was updated successfully, but these errors were encountered: