Paul Fishwick
1 min readApr 20, 2020

--

Using a Mac OSX , High Sierra

For the first plot (US grey), I changed the double quotes and then that one worked. The median income US plot worked fine. But I am having problem with the CA county map

(1) Error as follows:

  • theme(legend.title = element_text(),
    + legend.key.width = unit(.5, “in”)) +
    + labs(fill = “Homeownership rate”) +
    + theme_urbn_map()
    Error in grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :
    polygon edge not found
    In addition: Warning message:
    In grid.Call(C_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :
    no font could be found for family “Lato”

(2) I also get these (missing .h files) in clang, but I understand that may be unrelated to this package. Any ideas on this? I am unable to compile anything related to R:

clang++ -std=gnu++11 -I”/Library/Frameworks/R.framework/Resources/include” -DNDEBUG -I../inst/include/ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fPIC -Wall -g -O2 -c api.cpp -o api.o
In file included from api.cpp:24:
In file included from ../inst/include/Rcpp.h:27:
In file included from ../inst/include/RcppCommon.h:29:
In file included from ../inst/include/Rcpp/r/headers.h:67:
In file included from ../inst/include/Rcpp/platform/compiler.h:100:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cmath:305:
In file included from /usr/local/include/math.h:8:
In file included from /usr/local/include/features.h:10:
/usr/local/include/forwards.h:10:10: fatal error: ‘config.h’ file not found
#include “config.h”
^~~~~~~~~~
1 error generated.

--

--

No responses yet