Learn R Programming

fcuk (version 0.2.0)

error_analysis: Error Analysis

Description

Analyse the last error message and suggest corrections.

Usage

error_analysis(asked_objet = catch_error(), n = 2)

Value

Invisibly returns a string with the suggestions, or `NULL` if no error could be parsed.

Arguments

asked_objet

The name to analyse. Defaults to extracting from last error.

n

Number of names to suggest (default: 2).

Examples

Run this code
fcuk::error_analysis() # last error is analysed
fcuk::error_analysis("view")
fcuk::error_analysis("iri")

Run the code above in your browser using DataLab