{
  "_id": "6a12baddacfb0bcc41d1c0d2",
  "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-05-24 08:42:42 UTC",
    "User": "root"
  },
  "MD5sum": "dcd5755d590d44628d2cd06dd08c6778",
  "_user": "staffanbetner",
  "_type": "src",
  "_file": "mmtable2_0.1.3.tar.gz",
  "_fileid": "7d8137367fd1e876d2c324bff0a6c55226d3cdcebcaaf2461df2391033439aac",
  "_filesize": 2951738,
  "_sha256": "7d8137367fd1e876d2c324bff0a6c55226d3cdcebcaaf2461df2391033439aac",
  "_created": "2026-05-24T08:42:42.000Z",
  "_published": "2026-05-24T08:46:21.507Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77584485068,
      "time": 175,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7183754918"
    },
    {
      "job": 77584485078,
      "time": 190,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7183756459"
    },
    {
      "job": 77584485073,
      "time": 133,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7183750198"
    },
    {
      "job": 77584485058,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7183746617"
    },
    {
      "job": 77584246660,
      "time": 272,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183736501"
    },
    {
      "job": 77584485070,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183750468"
    },
    {
      "job": 77584485072,
      "time": 143,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7183751231"
    },
    {
      "job": 77584485076,
      "time": 119,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7183748821"
    },
    {
      "job": 77584485075,
      "time": 147,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7183751844"
    }
  ],
  "_buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/26356552885",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ianmoran11/mmtable2",
  "_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
  },
  "_maintainer": {
    "name": "Ian Moran",
    "email": "ian.moran11@gmail.com",
    "login": "ianmoran11",
    "description": "",
    "uuid": 11229116
  },
  "_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",
    "description": "Statistician"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mmtable2"
  },
  "_devurl": "https://github.com/ianmoran11/mmtable2",
  "_searchresults": 68,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mmtable2.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_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": 6.337658891026142,
  "_indexed": false,
  "_nocasepkg": "mmtable2",
  "_universes": [
    "staffanbetner"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-24T08:45:09.000Z",
      "distro": "noble",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "8a8743870437c60ae57d313639e6706240168a9822033d76e6d190c6b0ed0442",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/26356552885"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-24T08:45:21.000Z",
      "distro": "noble",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "f6a18fff073c7d3c6f370ff85352e9efadda1bc3257704ce4d21c17a986ef964",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/26356552885"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-24T08:44:35.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "eec94c87a40cead467054c611be77f09c9e4bc7f87f369d8fb58cbd0018c496e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/26356552885"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-24T08:44:11.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "c075f54a9ee9bde3b4302d5daa0fc56e65de36520f1e43767fe1d7c63421bf2e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/26356552885"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-05-24T08:45:13.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "9f86bd407bc8821aff987750049c8e06170f6100f2de043ef105fcb1e0d23a4a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/26356552885"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-24T08:44:27.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "ce98212dbdce112d85d1aa3358b83bccb8ddd6aa32d098621794af04f7692751",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/26356552885"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-24T08:44:16.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "fca342b50302ee36cd5b184edc167450e082cd8f72b64df250340bf446b67c06",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/26356552885"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-24T08:44:37.000Z",
      "commit": "02ffc53ca05baef7c3216afb82068e8762de3323",
      "fileid": "6070561c865df625e134061f171246370abb4da685b7cceed76708bdf35292db",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/staffanbetner/actions/runs/26356552885"
    }
  ]
}