ARROW-17507: [Dev][CI][R] GHA "autotune" doesn't work (#14060)
ARROW-17507: [Dev][CI][R] GHA "autotune" doesn't work (#14060)

The `changed` function was giving back the changed files between PR HEAD and master HEAD which is not what the actual intention was: a list of files changed within the PR. This is what caused the superfluous triggering of R steps as reported in the jira. These than failed due to API rate limits due to a github install of roxygen2 which is no longer necessary as a newer version is now on CRAN.


Authored-by: Jacob Wujciak-Jens <f862f167b85d41b225785c70d70808bc7337c1fe@wujciak.de>
Signed-off-by: Antoine Pitrou <9359a4d812173b65a3a0094cd86363e79731a3c2@python.org>
apache/arrow,kou/arrow,kou/arrow,kou/arrow,icexelloss/arrow,apache/arrow,kou/arrow,apache/arrow,apache/arrow,kou/arrow,kou/arrow,apache/arrow,apache/arrow,apache/arrow,icexelloss/arrow,kou/arrow,kou/arrow,apache/arrow,icexelloss/arrow,apache/arrow,icexelloss/arrow,icexelloss/arrow,icexelloss/arrow,apache/arrow,apache/arrow,apache/arrow,icexelloss/arrow,kou/arrow,icexelloss/arrow,apache/arrow,icexelloss/arrow,kou/arrow,kou/arrow,icexelloss/arrow,icexelloss/arrow,icexelloss/arrow,icexelloss/arrow,kou/arrow,apache/arrow,icexelloss/arrow,kou/arrow,kou/arrow