appeler / ethnicolor Goto Github PK
View Code? Open in Web Editor NEWRace and Ethnicity based on name using data from census, voter reg. files, etc.
License: Other
Race and Ethnicity based on name using data from census, voter reg. files, etc.
License: Other
When installing the GitHub version, I get a missing package error for pacman. (There might be others as well that I happen to already have installed.)
See the error below.
> # install package
> library(devtools)
> install_github("soodoku/ethnicolor")
Downloading GitHub repo soodoku/ethnicolor@master
from URL https://api.github.com/repos/soodoku/ethnicolor/zipball/master
Installing ethnicolor
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD \
INSTALL \
'/private/var/folders/zq/3_bjyh6d0tbgkgr7sltfj3r00000gq/T/Rtmp5zPxC3/devtools44a32d1d7234/appeler-ethnicolor-054b7fa' \
--library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests
* installing *source* package ‘ethnicolor’ ...
** R
** inst
** tests
** preparing package for lazy loading
Error in library(pacman) : there is no package called ‘pacman’
Error : unable to load R code in package ‘ethnicolor’
ERROR: lazy loading failed for package ‘ethnicolor’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/ethnicolor’
Installation failed: Command failed (1)
I suggest adding it as an import so that it is automatically installed. http://r-pkgs.had.co.nz/description.html#dependencies
> devtools::install_github("soodoku/ethnicolor")
Downloading GitHub repo soodoku/ethnicolor@master
from URL https://api.github.com/repos/soodoku/ethnicolor/zipball/master
Installing ethnicolor
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD \
INSTALL \
'/private/var/folders/zq/3_bjyh6d0tbgkgr7sltfj3r00000gq/T/Rtmp5zPxC3/devtools44a3123f5e24/appeler-ethnicolor-054b7fa' \
--library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library' --install-tests
* installing *source* package ‘ethnicolor’ ...
** R
** inst
** tests
** preparing package for lazy loading
Error in fread("data-raw/fl_voter_reg/fl_reg.csv") :
File 'data-raw/fl_voter_reg/fl_reg.csv' does not exist. Include one or more spaces to consider the input a system command.
Error : unable to load R code in package ‘ethnicolor’
ERROR: lazy loading failed for package ‘ethnicolor’
* removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/ethnicolor’
Installation failed: Command failed (1)
See in particular:
File 'data-raw/fl_voter_reg/fl_reg.csv' does not exist.
Adding the data-raw
directory to the working directory does not resolve the issue.
edit: It also seem that the required file isn't included in the repo at all.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.