{
  "_id": "6b002066304827bb829a19d7",
  "Package": "mmtable2",
  "Type": "Package",
  "Title": "Create and combine tables with a ggplot2/patchwork syntax",
  "Version": "0.1.3",
  "Author": "Ian Moran",
  "Maintainer": "Ian Moran <ian.moran11@gmail.com>",
  "Description": "Add headers using data from a column in your data frame.\nCombine tables with +, / and * operators. Output tables in gt\npackage format.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://github.com/ianmoran11/mmtable2",
  "BugReports": "https://github.com/ianmoran11/mmtable2/issues",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.1.1",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libxml2-dev\nlibssl-dev libnode-dev",
  "Repository": "https://staffanbetner.r-universe.dev",
  "Date/Publication": "2021-10-20 01:56:21 UTC",
  "RemoteUrl": "https://github.com/ianmoran11/mmtable2",
  "RemoteRef": "HEAD",
  "RemoteSha": "02ffc53ca05baef7c3216afb82068e8762de3323",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-20 10:23:11 UTC",
    "User": "root"
  },
  "_user": "staffanbetner",
  "_type": "src",
  "_file": "mmtable2_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/e8500cede82792191ddde4958f05f5b72af1dea5dd028e7eafa550e3b7d95017",
  "_filesize": 2953707,
  "_sha256": "e8500cede82792191ddde4958f05f5b72af1dea5dd028e7eafa550e3b7d95017",
  "_expires": "2027-02-28T10:26:44.000Z",
  "_created": "2026-11-20T10:23:11.000Z",
  "_published": "2026-11-20T10:26:46.805Z",
  "_upstream": "https://github.com/ianmoran11/mmtable2",
  "_status": "success",
  "_maintainer": {
    "name": "Ian Moran",
    "email": "ian.moran11@gmail.com",
    "login": "ianmoran11",
    "description": "",
    "uuid": 11229116
  },
  "_jobs": [
    {
      "job": 136229045385,
      "time": 169,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14620183784"
    },
    {
      "job": 136229045352,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14620432688"
    },
    {
      "job": 136229045413,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "14620627658"
    },
    {
      "job": 136229045435,
      "time": 144,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14621047052"
    },
    {
      "job": 136227162750,
      "time": 230,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14619809401"
    },
    {
      "job": 136229045486,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14621216350"
    },
    {
      "job": 136229045418,
      "time": 122,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "14620238364"
    },
    {
      "job": 136229045358,
      "time": 90,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "14621071288"
    },
    {
      "job": 136229045515,
      "time": 110,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "14620358110"
    }
  ],
  "_buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/44718241388",
  "_commit": {
    "id": "02ffc53ca05baef7c3216afb82068e8762de3323",
    "author": "Ian Moran <ian.moran11@gmail.com>",
    "committer": "Ian Moran <ian.moran11@gmail.com>",
    "message": "fixing border issue for merged headers\n",
    "time": 1634694981
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "gt",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "webshot",
      "role": "Suggests"
    },
    {
      "package": "gapminder",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "margins",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "titanic",
      "role": "Suggests"
    },
    {
      "package": "RColorBrewer",
      "role": "Suggests"
    },
    {
      "package": "colorspace",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    }
  ],
  "_owner": "ianmoran11",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 128,
  "_contributors": [
    {
      "user": "ianmoran11",
      "count": 175,
      "uuid": 11229116
    }
  ],
  "_userbio": {
    "uuid": 8129424,
    "type": "user",
    "name": "Staffan Betnér",
    "followers": 26,
    "description": "Statistician"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mmtable2"
  },
  "_devurl": "https://github.com/ianmoran11/mmtable2",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mmtable2.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_authors": [
    {
      "name": "Ian Moran",
      "email": "ian.moran11@gmail.com",
      "role": [
        "cre"
      ]
    }
  ],
  "_exports": [
    "add_cells_format",
    "add_header_format",
    "add_header_left",
    "add_header_left_top",
    "add_header_top",
    "add_header_top_left",
    "add_spanner",
    "add_table_format",
    "add_table_source_note",
    "apply_format",
    "apply_formats",
    "apply_if",
    "cells_format",
    "diagonalize",
    "format_a_loc",
    "gen_random_ids",
    "get_locations",
    "get_max_area_bf",
    "get_row_header_names",
    "get_spanner_html_text",
    "header_format",
    "header_left",
    "header_left_top",
    "header_merged_cols",
    "header_top",
    "header_top_left",
    "knit_print.mmtable",
    "mmtable",
    "set_class",
    "single_cells_to_vector",
    "sort_and_select_columns",
    "spannerize",
    "spread_col_headers",
    "style_first_col_header",
    "style_spanner",
    "table_constructor",
    "table_format",
    "table_source_note",
    "table_title",
    "transfer_spanner"
  ],
  "_datasets": [
    {
      "name": "gapminder_mm",
      "title": "Gapminder data.",
      "object": "gapminder_mm",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "country",
        "continent",
        "year",
        "var",
        "value"
      ],
      "rows": 120,
      "table": true,
      "tojson": true
    },
    {
      "name": "student_df",
      "title": "A minimal data set of student subjects and grades",
      "object": "student_df",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "subject",
        "class",
        "student",
        "value",
        "grade"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "student_df_1",
      "title": "A minimal data set of student subjects and grades",
      "object": "student_df_1",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "subject",
        "class",
        "student",
        "value",
        "grade"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "student_df_2",
      "title": "A minimal data set of student subjects and grades",
      "object": "student_df_2",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "subject",
        "class",
        "student",
        "value",
        "grade"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "table1",
      "title": "A minimal data set of student subjects and grades",
      "object": "table1",
      "class": [
        "mmtable",
        "gt_tbl",
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "times-.mmtable",
      "title": "Integrate two tables horizontally",
      "topics": [
        "*.mmtable"
      ]
    },
    {
      "page": "slash-.mmtable",
      "title": "Concatenate tables horizontally",
      "topics": [
        "/.mmtable"
      ]
    },
    {
      "page": "plus-.mmtable",
      "title": "Integrate two tables horizontally",
      "topics": [
        "+.mmtable"
      ]
    },
    {
      "page": "add_cells_format",
      "title": "Add cells formatting",
      "topics": [
        "add_cells_format"
      ]
    },
    {
      "page": "add_header_format",
      "title": "Add formatting to a header",
      "topics": [
        "add_header_format"
      ]
    },
    {
      "page": "add_header_left",
      "title": "Add a left header",
      "topics": [
        "add_header_left"
      ]
    },
    {
      "page": "add_header_left_top",
      "title": "Add a left top header",
      "topics": [
        "add_header_left_top"
      ]
    },
    {
      "page": "add_header_top",
      "title": "Add a top header",
      "topics": [
        "add_header_top"
      ]
    },
    {
      "page": "add_header_top_left",
      "title": "Add a top left header",
      "topics": [
        "add_header_top_left"
      ]
    },
    {
      "page": "add_spanner",
      "title": "Add a spanner to a table",
      "topics": [
        "add_spanner"
      ]
    },
    {
      "page": "add_table_format",
      "title": "Add formatting to a table",
      "topics": [
        "add_table_format"
      ]
    },
    {
      "page": "add_table_source_note",
      "title": "Add a table source note",
      "topics": [
        "add_table_source_note"
      ]
    },
    {
      "page": "apply_format",
      "title": "Apply formating to a mmtable",
      "topics": [
        "apply_format"
      ]
    },
    {
      "page": "apply_formats",
      "title": "Apply list of formating commands to a mmtable",
      "topics": [
        "apply_formats"
      ]
    },
    {
      "page": "apply_if",
      "title": "Conditionally apply a function",
      "topics": [
        "apply_if"
      ]
    },
    {
      "page": "cells_format",
      "title": "Format table cells",
      "topics": [
        "cells_format"
      ]
    },
    {
      "page": "diagonalize",
      "title": "Remove adjacent repeats in a dataframe",
      "topics": [
        "diagonalize"
      ]
    },
    {
      "page": "extract_max_rects",
      "title": "Extract the largest binary rectary from a list of rows and cols",
      "topics": [
        "extract_max_rects"
      ]
    },
    {
      "page": "format_a_loc",
      "title": "Apply formatting to a location",
      "topics": [
        "format_a_loc"
      ]
    },
    {
      "page": "gapminder_mm",
      "title": "Gapminder data.",
      "topics": [
        "gapminder_mm"
      ]
    },
    {
      "page": "gen_random_ids",
      "title": "Generate a random string",
      "topics": [
        "gen_random_ids"
      ]
    },
    {
      "page": "get_locations",
      "title": "Identify which locations are to be formatted.",
      "topics": [
        "get_locations"
      ]
    },
    {
      "page": "get_max_area_bf",
      "title": "An algorthm to identify the largest rectangle in a histogram",
      "topics": [
        "get_max_area_bf"
      ]
    },
    {
      "page": "get_row_header_names",
      "title": "Get row header names.",
      "topics": [
        "get_row_header_names"
      ]
    },
    {
      "page": "get_spanner_html_text",
      "title": "Get the html associated with a spanner",
      "topics": [
        "get_spanner_html_text"
      ]
    },
    {
      "page": "header_format",
      "title": "Format the cells of a header.",
      "topics": [
        "header_format"
      ]
    },
    {
      "page": "header_left",
      "title": "Add a left header",
      "topics": [
        "header_left"
      ]
    },
    {
      "page": "header_left_top",
      "title": "Add a left top header",
      "topics": [
        "header_left_top"
      ]
    },
    {
      "page": "header_merged_cols",
      "title": "Merge header columns",
      "topics": [
        "header_merged_cols"
      ]
    },
    {
      "page": "header_top",
      "title": "Add a top header",
      "topics": [
        "header_top"
      ]
    },
    {
      "page": "header_top_left",
      "title": "Add a top left header",
      "topics": [
        "header_top_left"
      ]
    },
    {
      "page": "knit_print.mmtable",
      "title": "Print an mmtable object",
      "topics": [
        "knit_print.mmtable"
      ]
    },
    {
      "page": "mmtable",
      "title": "Create an mmtable object",
      "topics": [
        "mmtable"
      ]
    },
    {
      "page": "print.mmtable",
      "title": "Print an mmtable object",
      "topics": [
        "print.mmtable"
      ]
    },
    {
      "page": "set_class",
      "title": "Set the class of an object",
      "topics": [
        "set_class"
      ]
    },
    {
      "page": "single_cells_to_vector",
      "title": "Convert a list of cells to a list of cell ranges",
      "topics": [
        "single_cells_to_vector"
      ]
    },
    {
      "page": "sort_and_select_columns",
      "title": "Sort and select columns",
      "topics": [
        "sort_and_select_columns"
      ]
    },
    {
      "page": "spannerize",
      "title": "Convert header to spanner",
      "topics": [
        "spannerize"
      ]
    },
    {
      "page": "spread_col_headers",
      "title": "Spread rows to columns",
      "topics": [
        "spread_col_headers"
      ]
    },
    {
      "page": "student_df",
      "title": "A minimal data set of student subjects and grades",
      "topics": [
        "student_df"
      ]
    },
    {
      "page": "student_df_1",
      "title": "A minimal data set of student subjects and grades",
      "topics": [
        "student_df_1"
      ]
    },
    {
      "page": "student_df_2",
      "title": "A minimal data set of student subjects and grades",
      "topics": [
        "student_df_2"
      ]
    },
    {
      "page": "style_first_col_header",
      "title": "Style the first col header",
      "topics": [
        "style_first_col_header"
      ]
    },
    {
      "page": "style_spanner",
      "title": "Style a spanner",
      "topics": [
        "style_spanner"
      ]
    },
    {
      "page": "table_constructor",
      "title": "Use attributes to construct a table with column and row headers.",
      "topics": [
        "table_constructor"
      ]
    },
    {
      "page": "table_format",
      "title": "Format a mmtable object.",
      "topics": [
        "table_format"
      ]
    },
    {
      "page": "table_source_note",
      "title": "Table source note",
      "topics": [
        "table_source_note"
      ]
    },
    {
      "page": "table_title",
      "title": "Add a table title",
      "topics": [
        "table_title"
      ]
    },
    {
      "page": "table1",
      "title": "A minimal data set of student subjects and grades",
      "topics": [
        "table1"
      ]
    },
    {
      "page": "transfer_spanner",
      "title": "Transfer spanner from one table to another",
      "topics": [
        "transfer_spanner"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ianmoran11/mmtable2/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/ianmoran11/mmtable2/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "bigD",
    "bitops",
    "broom",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "curl",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "fs",
    "generics",
    "glue",
    "gt",
    "highr",
    "htmltools",
    "htmlwidgets",
    "jquerylib",
    "jsonlite",
    "juicyjuice",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "litedown",
    "magrittr",
    "markdown",
    "memoise",
    "mime",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "reactable",
    "reactR",
    "rlang",
    "rmarkdown",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "V8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "Building-a-regression-table.Rmd",
      "filename": "Building-a-regression-table.html",
      "title": "Building a regression table",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Modelling titanic survival",
        "Data preparation",
        "Table construction"
      ],
      "created": "2021-05-20 03:31:55",
      "modified": "2021-09-17 23:23:31",
      "commits": 4
    },
    {
      "source": "Combining-tables.Rmd",
      "filename": "Combining-tables.html",
      "title": "Combining tables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Combining tables"
      ],
      "created": "2021-05-20 03:31:55",
      "modified": "2021-10-19 10:24:15",
      "commits": 5
    },
    {
      "source": "Constructing-tables.Rmd",
      "filename": "Constructing-tables.html",
      "title": "Constructing tables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Adding headers"
      ],
      "created": "2021-05-20 03:31:55",
      "modified": "2021-10-19 10:24:15",
      "commits": 6
    },
    {
      "source": "Some-minimal-examples.Rmd",
      "filename": "Some-minimal-examples.html",
      "title": "Some minimal examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Adding headers",
        "Combining tables",
        "Formatting tables",
        "Merged header columns",
        "Alternative pipe syntax"
      ],
      "created": "2021-05-20 03:31:55",
      "modified": "2021-10-19 10:24:15",
      "commits": 8
    },
    {
      "source": "Styling-tables.Rmd",
      "filename": "Styling-tables.html",
      "title": "Styling tables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Formatting tables",
        "Merged header columns",
        "Alternative pipe syntax",
        "Working with colors",
        "Data generation",
        "Table construction"
      ],
      "created": "2021-05-20 03:31:55",
      "modified": "2021-10-19 10:24:15",
      "commits": 6
    }
  ],
  "_score": 5.505149978319906,
  "_indexed": false,
  "_nocasepkg": "mmtable2",
  "_universes": [
    "staffanbetner"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-11-20T10:25:44.000Z",
      "distro": "resolute",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "https://r2.ropensci.org/e95b7647d7b9406f56fabc222af3c403f51088a47810953924eef22c32fd6e61",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/44718241388"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-11-20T10:25:30.000Z",
      "distro": "resolute",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "https://r2.ropensci.org/65854ee2d9512a3beb6783aa27d23a0837fef5fe46fee2d6e36977576205350a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/44718241388"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-11-20T10:25:01.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "https://r2.ropensci.org/98d74e0a608266867f6ecd0960b6af2a8837d0dc0357ad71835b1b4c0b6ce471",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/44718241388"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-11-20T10:25:23.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "https://r2.ropensci.org/ac9db8265c7b3b6a941194652599c0e2701f3d847e805ee4f0fb591bc39171d7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/44718241388"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-11-20T10:25:32.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "https://r2.ropensci.org/b80abf1491f17939644aa13c4cca289df19ae087f167113a0b6568ad47ee8bb6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/44718241388"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-11-20T10:24:31.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "https://r2.ropensci.org/919b65cae16286e0fef02feb8337133cb3814949aeb68caab353d29f62523e2b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/44718241388"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-11-20T10:24:26.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "https://r2.ropensci.org/be135279b960f10d7e65012666d7f1987d4919d5b7e505e503f1f3e45e1bea70",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/44718241388"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-11-20T10:24:41.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "https://r2.ropensci.org/21a8ef4374ade93fbe95c5e339ec131a56543800e1336d9737b124b76857cd7d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/44718241388"
    }
  ]
}