Skip to contents

Get paper from text

Usage

read_text(txt, id = "")

Arguments

txt

The text to read into a paper object, or a path to a text file

id

The ID to use for the paper (e.g., a DOI) defaults to the filename if txt is a path

Value

A paper object with class scivrs_paper

Examples

paper <- read_text("This is my paper. That's it!")