Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with load_all due to missing rprojroot #279

Open
mhesselbarth opened this issue May 13, 2024 · 1 comment
Open

Issue with load_all due to missing rprojroot #279

mhesselbarth opened this issue May 13, 2024 · 1 comment

Comments

@mhesselbarth
Copy link

I currently ran into the issue that I couldn't use pkgload::load_all(). The issue was that I didn't have the rprojroot package installed, so it couldn't import rprojroot_find_package_root_file. However, due to the tryCatch call the error message was very confusing (namely that no DESCRIPTION file could be found).

I am not sure this is relevant for any other users, but I think the error message or the import of rprojroot could be improved.

@FinYang
Copy link

FinYang commented Sep 5, 2024

I just had this same problem when deploying a Shiny app. Because I could only see the logs and not debug interactively, I kept trying to inspect the current working directory and the DESCRIPTION file, thinking it's something wrong with my DESCRIPTION, until I found this issue. (Thanks!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants