{
  "_id": "6ab7ea0f99f7aa8c6aa34424",
  "Package": "matsindf",
  "Type": "Package",
  "Title": "Matrices in Data Frames",
  "Version": "0.4.11",
  "Date": "2025-11-16",
  "Authors@R": "c(person(\"Matthew\", \"Heun\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7438-214X\"),\nemail = \"matthew.heun@me.com\"))",
  "Description": "Provides functions to collapse a tidy data frame into\nmatrices in a data frame and expand a data frame of matrices\ninto a tidy data frame.",
  "License": "MIT + file LICENSE",
  "Language": "en-US",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Config/testthat/start-first": "excel, matsindf_apply, utilities, collapse",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/MatthewHeun/matsindf,\nhttps://matthewheun.github.io/matsindf/",
  "BugReports": "https://github.com/MatthewHeun/matsindf/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://matthewheun.r-universe.dev",
  "Date/Publication": "2025-11-18 15:14:56 UTC",
  "RemoteUrl": "https://github.com/matthewheun/matsindf",
  "RemoteRef": "HEAD",
  "RemoteSha": "ffb69076def975eadae0883e57150066f03035de",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-26 15:48:13 UTC",
    "User": "root"
  },
  "Author": "Matthew Heun [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-7438-214X>)",
  "Maintainer": "Matthew Heun <matthew.heun@me.com>",
  "_user": "matthewheun",
  "_type": "src",
  "_file": "matsindf_0.4.11.tar.gz",
  "_fileid": "https://r2.ropensci.org/afbc0f8a8edb7cb29847a887acde17734e03328391fcfb99ed1538e8def6f834",
  "_filesize": 391199,
  "_sha256": "afbc0f8a8edb7cb29847a887acde17734e03328391fcfb99ed1538e8def6f834",
  "_expires": "2027-01-04T15:51:41.000Z",
  "_created": "2026-09-26T15:48:13.000Z",
  "_published": "2026-09-26T15:51:43.434Z",
  "_jobs": [
    {
      "job": 108435041523,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10909263143"
    },
    {
      "job": 108435041502,
      "time": 173,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10909397947"
    },
    {
      "job": 108435041452,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10910145401"
    },
    {
      "job": 108435041437,
      "time": 109,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10909359412"
    },
    {
      "job": 108434394891,
      "time": 236,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10909892782"
    },
    {
      "job": 108435041504,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10909997602"
    },
    {
      "job": 108435041494,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10909237869"
    },
    {
      "job": 108435041510,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10910185161"
    },
    {
      "job": 108435041550,
      "time": 84,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10909214537"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/matthewheun/actions/runs/36252970772",
  "_status": "success",
  "_upstream": "https://github.com/matthewheun/matsindf",
  "_commit": {
    "id": "ffb69076def975eadae0883e57150066f03035de",
    "author": "Matthew Heun <matthew.heun@me.com>",
    "committer": "Matthew Heun <matthew.heun@me.com>",
    "message": "Merge branch 'release-0.4.11'\n",
    "time": 1763478896
  },
  "_maintainer": {
    "name": "Matthew Heun",
    "email": "matthew.heun@me.com",
    "login": "matthewheun",
    "orcid": "0000-0002-7438-214X",
    "description": "I am a professor in the Engineering Department at Calvin University, with additional affiliations at The University of Leeds and Stellenbosch University",
    "uuid": 3308246
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "matsbyname",
      "role": "Imports"
    },
    {
      "package": "openxlsx2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "Hmisc",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "RCLabels",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "matthewheun",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.4.11",
      "date": "2025-11-18"
    }
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "matthewheun",
      "count": 944,
      "uuid": 3308246
    },
    {
      "user": "alex-l-m",
      "count": 1,
      "uuid": 35587576
    }
  ],
  "_userbio": {
    "uuid": 3308246,
    "type": "user",
    "name": "Matthew Heun",
    "followers": 14,
    "description": "I am a professor in the Engineering Department at Calvin University, with additional affiliations at The University of Leeds and Stellenbosch University"
  },
  "_downloads": {
    "count": 385,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/matsindf"
  },
  "_devurl": "https://github.com/matthewheun/matsindf",
  "_pkgdown": "https://matthewheun.github.io/matsindf/",
  "_searchresults": 50,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/matsindf.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/matthewheun/matsindf",
  "_realowner": "matthewheun",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2019-02-11"
    },
    {
      "version": "0.3.1",
      "date": "2019-10-27"
    },
    {
      "version": "0.3.2",
      "date": "2019-12-06"
    },
    {
      "version": "0.3.3",
      "date": "2020-03-04"
    },
    {
      "version": "0.3.4",
      "date": "2020-03-22"
    },
    {
      "version": "0.3.6",
      "date": "2020-08-24"
    },
    {
      "version": "0.3.8",
      "date": "2021-09-03"
    },
    {
      "version": "0.3.9",
      "date": "2021-10-03"
    },
    {
      "version": "0.3.10",
      "date": "2021-12-17"
    },
    {
      "version": "0.3.11",
      "date": "2022-05-19"
    },
    {
      "version": "0.3.12",
      "date": "2023-01-25"
    },
    {
      "version": "0.4.0",
      "date": "2023-03-08"
    },
    {
      "version": "0.4.1",
      "date": "2023-04-26"
    },
    {
      "version": "0.4.3",
      "date": "2023-05-23"
    },
    {
      "version": "0.4.4",
      "date": "2023-08-18"
    },
    {
      "version": "0.4.5",
      "date": "2023-12-02"
    },
    {
      "version": "0.4.6",
      "date": "2023-12-10"
    },
    {
      "version": "0.4.7",
      "date": "2023-12-21"
    },
    {
      "version": "0.4.8",
      "date": "2024-02-01"
    },
    {
      "version": "0.4.10",
      "date": "2025-05-27"
    },
    {
      "version": "0.4.11",
      "date": "2025-11-18"
    }
  ],
  "_exports": [
    ":=",
    ".data",
    "%>%",
    "build_matsindf_apply_data_frame",
    "check_worksheet_name_violations",
    "collapse_to_matrices",
    "df_to_msg",
    "everything_except",
    "expand_to_tidy",
    "group_by_everything_except",
    "index_column",
    "mat_to_rowcolval",
    "matrix_cols",
    "matsindf_apply",
    "matsindf_apply_types",
    "rowcolval_to_mat",
    "verify_cols_missing",
    "write_mats_to_excel"
  ],
  "_datasets": [
    {
      "name": "UKEnergy2000",
      "title": "Energy consumption in the UK in 2000",
      "object": "UKEnergy2000",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Country",
        "Year",
        "Ledger.side",
        "Flow.aggregation.point",
        "Flow",
        "Product",
        "E.ktoe"
      ],
      "rows": 36,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_UKEnergy2000_matnames",
      "title": "Add a column of matrix names to tidy data frame",
      "topics": [
        "add_UKEnergy2000_matnames"
      ]
    },
    {
      "page": "add_UKEnergy2000_row_col_meta",
      "title": "Add row, column, row type, and column type metadata",
      "topics": [
        "add_UKEnergy2000_row_col_meta"
      ]
    },
    {
      "page": "build_keep_args",
      "title": "Build a list of arguments to keep",
      "topics": [
        "build_keep_args"
      ]
    },
    {
      "page": "build_matsindf_apply_data_frame",
      "title": "Create a data frame consisting of the input data for matsindf_apply()",
      "topics": [
        "build_matsindf_apply_data_frame"
      ]
    },
    {
      "page": "check_worksheet_name_violations",
      "title": "Develop a warning message for malformed Excel worksheet names",
      "topics": [
        "check_worksheet_name_violations"
      ]
    },
    {
      "page": "collapse_to_matrices",
      "title": "Collapse a \"tidy\" data frame to matrices in a data frame ('matsindf')",
      "topics": [
        "collapse_to_matrices"
      ]
    },
    {
      "page": "df_to_msg",
      "title": "Create a message from a data frame",
      "topics": [
        "df_to_msg"
      ]
    },
    {
      "page": "everything_except",
      "title": "Get symbols for all columns except ...",
      "topics": [
        "everything_except"
      ]
    },
    {
      "page": "expand_to_tidy",
      "title": "Expand a 'matsindf' data frame",
      "topics": [
        "expand_to_tidy"
      ]
    },
    {
      "page": "get_useable_default_args",
      "title": "Create a usable list of default arguments to a function",
      "topics": [
        "get_useable_default_args"
      ]
    },
    {
      "page": "group_by_everything_except",
      "title": "Group by all variables except some",
      "topics": [
        "group_by_everything_except"
      ]
    },
    {
      "page": "handle_empty_data",
      "title": "Gracefully handle empty data",
      "topics": [
        "handle_empty_data"
      ]
    },
    {
      "page": "handle_null_args",
      "title": "Gracefully handle 'NULL' arguments",
      "topics": [
        "handle_null_args"
      ]
    },
    {
      "page": "index_column",
      "title": "Index a column in a data frame by groups relative to an initial year",
      "topics": [
        "index_column"
      ]
    },
    {
      "page": "mat_to_rowcolval",
      "title": "Convert a matrix to a data frame with rows, columns, and values.",
      "topics": [
        "mat_to_rowcolval"
      ]
    },
    {
      "page": "matrix_cols",
      "title": "Find columns that contain matrices",
      "topics": [
        "matrix_cols"
      ]
    },
    {
      "page": "matsindf_apply",
      "title": "Apply a function to a 'matsindf' data frame (and more)",
      "topics": [
        "matsindf_apply"
      ]
    },
    {
      "page": "matsindf_apply_types",
      "title": "Determine types of '.dat' and '...' arguments for matsindf_apply()",
      "topics": [
        "matsindf_apply_types"
      ]
    },
    {
      "page": "rowcolval_to_mat",
      "title": "Collapse a tidy data frame into a matrix with named rows and columns",
      "topics": [
        "rowcolval_to_mat"
      ]
    },
    {
      "page": "should_unlist",
      "title": "Tell whether a column can be unlisted",
      "topics": [
        "should_unlist"
      ]
    },
    {
      "page": "UKEnergy2000",
      "title": "Energy consumption in the UK in 2000",
      "topics": [
        "UKEnergy2000"
      ]
    },
    {
      "page": "verify_cols_missing",
      "title": "Verify that column names in a data frame are not already present",
      "topics": [
        "verify_cols_missing"
      ]
    },
    {
      "page": "where_to_get_args",
      "title": "Decide where to get each argument to FUN",
      "topics": [
        "where_to_get_args"
      ]
    },
    {
      "page": "write_mats_to_excel",
      "title": "Write matrices to an Excel file",
      "topics": [
        "write_mats_to_excel"
      ]
    }
  ],
  "_readme": "https://github.com/matthewheun/matsindf/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "matrixcalc",
    "matsbyname",
    "memoise",
    "mime",
    "nnet",
    "openxlsx2",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "RCLabels",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "midf_apply_primer.Rmd",
      "filename": "midf_apply_primer.html",
      "title": "A matsindf_apply primer",
      "author": "Matthew Kuperus Heun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The basics",
        "Some details",
        "matsindf_apply() and data frames",
        "Programming with matsindf_apply()",
        "Conclusion"
      ],
      "created": "2019-01-07 21:21:10",
      "modified": "2025-11-18 15:14:56",
      "commits": 6
    },
    {
      "source": "matsindf.Rmd",
      "filename": "matsindf.html",
      "title": "Use Cases and Examples for matsindf",
      "author": "Matthew Kuperus Heun",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Data: UKEnergy2000",
        "Suggested workflow",
        "Prepare for collapse",
        "Collapse",
        "Duplicate (for purposes of illustration)",
        "Verify data",
        "Efficiencies",
        "Expand",
        "Report",
        "Conclusion",
        "References"
      ],
      "created": "2017-12-26 20:12:54",
      "modified": "2025-11-18 15:14:56",
      "commits": 34
    },
    {
      "source": "iris_pca.Rmd",
      "filename": "iris_pca.html",
      "title": "Using matsindf for principal components analysis",
      "author": "Alexander Davis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Data",
        "Generate PCA results",
        "Conclusion"
      ],
      "created": "2021-12-17 15:02:27",
      "modified": "2021-12-17 15:02:27",
      "commits": 1
    }
  ],
  "_score": 5.477121254719663,
  "_indexed": true,
  "_nocasepkg": "matsindf",
  "_universes": [
    "matthewheun"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.11",
      "date": "2026-09-26T15:50:47.000Z",
      "distro": "resolute",
      "commit": "ffb69076def975eadae0883e57150066f03035de",
      "fileid": "https://r2.ropensci.org/dd18de48e338c03b1f9a6b187e39a810a7914a363182399ee812227179a4e80f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewheun/actions/runs/36252970772"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.11",
      "date": "2026-09-26T15:51:00.000Z",
      "distro": "resolute",
      "commit": "ffb69076def975eadae0883e57150066f03035de",
      "fileid": "https://r2.ropensci.org/c7b13260a9165972761616fcb42f6559215563163922e0ccd5986f8d763fc4f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewheun/actions/runs/36252970772"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.11",
      "date": "2026-09-26T15:50:03.000Z",
      "commit": "ffb69076def975eadae0883e57150066f03035de",
      "fileid": "https://r2.ropensci.org/d1c94dfafbd0e9e32d3390b71bb596cc33b4177a8f8153b465232f3bd1630cd2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewheun/actions/runs/36252970772"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.11",
      "date": "2026-09-26T15:49:57.000Z",
      "commit": "ffb69076def975eadae0883e57150066f03035de",
      "fileid": "https://r2.ropensci.org/ec008a427544bcb4cd4a99bb7d869564e47d38d833575a3b72bf0afeb75aa9ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewheun/actions/runs/36252970772"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.11",
      "date": "2026-09-26T15:50:37.000Z",
      "commit": "ffb69076def975eadae0883e57150066f03035de",
      "fileid": "https://r2.ropensci.org/598352b71b1fd08e0609489b40951b2450fe0cc79d41f8ca676ca8a9e78d7bc4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/matthewheun/actions/runs/36252970772"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.11",
      "date": "2026-09-26T15:49:26.000Z",
      "commit": "ffb69076def975eadae0883e57150066f03035de",
      "fileid": "https://r2.ropensci.org/04ae9d4d90ba3b60aa520cb38799d0b73730a6031bde5b1bd493109de1f5cde9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewheun/actions/runs/36252970772"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.11",
      "date": "2026-09-26T15:49:22.000Z",
      "commit": "ffb69076def975eadae0883e57150066f03035de",
      "fileid": "https://r2.ropensci.org/b94856f06d4fe88b519e2120c9ca4eaa145f7ea6ce4af552489f896dda2c66c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewheun/actions/runs/36252970772"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.11",
      "date": "2026-09-26T15:49:25.000Z",
      "commit": "ffb69076def975eadae0883e57150066f03035de",
      "fileid": "https://r2.ropensci.org/835499334445c7b90fbd323671e193730e2e4e6e67bc07583e14bd3c4bd85fb2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matthewheun/actions/runs/36252970772"
    }
  ]
}