{
  "_id": "6a47985d2f27a93436c0fc3a",
  "Package": "legocolors",
  "Title": "Official Lego Color Palettes",
  "Version": "0.4.0",
  "Authors@R": "person(given = \"Matthew\",\nfamily = \"Leonawicz\",\nrole = c(\"aut\", \"cre\"),\nemail = \"rpkgs@pm.me\")",
  "Description": "Provides a dataset containing several color naming\nconventions established by multiple sources, along with\nassociated color metadata. The package also provides related\nhelper functions for mapping among the different Lego color\nnaming conventions and between Lego colors, hex colors, and 'R'\ncolor names, making it easy to convert any color palette to one\nbased on existing Lego colors while keeping as close to the\noriginal color palette as possible. The functions use nearest\ncolor matching based on Euclidean distance in RGB space. Naming\nconventions for color mapping include those from 'BrickLink'\n(<https://www.bricklink.com>), 'The Lego Group'\n(<https://www.lego.com>), 'LDraw' (<https://www.ldraw.org/>),\nand 'Peeron' (<http://www.peeron.com/>).",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/leonawicz/legocolors",
  "BugReports": "https://github.com/leonawicz/legocolors/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Repository": "https://leonawicz.r-universe.dev",
  "Date/Publication": "2024-09-11 22:41:24 UTC",
  "RemoteUrl": "https://github.com/leonawicz/legocolors",
  "RemoteRef": "HEAD",
  "RemoteSha": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-03 08:30:05 UTC",
    "User": "root"
  },
  "Author": "Matthew Leonawicz [aut, cre]",
  "Maintainer": "Matthew Leonawicz <rpkgs@pm.me>",
  "_user": "leonawicz",
  "_type": "src",
  "_file": "legocolors_0.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/42903510592aa2fda3bef8abcc87faadcd69ce2681dbb7b33b65a298bb93432d",
  "_filesize": 189106,
  "_sha256": "42903510592aa2fda3bef8abcc87faadcd69ce2681dbb7b33b65a298bb93432d",
  "_expires": "2026-10-11T11:09:17.000Z",
  "_created": "2026-07-03T08:30:05.000Z",
  "_published": "2026-07-03T11:09:17.933Z",
  "_jobs": [
    {
      "job": 84987305634,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8061686093"
    },
    {
      "job": 84987305764,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8061696066"
    },
    {
      "job": 84987305744,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8061683459"
    },
    {
      "job": 84987305840,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8061687357"
    },
    {
      "job": 84987305290,
      "time": 145,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8061647096"
    },
    {
      "job": 84987305658,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8061679646"
    },
    {
      "job": 84987305979,
      "time": 71,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8061671880"
    },
    {
      "job": 84987305710,
      "time": 55,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8061666311"
    },
    {
      "job": 84987305666,
      "time": 59,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8061668105"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/leonawicz/actions/runs/28648379706",
  "_status": "success",
  "_upstream": "https://github.com/leonawicz/legocolors",
  "_commit": {
    "id": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
    "author": "leonawicz <mfleonawicz@gmail.com>",
    "committer": "leonawicz <mfleonawicz@gmail.com>",
    "message": "Cleanup.\n",
    "time": 1726094484
  },
  "_maintainer": {
    "name": "Matthew Leonawicz",
    "email": "rpkgs@pm.me"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "leonawicz",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "color-palettes",
    "lego"
  ],
  "_stars": 8,
  "_userbio": {
    "uuid": 1672103,
    "type": "user",
    "name": "Matt Leonawicz",
    "followers": 257,
    "description": "R and Shiny developer | Software Engineer @ropensci @r-music"
  },
  "_downloads": {
    "count": 243,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/legocolors"
  },
  "_devurl": "https://github.com/leonawicz/legocolors",
  "_searchresults": 13,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/legocolors.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/leonawicz/legocolors",
  "_realowner": "leonawicz",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2019-03-24"
    },
    {
      "version": "0.2.0",
      "date": "2019-04-28"
    },
    {
      "version": "0.3.1",
      "date": "2021-02-21"
    },
    {
      "version": "0.4.0",
      "date": "2024-09-11"
    }
  ],
  "_exports": [
    "hex_to_color",
    "hex_to_legocolor",
    "lc_heat",
    "lc_terrain",
    "lc_topo",
    "legocolor_to_hex",
    "view_legopal"
  ],
  "_datasets": [
    {
      "name": "legoCols",
      "title": "Lego color data.",
      "object": "legoCols",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "material",
        "lego_id",
        "lego_name",
        "bl_id",
        "bl_name",
        "ldraw_id",
        "ldraw_name",
        "peeron_name",
        "year_released",
        "year_retired",
        "hex",
        "recommended"
      ],
      "rows": 167,
      "table": true,
      "tojson": true
    },
    {
      "name": "legoPals",
      "title": "Lego color palettes.",
      "object": "legopals",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "lc_palettes",
      "title": "Predefined palettes and palette generators",
      "topics": [
        "lc_heat",
        "lc_palettes",
        "lc_terrain",
        "lc_topo"
      ]
    },
    {
      "page": "legocolor",
      "title": "Color mapping",
      "topics": [
        "hex_to_color",
        "hex_to_legocolor",
        "legocolor",
        "legocolor_to_hex",
        "view_legopal"
      ]
    },
    {
      "page": "legocolors",
      "title": "legocolors: Official Lego Color Palettes",
      "topics": [
        "legocolors-package",
        "legocolors"
      ]
    },
    {
      "page": "legoCols",
      "title": "Lego color data.",
      "topics": [
        "legoCols"
      ]
    },
    {
      "page": "legopals",
      "title": "Lego color palettes.",
      "topics": [
        "legoPals"
      ]
    }
  ],
  "_pkglogo": "https://github.com/leonawicz/legocolors/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/leonawicz/legocolors/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 3.716003343634799,
  "_indexed": true,
  "_nocasepkg": "legocolors",
  "_universes": [
    "leonawicz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-07-03T08:32:04.000Z",
      "distro": "resolute",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/a00b8e162efdbc6383b7fc60e0cd2240c4cd54d84fca5d9b651c7c47f0e3f5ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/28648379706"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-07-03T08:32:36.000Z",
      "distro": "resolute",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/1df2f36e7085fa213739e325bc73d2152b672f83a7d93a69bc9028d58aaf250b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/28648379706"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-07-03T08:31:58.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/17c7017465f324d33f924a9f9655386069d2368f4a0d78547289a6f914a1fd1a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/28648379706"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-07-03T08:32:09.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/3ab6b20d962f21329ad2f7b1ba5cb19d40d6cb6145137208a898a6c0c17babd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/28648379706"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-07-03T08:31:53.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/4ca8eea5d77136dffb088fd7109b88269c1e0daa5f2701a58dee93801eaf641e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/28648379706"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-07-03T08:31:17.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/23f6439981ccd50fc2b1dc76e0a717ad6a3163e20e29bd8ec60ff8b44ad2d25f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/28648379706"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-07-03T08:31:02.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/0d7cd4208905edcf8889f6d196a2a958f7c67c58e5583eab40b3ebb208a123e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/28648379706"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-07-03T08:31:04.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/faeffac5f670547aadf2a41e1b8d22cc594cddc459571ad9a5e05adb71749209",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/28648379706"
    }
  ]
}