extendr_api::metadata

Function sanitize_identifier

Source
fn sanitize_identifier(name: &str) -> String
Expand description

Wraps invalid R identifiers, like _function_name, into backticks. Removes raw identifiers (r#).