You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting error "Cannot create packrat data from manifest.json: cannot transform manifest into packrat.lock: package maptools does not define repository."
#1059
Open
L-Tamayo opened this issue
Apr 4, 2024
· 3 comments
When deploying an rshiny app I created I get this error
Build error: Cannot create packrat data from manifest.json: cannot transform manifest into packrat.lock: package maptools does not define repository.
I am using renv.lock file to capture package dependancies, i know the rsconnect still uses packrat in the background to restore project environments but I am not using the package maptools so i am unsure why this is being called. It is also no longer in CRAN so I dont think it should be called either. I would appreciate help with this. Thank you.
The text was updated successfully, but these errors were encountered:
@L-Tamayo - I cannot explain why maptools is part of your project dependencies if it is not part of your renv.lock, but recent versions of Posit Connect should be able to handle this situation.
Thank you for your response. That seems to be what is happening as maptools seems to be archived. I had not realized that ggpubr required rstatix which requires maptools. I am using rsconnect version 1.2.1 and renv version 1.0.5.
Is there a way for me to install Posit Connect 2023.05.0 that does not require sudo permissions?
I have also tried deploying with "rsconnect", "0.8.29" and the same issue comes up " unable to deploy package dependency 'maptools'.
First, maptools is mentioned in your renv.lock. It comes in as a dependency of the car package, which is a dependency of rstatix, which is a dependency of ggpubr. My guess is that at least some of these packages have released updated versions to avoid the maptools dependency.
When deploying an rshiny app I created I get this error
Build error: Cannot create packrat data from manifest.json: cannot transform manifest into packrat.lock: package maptools does not define repository.
I am using renv.lock file to capture package dependancies, i know the rsconnect still uses packrat in the background to restore project environments but I am not using the package maptools so i am unsure why this is being called. It is also no longer in CRAN so I dont think it should be called either. I would appreciate help with this. Thank you.
The text was updated successfully, but these errors were encountered: