{
  "_id": "6a13e663acfb0bcc41d2d1f5",
  "Package": "microplot",
  "Type": "Package",
  "Title": "Microplots (Sparklines) in 'LaTeX', 'Word', 'HTML', 'Excel'",
  "Version": "1.0-47",
  "Date": "2025-8-21",
  "Authors@R": "c(person(given = c(\"Richard\", \"M.\"),\nfamily = \"Heiberger\",\nrole = c(\"aut\", \"cre\"),\nemail = \"rmh@temple.edu\",\ncomment = c(ORCID = \"0000-0001-9047-6931\")),\nperson(given = c(\"Karen\"),\nfamily = \"Byron\",\nrole = \"ctb\"),\nperson(given = \"Nooreen\",\nfamily = \"Dabbish\",\nrole = \"ctb\"))",
  "Author": "Richard M. Heiberger [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9047-6931>), Karen Byron [ctb],\nNooreen Dabbish [ctb]",
  "Maintainer": "Richard M. Heiberger <rmh@temple.edu>",
  "Description": "The microplot function writes a set of R graphics files to\nbe used as microplots (sparklines) in tables in either 'LaTeX',\n'HTML', 'Word', or 'Excel' files.  For 'LaTeX', we provide\nmethods for the Hmisc::latex() generic function to construct\n'latex' tabular environments which include the graphs.  These\ncan be used directly with the operating system 'pdflatex' or\n'latex' command, or by using one of 'Sweave', 'knitr',\n'rmarkdown', or 'Emacs org-mode' as an intermediary.  For 'MS\nWord', the msWord() function uses the 'flextable' package to\nconstruct 'Word' tables which include the graphs.  There are\nseveral distinct approaches for constructing HTML files.  The\nsimplest is to use the msWord() function with argument\nfiletype=\"html\".  Alternatively, use either 'Emacs org-mode' or\nthe htmlTable::htmlTable() function to construct an 'HTML' file\ncontaining tables which include the graphs.  See the\ndocumentation for our as.htmlimg() function.  For 'Excel' use\non 'Windows', the file examples/irisExcel.xls includes 'VBA'\ncode which brings the individual panels into individual cells\nin the spreadsheet. Examples in the examples and demo\nsubdirectories are shown with 'lattice' graphics, 'ggplot2'\ngraphics, and 'base' graphics. Examples for 'LaTeX' include\n'Sweave' (both 'LaTeX'-style and 'Noweb'-style), 'knitr',\n'emacs org-mode', and 'rmarkdown' input files and their 'pdf'\noutput files.  Examples for 'HTML' include 'org-mode' and 'Rmd'\ninput files and their webarchive 'HTML' output files.  In\naddition, the as.orgtable() function can display a data.frame\nin an 'org-mode' document.  The examples for 'MS Word' (with\neither filetype=\"docx\" or filetype=\"html\") work with all\noperating systems.  The package does not require the\ninstallation of 'LaTeX' or 'MS Word' to be able to write '.tex'\nor '.docx' files.",
  "License": "GPL (>= 2)",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 07:32:17 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "libcairo2-dev cmake libfontconfig1-dev\nlibfreetype6-dev libfribidi-dev libgmp3-dev make\nlibharfbuzz-dev libicu-dev libjpeg-dev libpng-dev libtiff-dev\nlibuv1-dev libwebp-dev libxml2-dev libmpfr-dev libssl-dev\nzlib1g-dev",
  "Repository": "https://rmheiberger.r-universe.dev",
  "Date/Publication": "2025-07-25 03:10:08 UTC",
  "RemoteUrl": "https://github.com/cran/microplot",
  "RemoteRef": "HEAD",
  "RemoteSha": "56dda5187b59935423b024161ced73768238dd2e",
  "MD5sum": "d3fd4e0690fca9f2115239e7f7922bdc",
  "_user": "rmheiberger",
  "_type": "src",
  "_file": "microplot_1.0-47.tar.gz",
  "_fileid": "fbcb496e5fbc217de52dd5b2b01ecf44963f0f9dbd9bfe0e5c2f3cb19daa999c",
  "_filesize": 669520,
  "_sha256": "fbcb496e5fbc217de52dd5b2b01ecf44963f0f9dbd9bfe0e5c2f3cb19daa999c",
  "_created": "2026-05-24T07:32:17.000Z",
  "_published": "2026-05-25T06:04:19.875Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77664312349,
      "time": 195,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183310291"
    },
    {
      "job": 77664312524,
      "time": 192,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183309979"
    },
    {
      "job": 77664312518,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183310957"
    },
    {
      "job": 77664312058,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7192567382"
    },
    {
      "job": 77664312091,
      "time": 239,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183288769"
    },
    {
      "job": 77664312458,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183303186"
    },
    {
      "job": 77664312500,
      "time": 150,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183305515"
    },
    {
      "job": 77664312490,
      "time": 134,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183303620"
    },
    {
      "job": 77664312419,
      "time": 126,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183302741"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rmheiberger/actions/runs/26355159840",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/microplot",
  "_commit": {
    "id": "56dda5187b59935423b024161ced73768238dd2e",
    "author": "Richard M. Heiberger <rmh@temple.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0-47\n",
    "time": 1753413008
  },
  "_maintainer": {
    "name": "Richard M. Heiberger",
    "email": "rmh@temple.edu",
    "login": "rmheiberger",
    "description": "",
    "uuid": 2088099,
    "orcid": "0000-0001-9047-6931"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Hmisc",
      "version": ">= 4.1-1",
      "role": "Imports"
    },
    {
      "package": "HH",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "flextable",
      "version": ">= 0.5-11",
      "role": "Imports"
    },
    {
      "package": "officer",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "htmltools",
      "role": "Imports"
    },
    {
      "package": "cowplot",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "latticeExtra",
      "role": "Suggests"
    },
    {
      "package": "xtable",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "htmlTable",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0-47",
      "date": "2025-07-25"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "rmheiberger",
      "count": 11,
      "uuid": 2088099
    }
  ],
  "_userbio": {
    "uuid": 2088099,
    "type": "user",
    "name": "rmheiberger"
  },
  "_downloads": {
    "count": 5696,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/microplot"
  },
  "_searchresults": 48,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/microplot.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "rmheiberger",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0-14",
      "date": "2016-06-22"
    },
    {
      "version": "1.0-16",
      "date": "2017-01-19"
    },
    {
      "version": "1.0-25",
      "date": "2018-01-10"
    },
    {
      "version": "1.0-38",
      "date": "2018-03-13"
    },
    {
      "version": "1.0-39",
      "date": "2018-06-05"
    },
    {
      "version": "1.0-40",
      "date": "2018-07-15"
    },
    {
      "version": "1.0-41",
      "date": "2018-07-18"
    },
    {
      "version": "1.0-42",
      "date": "2018-08-19"
    },
    {
      "version": "1.0-44",
      "date": "2020-11-28"
    },
    {
      "version": "1.0-45",
      "date": "2022-01-26"
    },
    {
      "version": "1.0-47",
      "date": "2025-07-25"
    }
  ],
  "_exports": [
    "as.htmlimg",
    "as.includegraphics",
    "as.orgfile",
    "as.orgtable",
    "dir.verify",
    "dvi",
    "formatDF",
    "get_legend",
    "graphicsList",
    "latex",
    "latexCheckOptions",
    "latexSetOptions",
    "layoutCollapse",
    "layoutHeightsCollapse",
    "layoutWidthsCollapse",
    "microplot",
    "microplotAttrDisplay",
    "msWord",
    "optionsCmds",
    "plot_grid",
    "show.latexConsole",
    "theme_collapse"
  ],
  "_datasets": [
    {
      "name": "cc176.y.adj",
      "title": "Adjusted response values and their five number summaries by treatment level for one model using the cc176 dataset. This dataset is used in two demos: \"bwplot\" and \"boxplot-ggplot\".",
      "object": "cc176.y.adj",
      "file": "cc176.y.adj.rda",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "cc176fivenumsd",
      "title": "Adjusted response values and their five number summaries by treatment level for one model using the cc176 dataset. This dataset is used in two demos: \"bwplot\" and \"boxplot-ggplot\".",
      "object": "cc176.y.adj",
      "file": "cc176.y.adj.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "min",
        "m-sd",
        "mean",
        "m+sd",
        "max"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    },
    {
      "name": "LegendrePolyMatrices",
      "title": "Legendre Orthogonal Polynomials for various values of alpha and beta. The dataset is used in the demo(\"LegendrePolynomials\").",
      "object": "LegendrePolyMatrices",
      "file": "LegendrePolyMatrices.rda",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "0.25",
        "0.5",
        "1",
        "2",
        "10"
      ],
      "rows": 3,
      "table": false,
      "tojson": true
    },
    {
      "name": "toxicity",
      "title": "Simulated toxicity data.  Dataset is used in demo(\"tablesPlusGraphicColumn\").",
      "object": "toxicity",
      "file": "toxicity.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Grade1",
        "Grade2",
        "Grade3",
        "Grade4",
        "Grade5"
      ],
      "rows": 4,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "microplot-package",
      "title": "Display microplots (sparklines) from R graphics panels in tables in 'LaTeX', 'Word', 'HTML', 'Excel'.",
      "topics": [
        "microplot-package",
        "sparkline"
      ]
    },
    {
      "page": "as.htmlimg",
      "title": "Place a filename or filepath in the format used by HTML",
      "topics": [
        "as.htmlimg"
      ]
    },
    {
      "page": "as.includegraphics",
      "title": "Convert a filename into a complete 'LaTeX' '\\includegraphics' expression for use with 'LaTeX' '\\includegraphics' macro in the 'graphicx' package.  This is used for 'pdf' and 'png' files with the system 'pdflatex' command.  This is used for 'ps' files with the system 'latex' command.",
      "topics": [
        "as.includegraphics",
        "as.includegraphics.default",
        "as.includegraphics.ggplot",
        "as.includegraphics.graphicsList",
        "as.includegraphics.includegraphicsMatrix",
        "as.includegraphics.microplotMatrix",
        "as.includegraphics.trellis"
      ]
    },
    {
      "page": "as.orgfile",
      "title": "Place a filename or filepath in the format used by org-mode",
      "topics": [
        "as.orgfile"
      ]
    },
    {
      "page": "as.orgtable",
      "title": "Prepare a matrix or data.frame to be used as an org-mode table",
      "topics": [
        "as.orgtable"
      ]
    },
    {
      "page": "cc176.y.adj",
      "title": "Adjusted response values and their five number summaries by treatment level for one model using the cc176 dataset. This dataset is used in two demos: \"bwplot\" and \"boxplot-ggplot\".",
      "topics": [
        "cc176.y.adj",
        "cc176fivenumsd"
      ]
    },
    {
      "page": "dir.verify",
      "title": "Verifies existence of, or creates, a directory.",
      "topics": [
        "dir.verify"
      ]
    },
    {
      "page": "formatDF",
      "title": "Format a Data Frame or Matrix for LaTeX or HTML.",
      "topics": [
        "formatDF"
      ]
    },
    {
      "page": "graphicsList",
      "title": "Convert a list of \"trellis\" objects or list of \"ggplot\" objects into a \"graphicslist\" object.",
      "topics": [
        "graphicsList"
      ]
    },
    {
      "page": "latex.AEdotplot",
      "title": "Display the AE (Adverse Events) dotplot of incidence and relative risk from the HH package in a 'LaTeX' tabular environment or in an 'MS Word' or an 'HTML' table.",
      "topics": [
        "latex.AEdotplot",
        "microplot.AEdotplot",
        "msWord.AEdotplot"
      ]
    },
    {
      "page": "latex.trellis",
      "title": "Display a table in 'latex' containing panels from R graphs in its cells.",
      "topics": [
        "latex.ggplot",
        "latex.graphicsClass",
        "latex.graphicsList",
        "latex.includegraphicsMatrix",
        "latex.microplotMatrix",
        "latex.trellis"
      ]
    },
    {
      "page": "latexSetOptions",
      "title": "Set the options for use of latex; check whether the options for latex functions have been specified.",
      "topics": [
        "latexCheckOptions",
        "latexSetOptions"
      ]
    },
    {
      "page": "layoutCollapse",
      "title": "Set the lattice 'par.settings' to remove all marginal space.",
      "topics": [
        "layoutCollapse",
        "layoutHeightsCollapse",
        "layoutWidthsCollapse"
      ]
    },
    {
      "page": "LegendrePolyMatrices",
      "title": "Legendre Orthogonal Polynomials for various values of alpha and beta. The dataset is used in the demo(\"LegendrePolynomials\").",
      "topics": [
        "LegendrePolyMatrices"
      ]
    },
    {
      "page": "microplot",
      "title": "Take a trellis or ggplot object, or graphicsList object (list of trellis or ggplot objects), and generate a set of graphics files, one per panel of a multi-panel display.",
      "topics": [
        "microplot",
        "microplot.ggplot",
        "microplot.graphicsList",
        "microplot.trellis"
      ]
    },
    {
      "page": "microplotAttrDisplay",
      "title": "Specify how to display the microplots for x.axis, y.axis, xlab, ylab, and key.",
      "topics": [
        "microplotAttrDisplay"
      ]
    },
    {
      "page": "msWord",
      "title": "Display a table in 'MS Word' containing panels from R graphs in its cells.",
      "topics": [
        "msWord",
        "msWord.ggplot",
        "msWord.graphicsClass",
        "msWord.graphicsList",
        "msWord.microplotMatrix",
        "msWord.trellis"
      ]
    },
    {
      "page": "show.latexConsole",
      "title": "Revisions of Hmisc latex and dvi functions that display the generated latex file on screen and divert the console log to a file.  New print methods that display Operating System files (ps, docx, html) on screen.",
      "topics": [
        "dvi.latexConsole",
        "print.OSfilename",
        "show.dvilC",
        "show.latexConsole",
        "show.OSfilename"
      ]
    },
    {
      "page": "themeCollapse",
      "title": "Set the 'ggplot2' theme to remove all marginal space.",
      "topics": [
        "theme_collapse"
      ]
    },
    {
      "page": "toxicity",
      "title": "Simulated toxicity data.  Dataset is used in demo(\"tablesPlusGraphicColumn\").",
      "topics": [
        "toxicity"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "askpass",
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "commonmark",
    "cowplot",
    "cpp11",
    "data.table",
    "deldir",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "flextable",
    "fontawesome",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "foreign",
    "Formula",
    "fs",
    "gdtools",
    "generics",
    "ggplot2",
    "glue",
    "gmp",
    "gridExtra",
    "gtable",
    "HH",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "interp",
    "isoband",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "latticeExtra",
    "leaps",
    "lifecycle",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "multcomp",
    "mvtnorm",
    "nnet",
    "officer",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "plyr",
    "png",
    "promises",
    "purrr",
    "R6",
    "ragg",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "reshape2",
    "rlang",
    "rmarkdown",
    "Rmpfr",
    "rpart",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "systemfonts",
    "textshaping",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "uuid",
    "vcd",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "xtable",
    "yaml",
    "zip",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "rmhPoster.Rtex",
      "filename": "rmhPoster.pdf",
      "title": "Microplots in LaTeX tables, useR2016 poster",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2016-06-22 06:04:27",
      "modified": "2022-01-26 21:10:02",
      "commits": 3
    }
  ],
  "_score": 3.436811218004387,
  "_indexed": true,
  "_nocasepkg": "microplot",
  "_universes": [
    "rmheiberger"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0-47",
      "date": "2026-05-24T07:35:04.000Z",
      "distro": "noble",
      "commit": "56dda5187b59935423b024161ced73768238dd2e",
      "fileid": "b2428e62c4c5a93247405326a8db4795bd7db9c10b2aa0409cf9f7f4f498e052",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmheiberger/actions/runs/26355159840"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0-47",
      "date": "2026-05-24T07:35:00.000Z",
      "distro": "noble",
      "commit": "56dda5187b59935423b024161ced73768238dd2e",
      "fileid": "bab89960df3cd11cd719b3abcd29740a6356c83147a0c7906411306865795faf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmheiberger/actions/runs/26355159840"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0-47",
      "date": "2026-05-24T07:35:33.000Z",
      "commit": "56dda5187b59935423b024161ced73768238dd2e",
      "fileid": "165417248644765d8fae796363d547be671f6245d95da2189444ae782bdcdce2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmheiberger/actions/runs/26355159840"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0-47",
      "date": "2026-05-25T06:03:13.000Z",
      "commit": "56dda5187b59935423b024161ced73768238dd2e",
      "fileid": "9e3d73920183f2753395dcffac6129fec0731601ac16f28c975fd871edae6c14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmheiberger/actions/runs/26355159840"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0-47",
      "date": "2026-05-24T07:34:54.000Z",
      "commit": "56dda5187b59935423b024161ced73768238dd2e",
      "fileid": "bc4353b81ce1662c109fa556cb26184a0894f08128958ea8bd3a1b32114cfd2d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rmheiberger/actions/runs/26355159840"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0-47",
      "date": "2026-05-24T07:34:10.000Z",
      "commit": "56dda5187b59935423b024161ced73768238dd2e",
      "fileid": "452fa7180b58c99fb7f10b7ee3aa50b4bcd3d0ed153bb6a4e8fb5e1fb2bc3438",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmheiberger/actions/runs/26355159840"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0-47",
      "date": "2026-05-24T07:33:53.000Z",
      "commit": "56dda5187b59935423b024161ced73768238dd2e",
      "fileid": "e3de6b53fb25b357b7f8de58a80ba8e8a9e3e1344fe3164362ede3775c5c41b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmheiberger/actions/runs/26355159840"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0-47",
      "date": "2026-05-24T07:33:47.000Z",
      "commit": "56dda5187b59935423b024161ced73768238dd2e",
      "fileid": "9fdc1a5c39292b736d9b1d5698a4069ce666ef9d3f31aa08c0b24fff7636459c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rmheiberger/actions/runs/26355159840"
    }
  ]
}