This blog post https://babichmorrowc.github.io/post/2019-03-18-alpha-hull/ explains how to do it with this package https://github.com/babichmorrowc/hull2spatial?tab=readme-ov-file. It currently outputs Spatial* class objects, but these can be easily converted to terra 'SpatVector' or to 'sf'.