ARROW-9337: [R] On C++ library build failure, give an unambiguous message
ARROW-9337: [R] On C++ library build failure, give an unambiguous message

Closes #7647 from nealrichardson/fail-better

Authored-by: Neal Richardson <beb59f0141269d2d04e73d0dcc1967b64ba87e13@gmail.com>
Signed-off-by: Neal Richardson <beb59f0141269d2d04e73d0dcc1967b64ba87e13@gmail.com>

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