I wrote a code in R language to download PDF files from a website automatically, but the code didn't find the PDF file links

Welcome!

Please take a moment to go through FAQ: Is it OK if I cross-post? when cross-posting ( https://stackoverflow.com/questions/79656924/no-files-found-when-automatically-downloading-pdf-files-from-a-website )

So solutions suggested in linked SO thread did not work for you?