Hi,
Firstly, many thanks for the ipdw packge. It is very useful for those of us wanting to do interpolation in the marine realm!
It would be great if the code could be updated to use the terra package rather than raster. Although raster still exists, the package author recommends using terra now, and it is likely the equivalent functions in terra will be faster.