The sampling has no response, when rstan 2.21 run in R4.0.5

I noticed the following error message from the pdf that you attached:

Error in open.connection(con, open = mode) :
 Could not resolve host: github.com

I recalled seeing this error on this forum before. A quick check later, and I found this discussion post. I wonder whether this might help you