longears icon indicating copy to clipboard operation
longears copied to clipboard

r-hub / r-minimal

Open andriuz29 opened this issue 2 years ago • 1 comments

Can't install with https://github.com/r-hub/r-minima and starting throwing errors "consume_later.cpp:181:18: error: aggregate 'timeval tv' has incomplete type and cannot be defined" because of alpine timeval

andriuz29 avatar Jun 06 '22 13:06 andriuz29

It's possible this can be resolved by using #include <sys/time.h> rather than #include <time.h> here: https://github.com/atheriel/longears/blob/be952818febd34c8da01ca564bee1a48b156d1a2/src/consume_later.cpp#L3

But it will require further testing to confirm this across the other platforms. Alpine is not a supported CRAN platform, so it seems unlikely that this will crop up for many users.

atheriel avatar Jun 10 '22 02:06 atheriel