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

Error in normalizePath(path, winslash ... #47

Closed
1beb opened this issue Oct 5, 2011 · 7 comments
Closed

Error in normalizePath(path, winslash ... #47

1beb opened this issue Oct 5, 2011 · 7 comments

Comments

@1beb
Copy link

1beb commented Oct 5, 2011

Code:

roxygenize(package.dir="/home/beb/Dropbox/dev/package",roxygen.dir="/home/beb/Dropbox/dev/package", copy.package=FALSE, unlink.target=FALSE, overwrite=TRUE)

Error Message:

Error in normalizePath(path, winslash = "/") :
unused argument(s) (winslash = "/")

@1beb
Copy link
Author

1beb commented Oct 5, 2011

This does not occur using roxygen, only happens to me with roxygen2

@1beb
Copy link
Author

1beb commented Oct 5, 2011

And the traceback() if it helps:

5: normalizePath(path, winslash = "/")
4: base_path(partitum$srcref$filename, base_path)
3: roc_process.collate(roc, parsed, roxygen.dir)
2: roc_process(roc, parsed, roxygen.dir)
1: roxygenize(package.dir = "/home/beb/Dropbox/dev/surv/", copy.package = FALSE,
unlink.target = TRUE, overwrite = TRUE)

@hadley
Copy link
Member

hadley commented Oct 5, 2011

I think that implies you have an old version of R.

@hadley
Copy link
Member

hadley commented Oct 5, 2011

Yes, it appeared in 2.13 (http://stat.ethz.ch/R-manual/R-patched/NEWS), so you need to upgrade!

@1beb
Copy link
Author

1beb commented Oct 5, 2011

Ah that's the culprit! Thanks, I haven't updated R on my dev machine in a while :)

@BrianDiggs
Copy link

Should the package depend on R >= 2.13.0 then?

@hadley
Copy link
Member

hadley commented Oct 5, 2011

It probably should, but package dependencies are just such a mess that I don't usually bother.

@hadley hadley closed this as completed Oct 5, 2011
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

No branches or pull requests

3 participants