Skip to content

Commit 623c378

Browse files
committed
dont run example
1 parent 9d70a41 commit 623c378

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

R/generer_tableau.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#' @param margins Character vector. Margin variables
55
#' @param resp_var Character. Response variable to aggregate
66
#' @param marge_label Character. Label for margin cells
7-
#'
7+
#'
88
#' @return data.table with computed margins
99
#' @keywords internal
1010
#' @export
@@ -44,6 +44,7 @@ compute_margins <- function(
4444
#' @export
4545
#'
4646
#' @examples
47+
#' \dontrun{
4748
#' library(dplyr)
4849
#' data("dtest")
4950
#' tab_comptage <- tabulate_cnt_micro_data(
@@ -53,7 +54,7 @@ compute_margins <- function(
5354
#' hrc_vars = list(GEO = c("REG", "DEP")),
5455
#' marge_label = "Total"
5556
#' )
56-
#'
57+
#'
5758
#' # With numerical variable to aggregate
5859
#' tab_comptage_num <- tabulate_cnt_micro_data(
5960
#' df = dtest |> mutate(NUM = 12),
@@ -63,6 +64,7 @@ compute_margins <- function(
6364
#' num_var = "NUM",
6465
#' marge_label = "Total"
6566
#' )
67+
#' }
6668
tabulate_cnt_micro_data <- function(
6769
df,
6870
rk_var = "rkey",

man/tabulate_cnt_micro_data.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)