-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Consider this Rd as per this stack overflow question https://stackoverflow.com/questions/5275578/arbitrary-sections-in-roxygen-docs
\name{llama}
\alias{llama}
\title{Llama llama llama}
\usage{
llama(notused)
}
\arguments{
\item{notused}{A parameter that isn't used at all!}
}
\description{
More about llamas
}
\section{Llamas}{
Are they ungulates?
}
\section{Not llamas}{
This section is not about llamas. It is not very
interesting.
}
Only the first section is parsed:
Rd2roxygen::parse_file("tmp.Rd")
#> $title
#> [1] "Llama llama llama"
#>
#> $usage
#> [1] "\n llama(notused)\n"
#>
#> $desc
#> [1] "\n More about llamas\n "
#>
#> $section
#> [1] "Llamas: \n Are they ungulates?\n "
#>
#> $author
#> character(0)
#>
#> $name
#> [1] "llama"
#>
#> $keywords
#> list()
#>
#> $params
#> [1] "notused A parameter that isn't used at all!"Metadata
Metadata
Assignees
Labels
No labels