So long as your acknowledgement is in a location that is easy to find, it probably doesn't matter exactly where you put it. If it were me, I would put it in the DESCRIPTION
file using a Funder:
line (probably, probably just after the author and maintainer information). (Alas, as someone who has programmed multiple R
packages without any grant funding, this is something I've not had the joy of doing.)