-
Notifications
You must be signed in to change notification settings - Fork 235
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
Overly aggressive rewrite of DESCRIPTION #430
Comments
I believe this is devtools and not roxygen. Although sometimes it is hard to tell. :) Btw. this will change soon, once devtools manipulates DESCRIPTION with https://github.com/metacran/description, which does not reformat, unless you actually change a field. |
#!/usr/bin/r
#
# Simple helper script for roxygen2::roxygenize()
#
# Dirk Eddelbuettel, August 2013
#
# GPL-2 or later
## load roxygen
library(roxygen2)
## check all command-line arguments (if any are given) for directory status
argv <- Filter(function(x) file.info(x)$is.dir, argv)
## loop over all argument, with fallback of the current directory, and
## call compileAttributes() on the given directory
sapply(ifelse(length(argv) > 0, argv, "."), FUN=roxygenize, roclets="rd") I would not miss a chance to yell at devtools as @hadley knows, but here it really was roxygen. It only happens on the first pass when it adds it 'Roxy 5 was here' stamp. Subsequent runs are fine. |
@gaborcsardi I'm using desc 1.0.0 and it seems like |
Oh I see the discussion about the spaces, I guess I can live with that. But not starting on a new line bugs me. |
YEah, I don't mind starting on a new line: r-lib/desc#24 |
But it's my (DESCRIPTION) file and I didn't ask for a rewrite that pleases you. I just asked for a transfer of Rd content from R files to Rd files. It is somewhat rude to alter unrelated files in a different format, however pleased you may be with the format. I did not ask for it. |
@eddelbuettel |
@gaborcsardi I don't follow. I use roxygen. I dislike its behaviour. I file a bug report. Nine month later I am graced this discussion. Are you saying "just wait for next release" ? |
@eddelbuettel If you're no longer interested in the discussion, you might want to click the "unsubscribe button". Gabor and I are working to make sure any changes to the DESCRIPTION are minimal — unfortunately base |
@eddelbuettel The next version of |
@hadley: Old roxygen didn't do it. So there goes your 'it is not me'. Anyway, we're talking software so of course it is 'next version will be perfect'. |
Yeah, I believe the reformatting is in roxygen: https://github.com/klutometis/roxygen/blob/39a824c5944de99b8ee431b93b7ebcd3baf99ad4/R/description.R So I guess you don't really need this file any more, although it seems that |
@hadley: I fixed the I'll fix the trailing whitespace issue with whatever solution we agree on, and then make a new release. |
I just got
and only the last line is a legitimate change. The rest is you imposing a style on me.
The text was updated successfully, but these errors were encountered: