You can install the development version of prinsurf from GitHub with:
library(devtools) # install_github("RaeesaGaney91/prinsurf") install.packages("prinsurf", repos = c('https://raeesaganey91.r-universe.dev', 'https://cloud.r-project.org'))