ARROW-7817: [CI] macOS R autobrew nightly failed on installing dependency from source
ARROW-7817: [CI] macOS R autobrew nightly failed on installing dependency from source

Closes #6398 from nealrichardson/autobrew-ci-robustness and squashes the following commits:

56cb5727e <Neal Richardson> Two fixes for package dependency installation failure

Authored-by: Neal Richardson <beb59f0141269d2d04e73d0dcc1967b64ba87e13@gmail.com>
Signed-off-by: Sutou Kouhei <73218711cdd5d5c30ac66da3cc4d9d9204caf34b@clear-code.com>

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