View source: R/checkErrorDet.R
checkErrorDet | R Documentation |
A function to analyze and provide guidance on how to fix an error message copied from the R console.
checkErrorDet(
Summary_nch = 100,
Model = "gpt-4o-mini",
language = "English",
verbose = TRUE,
SlowTone = FALSE
)
Summary_nch |
An integer specifying the maximum number of characters for the summary. |
Model |
A string specifying the model to be used, default is "gpt-4o-mini". Currently, "gpt-4", "gpt-4-0314" and "gpt-4o-mini" can be selected as gpt-4 models. Execution with GPT-4 is recommended. |
language |
A string specifying the output language, default is "English". |
verbose |
A logical value to control the verbosity of the output, default is TRUE. |
SlowTone |
A logical value to control the printing speed of the output, default is FALSE. |
Check Error Details
This function provides a way to check error details in R. It takes an error message from the R console, executes the function, and shows how to fix the error in the specified language.
The function prints the guidance on how to fix the error message.
Satoshi Kume
## Not run:
# Copy the error message that you want to fix.
checkErrorDet()
checkErrorDet(language = "Japanese")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.