error_analysis: Error Analysis

View source: R/function.R

error_analysisR Documentation

Error Analysis

Description

Analyse the last error message and suggest corrections.

Usage

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

Arguments

asked_objet

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

n

Number of names to suggest (default: 2).

Value

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

Examples

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

fcuk documentation built on Feb. 26, 2026, 5:06 p.m.