[R] R-specific Software Requirement Specification
Michael Friendly
friendly at yorku.ca
Thu Sep 8 16:15:13 CEST 2016
devtools::document() is meant to be used within an R **package**, not
for a standalone file.
Try devtools::create() first.
But at any rate, roxygen format seems to answer your question about how
to describe the
specifications for a collection of functions written by different
people. Translation to .Rd
is not essential for this purpose.
Create a package, put it on github, and away you go.
On 9/8/2016 9:53 AM, Doran, Harold wrote:
> Then from the R workspace I try
>
>> >document()
> Error: Could not find package root.
>
> And also
>> >document('path\\to\\file\\test.R')
> And gives same error
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept. & Chair, Quantitative Methods
York University Voice: 416 736-2100 x66249 Fax: 416 736-5814
4700 Keele Street Web:http://www.datavis.ca
Toronto, ONT M3J 1P3 CANADA
[[alternative HTML version deleted]]
More information about the R-help
mailing list