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

Trying to annotate selected code #8

Closed
JW-spec-tech opened this issue May 7, 2023 · 1 comment
Closed

Trying to annotate selected code #8

JW-spec-tech opened this issue May 7, 2023 · 1 comment

Comments

@JW-spec-tech
Copy link

JW-spec-tech commented May 7, 2023

Getting the following output:

askgpt::annotate_code()
✔ GPT is thinking ⠧ [9.2s]
Warning message:
In file(loc, "ab") :
file("") only supports open = "w+" and open = "w+b": using the former

I am running on rstudio server

@JBGruber
Copy link
Owner

JBGruber commented May 9, 2023

Thanks for making me aware of this! It seems like the addin is only working with named files. file("") shows me that the file you are trying to change (by adding annotations) is "" (so nothing) which does not work.

I will try to write a clear error or warning message as I don't know how to work around that.

@JBGruber JBGruber closed this as completed Jun 9, 2023
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