Deploy an application using a r package

Hi @dataprofessor , my problem persists…and I’ve read in other issue that the problem was solved, but I don’t understand well how they did it: R package (mirt) cannot be installed during deployment

how I can install a package to a writable location in streamlit…Could you provide me your code please?

Thanks!
Pablo