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

Print error message from dyn.load when documenting #340

Open
CGMossa opened this issue Feb 11, 2024 · 0 comments
Open

Print error message from dyn.load when documenting #340

CGMossa opened this issue Feb 11, 2024 · 0 comments

Comments

@CGMossa
Copy link
Member

CGMossa commented Feb 11, 2024

It seems to be the case that callr invocation that is used to make wrappers (in document()) eats up any error messages that arise from dyn.load. See

extendr/extendr#702

I believe this issue will be recurring, because there is plenty of system dependencies that need to be accounted for, and not being able to see which symbol is missing, makes troubleshooting a nightmare.

I looked up callr and, the tryCatch call, and there isn't a clear way to solve this.
For an overview of where the tension point is, see extendr/extendr#702 (comment)

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

1 participant