Problems with rsample package

The rsample package was not working properly. The error message is;

image

I tried to fix it by deleting and reinstalling the package. But when i try to reinstall, it doesn't work.

Any idea how i can fix this?

Try updating or reinstalling the future package before installing rsample.

Also, please do not post screenshots, they are considered a bad practice here, post formatted code instead. Here is how to do it: