GeoBosh / Rdpack

R package Rdpack provides functions and macros facilitating writing and management of R documentation.
https://geobosh.github.io/Rdpack/
28 stars 6 forks source link

Cryptic error message when calling the RStudio addin with no file open in the editor #30

Open daattali opened 1 year ago

daattali commented 1 year ago

If no file is open in the editor, an error is shown

image

Instead it should be more clear that a file is expected to be open. I didn't know what this addin is, I tried clicking it, and got this random error.

GeoBosh commented 1 year ago

Thanks for the report.

You are right. The message is confusing and should be fixed with something more suitable.