Error when use SampleSelection package because of type of data

See the FAQ: How to do a minimal reproducible example reprex for beginners. For this question, the data is missing and the selection function is not identified with any library.