Write test for an R function
write_test.Rd
This function reads an R function from a file and generates a test file with documentation.
Arguments
- file
The file path of the R function.
- ...
Additional arguments to pass to the chat_completion() function.