Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated and reordered aliases #586

Closed
flying-sheep opened this issue Feb 9, 2017 · 0 comments
Closed

Duplicated and reordered aliases #586

flying-sheep opened this issue Feb 9, 2017 · 0 comments
Labels
feature a feature request or enhancement wip work in progress

Comments

@flying-sheep
Copy link
Contributor

flying-sheep commented Feb 9, 2017

After an update, roxygen changed my Rd files in this way. it introduced aliases and deleted the trailing newline.

/edit: ah, i see the reordering is intentional. nevertheless, there’s something like the following missing somewhere:

aliases <- setdiff(aliases, name)
# or at least
aliases <- unique(aliases)

What roxygen 6 did to my poor docs 😉:

--- man/extractions.Rd  (Revision 126592)
+++ man/extractions.Rd  (Arbeitskopie)
@@ -2,15 +2,22 @@
 % Please edit documentation in R/methods-extraction.r
 \docType{methods}
 \name{extractions}
+\alias{extractions}
+\alias{names.DPT}
+\alias{names,DPT-method}
 \alias{$,DPT-method}
+\alias{[[,DPT,character,missing-method}
+\alias{names.DiffusionMap}
+\alias{names,DiffusionMap-method}
 \alias{$,DiffusionMap-method}
-\alias{[[,DPT,character,missing-method}
 \alias{[[,DiffusionMap,character,missing-method}
 \alias{extractions}
-\alias{names,DPT-method}
-\alias{names,DiffusionMap-method}
-\alias{names.DPT}
-\alias{names.DiffusionMap}
+\alias{extractions}
+\alias{extractions}
+\alias{extractions}
+\alias{extractions}
+\alias{extractions}
+\alias{extractions}
 \title{Extraction methods}
 \usage{
 \S4method{names}{DiffusionMap}(x)
@@ -57,4 +64,3 @@
 \seealso{
 \link[base]{Extract}, \code{\link[base]{names}} for the generics. \link{DiffusionMap accessors}, \link{DiffusionMap methods}, \link{coercions} for more methods
 }
-
@hadley hadley added feature a feature request or enhancement wip work in progress labels Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement wip work in progress
Projects
None yet
Development

No branches or pull requests

2 participants