Open ChiWPak opened 4 years ago
FWIW... It looks like the libc for termux comes from Bionic, and the Android 9.0 version doesn't have timespec_get
(but does have clock_gettime
) while Android 10.0 does have timespec_get
.
R itself goes through some trouble to normalize different clock functions across platforms: https://github.com/wch/r-source/blob/5a156a0865362bb8381dcd69ac335f5174a4f60c/src/main/times.c#L23-L137
@jcheng5 Just added a commit that should address this - see the commit and PR #129 for more info
I'm facing a similar problem as Issue #115 installing on Termux on a Chromebook. The suggested fixes (edit Makeconf) don't seem to be working when even installing the latest dev version remotes::install_github('r-lib/later').
Here's what my
./include/linux/time.h
looks likeI'll update with a Docker file once I can figure it out