{
  "_id": "6ae5a4da95ca2370cc8d0f48",
  "Package": "narray",
  "Title": "Subset- And Name-Aware Array Utility Functions",
  "Version": "0.5.2",
  "Authors@R": "c(\nperson('Michael', 'Schubert', email='mschu.dev@gmail.com',\nrole = c('aut', 'cre', 'cph'),\ncomment = c(ORCID='0000-0002-6862-5221')))",
  "Maintainer": "Michael Schubert <mschu.dev@gmail.com>",
  "Description": "Stacking arrays according to dimension names, subset-aware\nsplitting and mapping of functions, intersecting along\narbitrary dimensions, converting to and from data.frames, and\nmany other helper functions.",
  "URL": "https://github.com/mschubert/narray",
  "BugReports": "https://github.com/mschubert/narray/issues",
  "License": "Apache License (== 2.0) | file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.2.1",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://mschubert.r-universe.dev",
  "Date/Publication": "2025-11-28 09:15:55 UTC",
  "RemoteUrl": "https://github.com/mschubert/narray",
  "RemoteRef": "HEAD",
  "RemoteSha": "45f2be40040d7806cb3d136046e40300b032072f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-31 07:58:17 UTC",
    "User": "root"
  },
  "Author": "Michael Schubert [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-6862-5221>)",
  "_user": "mschubert",
  "_type": "src",
  "_file": "narray_0.5.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/ceea24f6b4c8c382fc0e8bd722c6048791102f22798cec29bd5cc3d385486067",
  "_filesize": 273003,
  "_sha256": "ceea24f6b4c8c382fc0e8bd722c6048791102f22798cec29bd5cc3d385486067",
  "_expires": "2027-02-08T08:20:41.000Z",
  "_created": "2026-10-31T07:58:17.000Z",
  "_published": "2026-10-31T08:20:42.649Z",
  "_upstream": "https://github.com/mschubert/narray",
  "_status": "success",
  "_maintainer": {
    "name": "Michael Schubert",
    "email": "mschu.dev@gmail.com",
    "login": "mschubert",
    "orcid": "0000-0002-6862-5221",
    "twitter": "@_ms03",
    "description": "Bioinformatics at the Medical University of Innsbruck. Previously at the Netherlands Cancer Institute (NKI), PhD from EMBL-EBI/Cambridge Uni.",
    "uuid": 442360
  },
  "_jobs": [
    {
      "job": 124483194460,
      "time": 100,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13035777137"
    },
    {
      "job": 124483194524,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13034969146"
    },
    {
      "job": 124483194568,
      "time": 95,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13035443506"
    },
    {
      "job": 124483194450,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13035518289"
    },
    {
      "job": 124483194464,
      "time": 83,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13036116236"
    },
    {
      "job": 124483194517,
      "time": 275,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13035499790"
    },
    {
      "job": 124483194541,
      "time": 122,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13036745755"
    },
    {
      "job": 124483194470,
      "time": 292,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13036000524"
    },
    {
      "job": 124482577173,
      "time": 198,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13035154045"
    },
    {
      "job": 124483194436,
      "time": 93,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13035613133"
    },
    {
      "job": 124483194471,
      "time": 358,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13035199622"
    },
    {
      "job": 124483194515,
      "time": 135,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "13035473572"
    },
    {
      "job": 124483194554,
      "time": 88,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13035248938"
    },
    {
      "job": 124483194570,
      "time": 319,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13034684935"
    },
    {
      "job": 124483194489,
      "time": 108,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13035258987"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963",
  "_commit": {
    "id": "45f2be40040d7806cb3d136046e40300b032072f",
    "author": "Michael Schubert <mschu.dev@gmail.com>",
    "committer": "Michael Schubert <mschu.dev@gmail.com>",
    "message": "cran compat\n",
    "time": 1764321355
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.2",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "mschubert",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2025-48",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.5.2",
      "date": "2025-11-28"
    }
  ],
  "_topics": [
    "array",
    "utility",
    "cpp"
  ],
  "_stars": 26,
  "_contributors": [
    {
      "user": "mschubert",
      "count": 316,
      "uuid": 442360
    }
  ],
  "_userbio": {
    "uuid": 442360,
    "type": "user",
    "name": "Michael Schubert",
    "followers": 134,
    "description": "Bioinformatics at the Medical University of Innsbruck. Previously at the Netherlands Cancer Institute (NKI), PhD from EMBL-EBI/Cambridge Uni."
  },
  "_downloads": {
    "count": 542,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/narray"
  },
  "_devurl": "https://github.com/mschubert/narray",
  "_searchresults": 11,
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::char_get_string_elt()",
        "hash": "b8ef75689d832a84"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::type2name()",
        "hash": "b9506dcc532aefab"
      }
    ]
  },
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/narray.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/mschubert/narray",
  "_realowner": "mschubert",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2016-12-07"
    },
    {
      "version": "0.2.2",
      "date": "2017-03-12"
    },
    {
      "version": "0.3.2",
      "date": "2017-11-12"
    },
    {
      "version": "0.4.0",
      "date": "2018-01-28"
    },
    {
      "version": "0.4.1",
      "date": "2018-08-18"
    },
    {
      "version": "0.4.1.1",
      "date": "2021-05-10"
    },
    {
      "version": "0.5.0",
      "date": "2022-08-10"
    },
    {
      "version": "0.5.1",
      "date": "2022-10-02"
    },
    {
      "version": "0.5.2",
      "date": "2025-11-28"
    }
  ],
  "_exports": [
    "bind",
    "collect",
    "construct",
    "crep",
    "dim",
    "dimnames",
    "filter",
    "flatten",
    "intersect",
    "intersect_list",
    "lambda",
    "like",
    "map",
    "mask",
    "melt",
    "rep",
    "rrep",
    "split",
    "stack",
    "subset",
    "translate",
    "which"
  ],
  "_help": [
    {
      "page": "grapes-or-grapes",
      "title": "Operator for array-like logical operations",
      "topics": [
        "%or%"
      ]
    },
    {
      "page": "bind",
      "title": "Binds arrays together disregarding names",
      "topics": [
        "bind"
      ]
    },
    {
      "page": "collect",
      "title": "Converts a logical matrix to a list of character vectors",
      "topics": [
        "collect"
      ]
    },
    {
      "page": "construct",
      "title": "Transform a data.frame with axes and value into an array",
      "topics": [
        "construct"
      ]
    },
    {
      "page": "dim",
      "title": "base::dim, but returning 1 for vector",
      "topics": [
        "dim"
      ]
    },
    {
      "page": "dimnames",
      "title": "Return dimension names of an array respecting the number of dimensions",
      "topics": [
        "dimnames"
      ]
    },
    {
      "page": "drop_if",
      "title": "Drop unused dims if flag is TRUE",
      "topics": [
        "drop_if"
      ]
    },
    {
      "page": "filter",
      "title": "Function to discard subsets of an array (NA or drop)",
      "topics": [
        "filter"
      ]
    },
    {
      "page": "flatten",
      "title": "Flattens an array along an axis",
      "topics": [
        "flatten"
      ]
    },
    {
      "page": "guess_structure",
      "title": "Infer array structure from data.frame",
      "topics": [
        "guess_structure"
      ]
    },
    {
      "page": "intersect",
      "title": "Intersects all passed arrays along a give dimension, and modifies them in place",
      "topics": [
        "intersect"
      ]
    },
    {
      "page": "intersect_list",
      "title": "Intersects a lits of arrays for common dimension names",
      "topics": [
        "intersect_list"
      ]
    },
    {
      "page": "lambda",
      "title": "Lambda syntax for array iteration",
      "topics": [
        "lambda"
      ]
    },
    {
      "page": "like",
      "title": "Reshapes 'x' to be like 'like', including dimension names",
      "topics": [
        "like"
      ]
    },
    {
      "page": "map",
      "title": "Maps a function along an array preserving its structure",
      "topics": [
        "map"
      ]
    },
    {
      "page": "map_one",
      "title": "Apply function that preserves order of dimensions",
      "topics": [
        "map_one"
      ]
    },
    {
      "page": "mask",
      "title": "Converts a list of character vectors to a logical matrix",
      "topics": [
        "mask"
      ]
    },
    {
      "page": "match",
      "title": "match() function with extended functionality",
      "topics": [
        "match"
      ]
    },
    {
      "page": "melt",
      "title": "Function to melt data.frame from one or multiple arrays",
      "topics": [
        "melt"
      ]
    },
    {
      "page": "named_dots",
      "title": "Return a list of named dot-arguments",
      "topics": [
        "named_dots"
      ]
    },
    {
      "page": "narray",
      "title": "R package for subset- and name-aware array utility functions",
      "topics": [
        "narray-package",
        "narray"
      ]
    },
    {
      "page": "pb",
      "title": "Progress bar format to be consistent",
      "topics": [
        "pb"
      ]
    },
    {
      "page": "rep",
      "title": "Repeats an array along an arbitrary axis",
      "topics": [
        "crep",
        "rep",
        "rrep"
      ]
    },
    {
      "page": "restore_null_dimnames",
      "title": "If no dimnames, return NULL and not list of NULLs",
      "topics": [
        "restore_null_dimnames"
      ]
    },
    {
      "page": "split",
      "title": "Splits and array along a given axis, either totally or only subsets",
      "topics": [
        "split"
      ]
    },
    {
      "page": "stack",
      "title": "Stacks arrays while respecting names in each dimension",
      "topics": [
        "stack"
      ]
    },
    {
      "page": "subset",
      "title": "Subsets an array using a list with indices or names",
      "topics": [
        "subset"
      ]
    },
    {
      "page": "translate",
      "title": "Translate an axis between two sets of identifiers",
      "topics": [
        "translate"
      ]
    },
    {
      "page": "vectors_to_row_or_col",
      "title": "Converts vectors in a list to row- or column vectors",
      "topics": [
        "vectors_to_row_or_col"
      ]
    },
    {
      "page": "which",
      "title": "A multidimensional 'which' function",
      "topics": [
        "which"
      ]
    }
  ],
  "_readme": "https://github.com/mschubert/narray/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "crayon",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "Rcpp",
    "rlang",
    "stringi",
    "stringr",
    "vctrs"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "narray.Rmd",
      "filename": "narray.html",
      "title": "narray Usage Examples",
      "author": "Michael Schubert",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Loading the package",
        "Stacking and splitting",
        "Mapping functions on arrays",
        "Intersecting",
        "Converting to and from data.frames",
        "Masks from factors and lists"
      ],
      "created": "2016-11-23 16:37:23",
      "modified": "2022-08-08 16:00:42",
      "commits": 11
    }
  ],
  "_score": 6.109578546904387,
  "_indexed": true,
  "_nocasepkg": "narray",
  "_universes": [
    "mschubert"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-10-31T08:00:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/846f72d1c966cc18db6001fc88fac0f6db00c739ecfccc15a9f4064817c9a11f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-10-31T08:00:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/093f028d42f40f9e1fad72bb30dc1e534a8b3dc3e556fc9527bbbded21c6cea5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-10-31T08:00:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/ad4d26b1d3afa8bfe7f230faf69a9ea7e21584ae3f5b951bd00a9d2762a85713",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.2",
      "date": "2026-10-31T08:00:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/5f812d63823d442afabecc98705c6be71d3ef5658c8390c098dfda203081258b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-10-31T08:14:20.000Z",
      "arch": "aarch64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/f44296863b53c52c2098504c9797d4287bfa404efb103a364f693c19fcc83cf1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-10-31T08:11:30.000Z",
      "arch": "x86_64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/9d5c9a7338589e73a2f52df5d623e96c650ab5080676cbfbee3c4a15c1d2121d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-10-31T08:19:56.000Z",
      "arch": "aarch64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/c2a35d3871cb936793d17a13e3e58904ec0dc080ae8a27d8d3d011e83407be1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.5.2",
      "date": "2026-10-31T08:10:22.000Z",
      "arch": "x86_64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/4a3cb90fde6cf58fe1313edefe49d2f1ab6d5d96facb0593da5d8dc6ec769583",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.2",
      "date": "2026-10-31T08:00:08.000Z",
      "arch": "emscripten",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/dc3e42e70d69566a9bf3272bc746c29e0edac2dc320dda0cae64a1b6418645af",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-10-31T08:03:41.000Z",
      "arch": "aarch64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/2ebc9206aab43d6204177c0a92edf166b5f425c0ffb4e0c23f3728a22ddc4e6a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-10-31T07:59:34.000Z",
      "arch": "x86_64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/d88f0674e51bc3ee4ad310fe13a810e615b7f078724ab5d19c032ee58d6b4951",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-10-31T07:59:27.000Z",
      "arch": "x86_64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/b94ea2dcc01f89f45b78fa92bc623865a6b666b8db93e6ad8358d70608023778",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-10-31T08:02:59.000Z",
      "arch": "aarch64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/9445061b3c5f0bd419c41c602d662302573690263eba649171379176a1da9993",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.5.2",
      "date": "2026-10-31T07:59:44.000Z",
      "arch": "x86_64",
      "commit": "45f2be40040d7806cb3d136046e40300b032072f",
      "fileid": "https://r2.ropensci.org/0342c369d888c7e43760d1782fac62b907273c696d48c97c15df78009c0691da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mschubert/actions/runs/41182474963"
    }
  ]
}