Code Monkey home page Code Monkey logo

ethnicolor's People

Contributors

rdrr1990 avatar soodoku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ethnicolor's Issues

add pacman as a import

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

add missing file for install

> 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.