{
  "_id": "6ad5f596c5cddeca72012b48",
  "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-10-19 10:46:31 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/7e9a12bf108e1ebd1ee885e9b9f8335a35f19cf4cb3ede0853181c659d11717b",
  "_filesize": 189458,
  "_sha256": "7e9a12bf108e1ebd1ee885e9b9f8335a35f19cf4cb3ede0853181c659d11717b",
  "_expires": "2027-01-27T10:48:52.000Z",
  "_created": "2026-10-19T10:46:31.000Z",
  "_published": "2026-10-19T10:48:54.105Z",
  "_buildurl": "https://github.com/r-universe/leonawicz/actions/runs/39239577981",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 118017858948,
      "time": 96,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12180811824"
    },
    {
      "job": 118017858835,
      "time": 97,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12180498378"
    },
    {
      "job": 118017858999,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12181076011"
    },
    {
      "job": 118017858957,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12181330723"
    },
    {
      "job": 118016962667,
      "time": 133,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12180936508"
    },
    {
      "job": 118017858830,
      "time": 84,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12180976706"
    },
    {
      "job": 118017859058,
      "time": 59,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12181325552"
    },
    {
      "job": 118017859250,
      "time": 53,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12180751796"
    },
    {
      "job": 118017858928,
      "time": 59,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12181585171"
    }
  ],
  "_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": 9,
  "_userbio": {
    "uuid": 1672103,
    "type": "user",
    "name": "Matt Leonawicz",
    "followers": 259,
    "description": "R and Shiny developer | Software Engineer @ropensci @r-music"
  },
  "_downloads": {
    "count": 287,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/legocolors"
  },
  "_devurl": "https://github.com/leonawicz/legocolors",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/legocolors.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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.829303772831025,
  "_indexed": true,
  "_nocasepkg": "legocolors",
  "_universes": [
    "leonawicz"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-19T10:48:14.000Z",
      "distro": "resolute",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/ae026ede8603a1ad296918b4ea7c98261fbda420f1fb46a5b0a4d072f1357d84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/39239577981"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-19T10:48:14.000Z",
      "distro": "resolute",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/e5d1b73e58e1fd2b694166255ac916deafa85acab426489febdb7674cc3d3fa7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/39239577981"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-19T10:48:07.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/9753988a70f306a1f6d1fa13a797a34da8c4c6fdc7b186cb2c7ec7998409bfad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/39239577981"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-19T10:48:25.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/bf1847177b2a3428355000010738f2438e837936e2c8cc5db94fab265af70517",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/39239577981"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-10-19T10:48:11.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/a78e739928a6b51058823573a98a2c74c54bf77790a8f3f3622fdcc0f5af132b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/39239577981"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-19T10:47:31.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/65506cdd88bd139049bc280acd1a5be3d7ed6eee722fc2a2ab7ef6fe520f20e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/39239577981"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-19T10:47:27.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/88c43185169b709e3ef5ba63a36e4e803724f2f8b4d403f0498f4abeaf66bb75",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/39239577981"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-19T10:47:33.000Z",
      "commit": "38020d760efb7b158dce66ae5fc458b90ccf2e71",
      "fileid": "https://r2.ropensci.org/00aecb2fe2c03395194e3b878244f801405616e8e60eee1bcde0bcc689771b53",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/leonawicz/actions/runs/39239577981"
    }
  ]
}