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

Parse R files in collation order #381

Closed
wants to merge 2 commits into from
Closed

Parse R files in collation order #381

wants to merge 2 commits into from

Conversation

krlmlr
Copy link
Member

@krlmlr krlmlr commented Oct 1, 2015

so that the order of documentation that comes from multiple files can be controlled

Looks like package_files() and probably also source_package() was broken before, because r_paths() returns absolute paths. Need to investigate.

@hadley: Do you like the idea?

Kirill Müller added 2 commits October 1, 2015 21:10
the paths returned by r_files() are absolute -- probably source_package() was broken before
@Geoff99
Copy link
Contributor

Geoff99 commented Oct 1, 2015

Hi there @krlmlr

I haven't compared the proposed code, but I like the idea of solving this - pls see issue #323 and pull request #324.

Cheers

Geoff

@krlmlr
Copy link
Member Author

krlmlr commented Oct 2, 2015

@Geoff99: Sorry, I completely missed that one. I was searching for "collation", and your contributions slipped through.

@krlmlr krlmlr closed this Oct 2, 2015
@Geoff99
Copy link
Contributor

Geoff99 commented Oct 2, 2015

No worries @krlmlr

Just wanted to save some work if possible. No guarantee the way I "fixed' the parse in collation order issue is the best one. Happy with any approach that solves it.

Best

Geoff

@krlmlr krlmlr deleted the parse-collate branch October 2, 2015 07:19
@krlmlr
Copy link
Member Author

krlmlr commented Oct 2, 2015

Thanks, @Geoff99, you definitely did save work. Your patch is virtually identical to mine, except for the normalizePath() call, which I think is a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants