These are my solutions to the second edition of Advanced R: https://adv-r.hadley.nz/
There have been other efforts to provide solutions to the book here. I am very grateful for their work and I have also looked at their solutions whenever I was stuck.
These are my own interpretations of the solutions.