{
  "_id": "6a5f083c9baadeef8ab58dfb",
  "Package": "csquares",
  "Title": "Concise Spatial Query and Representation System (c-Squares)",
  "Version": "0.1.0.0001",
  "Authors@R": "person(\"Pepijn\", \"de Vries\", role = c(\"aut\", \"cre\"),\nemail = \"pepijn.devries@outlook.com\",\ncomment = c(ORCID = \"0000-0002-7961-6646\"))",
  "Author": "Pepijn de Vries [aut, cre] (0000-0002-7961-6646)",
  "Description": "Encode and decode c-squares, from and to simple feature\n(sf) or spatiotemporal arrays (stars) objects. Use c-squares\ncodes to quickly join or query spatial data.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "LazyData": "true",
  "Collate": "'helpers.R' 'as_csquares.R' 'as_stars.R' 'csquares-package.R'\n'csquares_methods.R' 'drop.R' 'expand.R' 'ices.R' 'in.R'\n'init.R' 'joins_tidy.R' 'new_csquares.R' 'orca.R' 'resample.R'\n'tidyverse.R' 'st_as_sf.R' 'validate.R' 'vctrs.R'",
  "Config/testthat/edition": "3",
  "URL": "https://pepijn-devries.github.io/csquares/,\nhttps://github.com/pepijn-devries/csquares/",
  "BugReports": "https://github.com/pepijn-devries/csquares/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://pepijn-devries.r-universe.dev",
  "Date/Publication": "2026-01-22 14:47:00 UTC",
  "RemoteUrl": "https://github.com/pepijn-devries/csquares",
  "RemoteRef": "main",
  "RemoteSha": "b11b031d8aee76917450c25ee03edef57d577ae8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-21 05:44:37 UTC",
    "User": "root"
  },
  "Maintainer": "Pepijn de Vries <pepijn.devries@outlook.com>",
  "_user": "pepijn-devries",
  "_type": "src",
  "_file": "csquares_0.1.0.0001.tar.gz",
  "_fileid": "https://r2.ropensci.org/b384c7940f5a343d87e9a6e664a66ddcc8f3c84cdcf58511662cb3c8209275fa",
  "_filesize": 1177870,
  "_sha256": "b384c7940f5a343d87e9a6e664a66ddcc8f3c84cdcf58511662cb3c8209275fa",
  "_expires": "2026-10-29T05:48:42.000Z",
  "_created": "2026-07-21T05:44:37.000Z",
  "_published": "2026-07-21T05:48:44.173Z",
  "_jobs": [
    {
      "job": 88553286112,
      "time": 205,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8485159788"
    },
    {
      "job": 88553286099,
      "time": 204,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8485159174"
    },
    {
      "job": 88553286070,
      "time": 165,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8485147862"
    },
    {
      "job": 88553286096,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8485133574"
    },
    {
      "job": 88552630586,
      "time": 284,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8485099941"
    },
    {
      "job": 88553286078,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8485139659"
    },
    {
      "job": 88553286123,
      "time": 132,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8485138491"
    },
    {
      "job": 88553286125,
      "time": 125,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8485136649"
    },
    {
      "job": 88553286101,
      "time": 126,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8485136894"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/29804633165",
  "_status": "success",
  "_upstream": "https://github.com/pepijn-devries/csquares",
  "_commit": {
    "id": "b11b031d8aee76917450c25ee03edef57d577ae8",
    "author": "Pepijn de Vries <pepijn-devries@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Work in progress (#37)\n\n* version 0.0.7 (#26) (#29)\n\n* version bump\r\n\r\n* version bump (#14)\r\n\r\n\r\n\r\n* Wild cards (#15)\r\n\r\n* added function to expand wildcards + separated validity check from coord generation\r\n\r\n* Implemented wildcards and several minor corrections/additions see https://github.com/pepijn-devries/csquares/issues/4\r\n\r\n---------\r\n\r\n\r\n\r\n* Fix in test\r\n\r\n* sync with main (#19)\r\n\r\n* Work in progress (#17)\r\n\r\n* version bump\r\n\r\n* version bump (#14)\r\n\r\n\r\n\r\n* Wild cards (#15)\r\n\r\n* added function to expand wildcards + separated validity check from coord generation\r\n\r\n* Implemented wildcards and several minor corrections/additions see https://github.com/pepijn-devries/csquares/issues/4\r\n\r\n---------\r\n\r\n\r\n\r\n* Fix in test\r\n\r\n---------\r\n\r\n\r\n\r\n* Sync with Work in progress (#18)\r\n\r\n* version bump\r\n\r\n* version bump (#14)\r\n\r\n\r\n\r\n* Wild cards (#15)\r\n\r\n* added function to expand wildcards + separated validity check from coord generation\r\n\r\n* Implemented wildcards and several minor corrections/additions see https://github.com/pepijn-devries/csquares/issues/4\r\n\r\n---------\r\n\r\n\r\n\r\n* Fix in test\r\n\r\n---------\r\n\r\n\r\n\r\n* Rename csquares-package.r to csquares-package.R\r\n\r\n---------\r\n\r\n\r\n\r\n* Some minor corrections in the implementation of s3 generics\r\n\r\n* Improved base and tidyverse impementation of s3 generics\r\n\r\n* added vignettes; added tidy join support; better vctrs support; minor fixes\r\n\r\n* fixed error in merge\r\n\r\n* URL fix\r\n\r\n---------\r\n\r\nCo-authored-by: pepijn-devries <pepijn.devries@wur.nl>\n\n* improved test coverage + several fixes\n\n* Improved test coverage + minor fixes\n\n* fixes to pass CRAN checks and version bump\n\n* Suppress check of some examples to reduce check time on CRAN\n\n* added favicons\n\n* Added ref to Rees (2015)\n\n---------\n\nCo-authored-by: pepijn-devries <pepijn.devries@wur.nl>",
    "time": 1769093220
  },
  "_maintainer": {
    "name": "Pepijn de Vries",
    "email": "pepijn.devries@outlook.com",
    "login": "pepijn-devries",
    "linkedin": "in/pepijn-de-vries-2509b664",
    "orcid": "0000-0002-7961-6646",
    "description": "",
    "uuid": 13707449
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "stars",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Suggests"
    },
    {
      "package": "DiagrammeR",
      "role": "Suggests"
    },
    {
      "package": "DiagrammeRsvg",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lifecycle",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rnaturalearth",
      "role": "Suggests"
    },
    {
      "package": "rnaturalearthdata",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    }
  ],
  "_owner": "pepijn-devries",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "spatial"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "pepijn-devries",
      "count": 29,
      "uuid": 13707449
    }
  ],
  "_userbio": {
    "uuid": 13707449,
    "type": "user",
    "name": "Pepijn de Vries",
    "followers": 25
  },
  "_downloads": {
    "count": 252,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/csquares"
  },
  "_devurl": "https://github.com/pepijn-devries/csquares",
  "_pkgdown": "https://pepijn-devries.github.io/csquares/",
  "_searchresults": 27,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/csquares.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pepijn-devries/csquares",
  "_realowner": "pepijn-devries",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.3",
      "date": "2024-06-24"
    },
    {
      "version": "0.0.5",
      "date": "2024-07-05"
    },
    {
      "version": "0.0.6",
      "date": "2024-07-19"
    },
    {
      "version": "0.0.7",
      "date": "2024-07-25"
    },
    {
      "version": "0.1.0",
      "date": "2024-08-29"
    }
  ],
  "_exports": [
    "as_csquares",
    "drop_csquares",
    "expand_wildcards",
    "format.csquares",
    "ices_centroids",
    "ices_columns",
    "ices_from_csquares",
    "ices_rectangles",
    "ices_to_csquares",
    "in_csquares",
    "new_csquares",
    "resample_csquares",
    "st_as_sf.csquares",
    "st_as_sfc.csquares",
    "st_as_stars.csquares",
    "validate_csquares",
    "vec_cast.csquares",
    "vec_ptype2.csquares"
  ],
  "_datasets": [
    {
      "name": "orca",
      "title": "Killer whale realm",
      "object": "orca",
      "class": [
        "data.frame"
      ],
      "fields": [
        "csquares",
        "orcinus_orca"
      ],
      "rows": 2058,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_csquares",
      "title": "Convert lon-lat coordinates into c-square codes",
      "topics": [
        "as_csquares",
        "as_csquares.character",
        "as_csquares.data.frame",
        "as_csquares.default",
        "as_csquares.numeric",
        "as_csquares.sf",
        "as_csquares.sfc",
        "as_csquares.stars"
      ]
    },
    {
      "page": "drop_csquares",
      "title": "Drop c-square information from object",
      "topics": [
        "drop_csquares"
      ]
    },
    {
      "page": "expand_wildcards",
      "title": "Expand c-squares with wildcards to all matching c-squares",
      "topics": [
        "expand_wildcards"
      ]
    },
    {
      "page": "csquares-methods",
      "title": "Basic csquares methods",
      "topics": [
        "$.csquares",
        "$<-.csquares",
        "as.character.csquares",
        "as.data.frame.csquares",
        "c.csquares",
        "cbind.csquares",
        "format.csquares",
        "merge.csquares",
        "names<-.csquares",
        "print.csquares",
        "rbind.csquares",
        "summary.csquares",
        "[.csquares",
        "[<-.csquares",
        "[[.csquares",
        "[[<-.csquares"
      ]
    },
    {
      "page": "ices_geom",
      "title": "Get ICES geometries",
      "topics": [
        "ices_centroids",
        "ices_from_csquares",
        "ices_rectangles",
        "ices_to_csquares"
      ]
    },
    {
      "page": "ices_columns",
      "title": "Valid ICES rectangle columns",
      "topics": [
        "ices_columns"
      ]
    },
    {
      "page": "in_csquares",
      "title": "Match c-squares against other c-squares (with wildcards)",
      "topics": [
        "in_csquares"
      ]
    },
    {
      "page": "tidyjoins",
      "title": "Join 'csquares' objects using tidyverse conventions",
      "topics": [
        "anti_join.csquares",
        "full_join.csquares",
        "inner_join.csquares",
        "join",
        "left_join.csquares",
        "right_join.csquares",
        "semi_join.csquares",
        "st_join.csquares"
      ]
    },
    {
      "page": "new_csquares",
      "title": "Create a c-squares raster from a bounding box",
      "topics": [
        "new_csquares"
      ]
    },
    {
      "page": "orca",
      "title": "Killer whale realm",
      "topics": [
        "orca"
      ]
    },
    {
      "page": "resample_csquares",
      "title": "Resample csquares to a different resolution",
      "topics": [
        "resample_csquares"
      ]
    },
    {
      "page": "st_as_sf",
      "title": "Create a simple features object from c-squares",
      "topics": [
        "st_as_sf",
        "st_as_sf.csquares",
        "st_as_sfc",
        "st_as_sfc.csquares"
      ]
    },
    {
      "page": "st_as_stars.csquares",
      "title": "Coerce csqaures object into a stars object",
      "topics": [
        "st_as_stars.csquares"
      ]
    },
    {
      "page": "tidyverse",
      "title": "Tidyverse methods for csquares objects (drop the 'csquares'-suffix)",
      "topics": [
        "arrange.csquares",
        "as_tibble.csquares",
        "distinct.csquares",
        "drop_na.csquares",
        "filter.csquares",
        "group_by.csquares",
        "group_split.csquares",
        "mutate.csquares",
        "nest.csquares",
        "pivot_longer.csquares",
        "pivot_wider.csquares",
        "rename.csquares",
        "rename_with.csquares",
        "rowwise.csquares",
        "select.csquares",
        "slice.csquares",
        "summarise.csquares",
        "tidyverse",
        "ungroup.csquares",
        "unite.csquares",
        "unnest.csquares",
        "unnest.csquares_nested"
      ]
    },
    {
      "page": "validate_csquares",
      "title": "Test if a csquares object is valid",
      "topics": [
        "validate_csquares"
      ]
    },
    {
      "page": "vctrs",
      "title": "vctrs methods for csquares objects",
      "topics": [
        "vctrs",
        "vec_cast.csquares",
        "vec_cast.csquares.character",
        "vec_cast.csquares.csquares",
        "vec_cast.csquares.default",
        "vec_ptype2.csquares",
        "vec_ptype2.csquares.character",
        "vec_ptype2.csquares.csquares",
        "vec_ptype2.csquares.default"
      ]
    }
  ],
  "_pkglogo": "https://github.com/pepijn-devries/csquares/raw/main/man/figures/logo.png",
  "_readme": "https://github.com/pepijn-devries/csquares/raw/main/README.md",
  "_rundeps": [
    "abind",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "glue",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "s2",
    "sf",
    "stars",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "csquares-objects.Rmd",
      "filename": "csquares-objects.html",
      "title": "Csquares objects",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The S3 class csquares",
        "Creating csquares objects",
        "Using characters",
        "Using data.frames",
        "Using Simple Features (sf)",
        "Using Spatiotemporal Arrays (stars)",
        "Validating csquares objects"
      ],
      "created": "2024-07-25 09:58:51",
      "modified": "2024-07-30 18:41:13",
      "commits": 2
    },
    {
      "source": "ices.Rmd",
      "filename": "ices.html",
      "title": "ICES rectangles",
      "engine": "knitr::rmarkdown",
      "headings": [
        "ICES Statistical Rectangles"
      ],
      "created": "2024-07-25 09:58:51",
      "modified": "2024-07-25 09:58:51",
      "commits": 1
    },
    {
      "source": "tidy.Rmd",
      "filename": "tidy.html",
      "title": "Tidy csquares",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Csquares family",
        "Tidyverse operations",
        "Join",
        "Further reading"
      ],
      "created": "2024-07-25 09:58:51",
      "modified": "2024-07-25 09:58:51",
      "commits": 1
    },
    {
      "source": "Wildcards.Rmd",
      "filename": "Wildcards.html",
      "title": "Wildcards",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What are wildcards?",
        "Expanding wildcards",
        "Matching wild cards",
        "Mode",
        "Strict"
      ],
      "created": "2024-07-05 08:04:29",
      "modified": "2024-07-25 09:58:51",
      "commits": 2
    }
  ],
  "_score": 5.334453751150932,
  "_indexed": true,
  "_nocasepkg": "csquares",
  "_universes": [
    "pepijn-devries"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.0001",
      "date": "2026-07-21T05:47:34.000Z",
      "distro": "resolute",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "https://r2.ropensci.org/e310a6a8dfa0a85ee64cb33178be78fd2da86cf6c4e2aff357f4b1ce2430c7ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/29804633165"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0.0001",
      "date": "2026-07-21T05:47:32.000Z",
      "distro": "resolute",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "https://r2.ropensci.org/55ecdeda6558a7bcec87bbc3f61b340191d6a1c02abda87f9eff33f94b4ac735",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/29804633165"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.0001",
      "date": "2026-07-21T05:46:51.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "https://r2.ropensci.org/5f9be274e50ee03fad56252aa028a1c94b59db82358b5ef8c7c2652ea91c4301",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/29804633165"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0.0001",
      "date": "2026-07-21T05:46:15.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "https://r2.ropensci.org/f5e58e1814b891b14a9c0175646ac89b22da9ea97c98c145654347cbaf87097d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/29804633165"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.0001",
      "date": "2026-07-21T05:47:09.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "https://r2.ropensci.org/5e0d1341671dfbf1c6dc7d490e5811930caef0afecdda01479b92e01b48cbe19",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/29804633165"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.0001",
      "date": "2026-07-21T05:46:18.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "https://r2.ropensci.org/cbe606c1859e95e596ae0131cd6534a91cfccbdbc08f3ed782a3be142a70900e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/29804633165"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.0001",
      "date": "2026-07-21T05:46:02.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "https://r2.ropensci.org/16f66d4bf094b19054c32b7bdaa97422a89a8f5b960e18caf4676f8cd4227a02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/29804633165"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0.0001",
      "date": "2026-07-21T05:46:04.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "https://r2.ropensci.org/a729df8a2239a9810f4f3b5dde39f374b4af6f9f72f16ddce0c750fd7c3d4a48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/29804633165"
    }
  ]
}