wesm / feather

Feather: fast, interoperable binary data frame storage for Python, R, and more powered by Apache Arrow
Apache License 2.0
2.74k stars 169 forks source link

installing feather R from github with devtools gives fatal error #356

Closed zalazhar closed 5 years ago

zalazhar commented 5 years ago

Installing feather R from github with devtools as provided in the documentation (devtools::install_github("wesm/feather/R") gives the following error below.:

It seems to be that it can't find feather/api.h

In file included from RcppExports.cpp:4:0: feather_types.h:2:10: fatal error: feather/api.h: No such file or directory

include "feather/api.h"

      ^~~~~~~~~~~~~~~

compilation terminated. /usr/lib/R/etc/Makeconf:168: recipe for target 'RcppExports.o' failed make: *** [RcppExports.o] Error 1 ERROR: compilation failed for package ‘feather’

hadley commented 5 years ago

This worked for me; there have been a few fixes lately so I suspect we fixed the root cause.

zalazhar commented 5 years ago

It might be that I'm doing something wrong as I've tried devtools::install_github("wesm/feather/R" on three different machines (windows/linux) generating the same fatal error.

hadley commented 5 years ago

Hmmm strange. You might try asking on https://community.rstudio.com

zalazhar commented 5 years ago

Many thanks Hadley. Will do that.