{
  "_id": "6a0ff153acfb0bcc41c7640e",
  "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-05-22 05:57:09 UTC",
    "User": "root"
  },
  "Maintainer": "Pepijn de Vries <pepijn.devries@outlook.com>",
  "MD5sum": "d82129d92a0b48228220ac22cccbb5f7",
  "_user": "pepijn-devries",
  "_type": "src",
  "_file": "csquares_0.1.0.0001.tar.gz",
  "_fileid": "5d4ba8e8d1d78f98700182d41936c020939912287b6481f0907445e9db396865",
  "_filesize": 1177868,
  "_sha256": "5d4ba8e8d1d78f98700182d41936c020939912287b6481f0907445e9db396865",
  "_created": "2026-05-22T05:57:09.000Z",
  "_published": "2026-05-22T06:01:55.224Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77324661475,
      "time": 184,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7153775585"
    },
    {
      "job": 77324661488,
      "time": 184,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153775424"
    },
    {
      "job": 77324661477,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7153766252"
    },
    {
      "job": 77324661501,
      "time": 140,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153769060"
    },
    {
      "job": 77324330081,
      "time": 185,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153735548"
    },
    {
      "job": 77324661464,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153764444"
    },
    {
      "job": 77324661478,
      "time": 125,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7153763589"
    },
    {
      "job": 77324661487,
      "time": 145,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7153768093"
    },
    {
      "job": 77324661492,
      "time": 111,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7153760544"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/26271032570",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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"
  },
  "_downloads": {
    "count": 226,
    "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": 22,
  "_rbuild": "4.6.0",
  "_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.24551266781415,
  "_indexed": true,
  "_nocasepkg": "csquares",
  "_universes": [
    "pepijn-devries"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.0001",
      "date": "2026-05-22T05:59:41.000Z",
      "distro": "noble",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "1fc5f887de2ab8b04e9091087e5358eb9806bd81e652dc7855029197cc7fa786",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/26271032570"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0.0001",
      "date": "2026-05-22T05:59:42.000Z",
      "distro": "noble",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "805c887e566eb4564169e4c79351e8cefe1ddbb32b2d03c756761407d4e14995",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/26271032570"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.0001",
      "date": "2026-05-22T05:59:13.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "4e1d2ed0fc3badaaccdf846c4ab260449d838599f39b6ee1695e8e69e1a11a56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/26271032570"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0.0001",
      "date": "2026-05-22T05:59:16.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "8121d7661107a2901f6be47b54a80bb53da547cc48c7627cf842768a3f9be3d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/26271032570"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.0001",
      "date": "2026-05-22T05:59:35.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "d170ec8ae3f34a5f67077d080adae90b004a91162b0c6f07bfad3efab28906ad",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/26271032570"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.0001",
      "date": "2026-05-22T05:58:33.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "13c27f9986117046f8e0ad9a0fba9340456688e5329e286697ae75f84c693c1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/26271032570"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.0001",
      "date": "2026-05-22T05:58:48.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "ba116f9e35b497635a89387eef3c8d63c5c1e6a573d51394c59725b3bc49a035",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/26271032570"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0.0001",
      "date": "2026-05-22T05:58:21.000Z",
      "commit": "b11b031d8aee76917450c25ee03edef57d577ae8",
      "fileid": "41638ad5002998b7b9c2423f0dfdd2d044e2ebc0570913d4b4065237b19a645d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pepijn-devries/actions/runs/26271032570"
    }
  ]
}