Skip to content

Commit

Permalink
argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
nmercadeb committed Oct 16, 2024
1 parent bf37049 commit f4a8e34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/sampleCohorts.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#' cdm$cohort2 |> sampleCohorts(cohortId = 1, n = 10)
#' }
sampleCohorts <- function(cohort,
cohortId = NULL,
n,
cohortId = NULL,
name = tableName(cohort)) {
# checks
name <- omopgenerics::validateNameArgument(name, validation = "warning")
Expand Down
6 changes: 3 additions & 3 deletions man/sampleCohorts.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f4a8e34

Please sign in to comment.