ARROW-13243: [R] altrep function call in R 3.5
ARROW-13243: [R] altrep function call in R 3.5

This uses the workaround that @romainfrancois blogged about (https://purrple.cat/blog/2018/10/14/altrep-and-cpp/) on versions less than 3.6.0.

Closes #10702 from jonkeane/ARROW-13243-altrep-gate

Authored-by: Jonathan Keane <28d17c45cab2bb8b25bea44a915713e26ce37e1b@gmail.com>
Signed-off-by: Jonathan Keane <28d17c45cab2bb8b25bea44a915713e26ce37e1b@gmail.com>

laurentgo/arrow,wesm/arrow,kou/arrow,cpcloud/arrow,laurentgo/arrow,laurentgo/arrow,wesm/arrow,kou/arrow,laurentgo/arrow,apache/arrow,laurentgo/arrow,apache/arrow,kou/arrow,laurentgo/arrow,cpcloud/arrow,laurentgo/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,cpcloud/arrow,icexelloss/arrow,cpcloud/arrow,icexelloss/arrow,apache/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,icexelloss/arrow,cpcloud/arrow,wesm/arrow,cpcloud/arrow,wesm/arrow,icexelloss/arrow,apache/arrow,cpcloud/arrow,apache/arrow,kou/arrow,cpcloud/arrow,apache/arrow,kou/arrow,apache/arrow,kou/arrow,laurentgo/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,laurentgo/arrow,wesm/arrow,icexelloss/arrow,cpcloud/arrow,cpcloud/arrow,cpcloud/arrow,apache/arrow,icexelloss/arrow,kou/arrow,kou/arrow,laurentgo/arrow,kou/arrow,wesm/arrow,kou/arrow,icexelloss/arrow,wesm/arrow,apache/arrow,icexelloss/arrow,wesm/arrow,icexelloss/arrow,apache/arrow,apache/arrow,icexelloss/arrow,laurentgo/arrow,icexelloss/arrow,apache/arrow,cpcloud/arrow,icexelloss/arrow,cpcloud/arrow,kou/arrow,cpcloud/arrow,laurentgo/arrow,icexelloss/arrow,wesm/arrow,apache/arrow,apache/arrow