roxygen
Roxygen2 introduces \n to default parameter value. Causes Codoc mismatches
I\'m having the opposite issues of this post. It seems that roxygen is introducing \\n into my default parameter values which causes R CMD check to WARN[详细]
2023-04-13 01:19 分类:问答Including an image using roxygen documentation
Is it possible to include an image in documentation generated by roxygen? I have a number of functions that are essentially wrappers for ggplot() that I\'d like 开发者_如何学编程to document by showing[详细]
2023-04-11 13:55 分类:问答R CMD roxygen - exec: 65: roxygen: not found
Roxygen works fine from within R, but for some reason it craps out when I try to call it from the comm开发者_开发技巧and line. Noticed a similar complaint from someone on windows (this thread: R CMD r[详细]
2023-04-09 23:04 分类:问答How to eliminate Roxygen warning about "No name found..."?
I\'m calling roxygenize() with parameter use.Rd2 = TRUE.I have a file testcase.R where I create a simple S3 object using R.oo.Here\'s the contents of the file.There\'s nothing for roxygen to do here,[详细]
2023-03-31 08:07 分类:问答Roxygen2 - how to properly document S3 methods
I\'ve read the开发者_开发技巧 Roxygen2 PDF and this site, and I\'m lost on the difference between @method @S3method @export and how to use these to properly document S3 methods. I worked up the follow[详细]
2023-03-30 17:00 分类:问答Documenting R.oo classes/methods with Roxygen
Could someone point me to a good example of documenting R.oo classes/methods with Roxygen?In R.oo, classes/methods are created by calls to setConstructorS3() and setMethodS3(), so there is no function[详细]
2023-03-30 16:55 分类:问答How can I document datasets without adding them to the Collate field?
I\'m using roxygen2 to document datasets for a package I\'m developing. I know you can use roxygen to document a dataset, but Shane\'s answer ultimately suggests a hack, which while I\'d rather avoid.[详细]
2023-03-29 02:15 分类:问答Preserving indentation in examples section
Roxygen have made my work a lot easier and is in most cases nice and intuitive. One thing that I have never figured out though is how to preserve indentation in @examples sections so that the result o[详细]
2023-03-26 23:20 分类:问答Is it possible/advisable to skip roxygen in favor of roxygen2? [closed]
It's dif开发者_开发技巧ficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.[详细]
2023-03-26 15:12 分类:问答How to properly document a S3 method of a generic from a different package, using Roxygen?
I am writing a package that defines a new class, surveyor, and a print method for this, i.e. print.surveyor.My code works fine and I use roxygen for inline documentation.But R CMD check issues a warni[详细]
2023-03-16 15:40 分类:问答