Conversation
Current Aviator status
This PR was merged using Aviator.
See the real-time status of this PR on the
Aviator webapp.
Use the Aviator Chrome Extension
to see the status of your PR within GitHub.
|
krlmlr
left a comment
There was a problem hiding this comment.
Thanks! I glimpsed over the text and the autogenerated code, looks good. Would you add the ellipsis?
R/aaa-auto.R
Outdated
| res | ||
| } | ||
|
|
||
| chung_lu_game_impl <- function(out.weights, in.weights=NULL, loops=TRUE, variant=c("original", "maxent", "nr")) { |
There was a problem hiding this comment.
Do we want this?
| chung_lu_game_impl <- function(out.weights, in.weights=NULL, loops=TRUE, variant=c("original", "maxent", "nr")) { | |
| chung_lu_game_impl <- function(out.weights, ..., in.weights=NULL, loops=TRUE, variant=c("original", "maxent", "nr")) { |
There was a problem hiding this comment.
No, definitely not. The ellipsis should come after in.weights, not before. Out- and in-weights go together and users shouldn't be forced to spell out the name of these parameters.
| #' degree(sample_chung_lu(c(1, 3, 2, 1), c(2, 1, 2, 2), variant = "maxent"), mode='out') | ||
| #' )) | ||
| #' @export | ||
| sample_chung_lu <- chung_lu_game_impl |
There was a problem hiding this comment.
Not sure if we should forward or alias. Both have advantages.
|
@krlmlr I pushed a commit adding the ellipsis to illustrate. This is what the docs look like now, with the
|
|
Good point. I pushed a proposal, it's a bit of work but solves the issue at hand and also offers autocomplete for How is |
It's used with |
|
I think this is done and ready to go, right? |
|
Thanks! |
46e0f2d to
bd5a49d
Compare
|
Thanks @krlmlr ! |
|
I forgot to mark it as experimental, which is necessary since it's experimental in C. I pushed this change to |
|
Works for me, as long as the main branch stays green 🙃 |
|
OK, I'll continue to make simple doc changes on |



Closes #1369.
Translating the documentation was a lot of work. If there are minor stylistic issues to fix, I'd appreciate it if someone could take this over and fix those. Let's try to have this in the next release please.