GitHub action stalls on `setup-r-dependencies@v2`

I am using r-lib/setup-r-dependencies@v2 for a bookdown project on GitHub action. However, the job is stalling when pak tries to create a lock file. Here is an example run, and here is the workflow.

As you can see, eventually the job just times out.

Screen Shot 2022-09-14 at 8.24.44 AM

The issue seems similar to this post. The solution there was to use the most current RSPM, but I believe that is already what I am using (I don't specify anything different in the workflow).

Any ideas on what might be causing this?

Your URL is invalid: