I found that when accessing the Script to Function option the following error is returned:
Error in gptstudio::gpt_create(model = "text-davinci-edit-001", instruction = "convert this R code into an R function or a few R functions", :
unused argument (instruction = "convert this R code into an R function or a few R functions")
I tried to replace the gpt_createwith gpt_edit in addin_script_to_function.R but I get no input returned after the message Inserting text from GPT...
Also, when accessin the function from the Addin dropdown in Rstudio the hover comment is referring to the commenting function not the script to function one.
Hello again!
I found that when accessing the Script to Function option the following error is returned:
I tried to replace the
gpt_create
withgpt_edit
inaddin_script_to_function.R
but I get no input returned after the messageInserting text from GPT...
Also, when accessin the function from the Addin dropdown in Rstudio the hover comment is referring to the commenting function not the script to function one.