I am creating a package that contains one function, which randomly samples an image (meme) and displays it on the RStudio Viewer pane (see readme file on the github repo).
The package works locally but fails once it’s installed. It displays the error on the screenshot attached, which to my understanding could imply that the function is not sourcing the images correctly. Please help me out here.
I have a list of 145 images totalling to 52 mb (the package has like 10 for now). I noticed that the package is taking too long to install with the 145 images. Is there a work around on this? Or do I just have to work with a small number of images? Or is the package taking too long to install because of a different issue?