Description Usage Arguments Value
View source: R/insert_methods.R
Extract R6 Class
1 | extract_class(content, start_pos = 1)
|
content |
Character, content of a file or a string |
start_pos |
Integer, row position of cursor. Serves as starting point to search for class definition |
A list with fields
class_contentCharacter, extracted class definition
startInteger, start position of class definition within 'content'
endInteger, end position of class definition within 'content'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.