简体   繁体   中英

RStudio: Error on testing documentation with?

I'm using latest RStudio 0.99.879. I'm creating a new project as R Package.

After running (as mentioned on http://r-pkgs.had.co.nz/man.html )

devtools::document()
?.

I get an error

/path/to/my/package/man: Sections \title, and \name must exist and be unique in Rd files 

What's the reason and how can I avoid it?

Edit: I've deleted manually the file man/hello.Rd so roxygen2 can generate it.

Hadley told me "." is the end of the sentence. So there's no magic.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM