I am using a book Hands on Machine Learning By Bradley Boehmke. i wrote following line to access the data but i gave this error.

attrition <- rsample::attrition
Error: 'attrition' is not an exported object from 'namespace:rsample'