{
  "_id": "6a292b2d732311cd875a2f04",
  "Package": "chessboard",
  "Type": "Package",
  "Title": "Create Network Connections Based on Chess Moves",
  "Version": "0.1.0.9000",
  "Authors@R": "c(\nperson(given   = \"Nicolas\",\nfamily  = \"Casajus\",\nrole    = c(\"aut\", \"cre\", \"cph\"),\nemail   = \"nicolas.casajus@fondationbiodiversite.fr\",\ncomment = c(ORCID = \"0000-0002-5537-5294\")),\nperson(given   = \"Erica\",\nfamily  = \"Rievrs Borges\",\nrole    = \"aut\",\nemail   = \"erica.rievrs@fondationbiodiversite.fr\",\ncomment = c(ORCID = \"0000-0001-7751-6265\")),\nperson(given   = \"Eric\",\nfamily  = \"Tabacchi\",\nrole    = \"aut\",\nemail   = \"eric.tabacchi@univ-tlse3.fr\",\ncomment = c(ORCID = \"0000-0001-7729-4439\")),\nperson(given   = \"Guillaume\",\nfamily  = \"Fried\",\nrole    = \"aut\",\nemail   = \"guillaume.fried@anses.fr\",\ncomment = c(ORCID = \"0000-0002-3653-195X\")),\nperson(given   = \"Nicolas\",\nfamily  = \"Mouquet\",\nrole    = \"aut\",\nemail   = \"nicolas.mouquet@cnrs.fr\",\ncomment = c(ORCID = \"0000-0003-1840-6984\")))",
  "Description": "Provides functions to work with directed (asymmetric) and\nundirected (symmetric) spatial networks. It makes the creation\nof connectivity matrices easier, i.e. a binary matrix of\ndimension n x n, where n is the number of nodes (sampling\nunits) indicating the presence (1) or the absence (0) of an\nedge (link) between pairs of nodes. Different network objects\ncan be produced by 'chessboard': node list, neighbor list, edge\nlist, connectivity matrix. It can also produce objects that\nwill be used later in Moran's Eigenvector Maps (Dray et al.\n(2006) <doi:10.1016/j.ecolmodel.2006.02.015>) and Asymetric\nEigenvector Maps (Blanchet et al. (2008)\n<doi:10.1016/j.ecolmodel.2008.04.001>), methods available in\nthe package 'adespatial' (Dray et al. (2023)\n<https://CRAN.R-project.org/package=adespatial>). This work is\npart of the FRB-CESAB working group Bridge\n<https://www.fondationbiodiversite.fr/en/the-frb-in-action/programs-and-projects/le-cesab/bridge/>.",
  "URL": "https://github.com/frbcesab/chessboard",
  "BugReports": "https://github.com/frbcesab/chessboard/issues",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://frbcesab.r-universe.dev",
  "Date/Publication": "2023-10-16 10:08:54 UTC",
  "RemoteUrl": "https://github.com/FRBCesab/chessboard",
  "RemoteRef": "HEAD",
  "RemoteSha": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-10 09:01:19 UTC",
    "User": "root"
  },
  "Author": "Nicolas Casajus [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-5537-5294>),\nErica Rievrs Borges [aut] (ORCID:\n<https://orcid.org/0000-0001-7751-6265>),\nEric Tabacchi [aut] (ORCID: <https://orcid.org/0000-0001-7729-4439>),\nGuillaume Fried [aut] (ORCID: <https://orcid.org/0000-0002-3653-195X>),\nNicolas Mouquet [aut] (ORCID: <https://orcid.org/0000-0003-1840-6984>)",
  "Maintainer": "Nicolas Casajus <nicolas.casajus@fondationbiodiversite.fr>",
  "MD5sum": "bb964e8b1d8919e533b583ea6154ec5c",
  "_user": "frbcesab",
  "_type": "src",
  "_file": "chessboard_0.1.0.9000.tar.gz",
  "_fileid": "1a51890054f8b5cb227879dff47a6b1c6e380c1473f9bf73d5a421cd74bc0bc6",
  "_filesize": 6273532,
  "_sha256": "1a51890054f8b5cb227879dff47a6b1c6e380c1473f9bf73d5a421cd74bc0bc6",
  "_created": "2026-06-10T09:01:19.000Z",
  "_published": "2026-06-10T09:15:25.568Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80520983692,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7531235840"
    },
    {
      "job": 80520983769,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7531229657"
    },
    {
      "job": 80520983720,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7531466399"
    },
    {
      "job": 80520983749,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7531449454"
    },
    {
      "job": 80520216336,
      "time": 243,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7531165967"
    },
    {
      "job": 80520983685,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7531209426"
    },
    {
      "job": 80520983700,
      "time": 129,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7531215327"
    },
    {
      "job": 80520983715,
      "time": 122,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7531213081"
    },
    {
      "job": 80520983724,
      "time": 144,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7531220757"
    }
  ],
  "_buildurl": "https://github.com/r-universe/frbcesab/actions/runs/27265098309",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/FRBCesab/chessboard",
  "_commit": {
    "id": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
    "author": "Nicolas Casajus <nicolas.casajus@gmail.com>",
    "committer": "Nicolas Casajus <nicolas.casajus@gmail.com>",
    "message": "doc: install from CRAN\n",
    "time": 1697450934
  },
  "_maintainer": {
    "name": "Nicolas Casajus",
    "email": "nicolas.casajus@fondationbiodiversite.fr",
    "login": "ahasverus",
    "description": "Data scientist",
    "uuid": 10423581,
    "orcid": "0000-0002-5537-5294"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "igraph",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "frbcesab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "connectivity-matrix",
    "directed-networks",
    "neighborhood",
    "network",
    "one-dimensional-networks",
    "spatial-networks",
    "two-dimensional-networks",
    "undirected-networks"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "ahasverus",
      "count": 311,
      "uuid": 10423581
    },
    {
      "user": "danielskatz",
      "count": 1,
      "uuid": 2913845
    }
  ],
  "_userbio": {
    "uuid": 56294308,
    "type": "organization",
    "name": "FRB CESAB"
  },
  "_downloads": {
    "count": 191,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chessboard"
  },
  "_devurl": "https://github.com/frbcesab/chessboard",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/chessboard.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/frbcesab/chessboard",
  "_realowner": "frbcesab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2023-10-14"
    }
  ],
  "_exports": [
    "%>%",
    "append_edge_lists",
    "append_matrix",
    "bishop",
    "bishop_left",
    "bishop_right",
    "connectivity_matrix",
    "create_edge_list",
    "create_node_labels",
    "distance_euclidean",
    "edges_to_sf",
    "edges_weights_matrix",
    "edges_weights_vector",
    "fool",
    "geom_edges",
    "geom_neighbors",
    "geom_node",
    "get_node_list",
    "gg_chessboard",
    "gg_matrix",
    "knight",
    "knight_left",
    "knight_right",
    "matrix_to_edge_list",
    "nodes_by_edges_matrix",
    "pawn",
    "queen",
    "rook",
    "spatial_weights_matrix",
    "wizard"
  ],
  "_help": [
    {
      "page": "append_edge_lists",
      "title": "Append several edge lists",
      "topics": [
        "append_edge_lists"
      ]
    },
    {
      "page": "append_matrix",
      "title": "Combine several connectivity matrices",
      "topics": [
        "append_matrix"
      ]
    },
    {
      "page": "bishop",
      "title": "Find neighbors according to bishop movement",
      "topics": [
        "bishop"
      ]
    },
    {
      "page": "bishop_left",
      "title": "Find neighbors according to bishop left movement",
      "topics": [
        "bishop_left"
      ]
    },
    {
      "page": "bishop_right",
      "title": "Find neighbors according to bishop right movement",
      "topics": [
        "bishop_right"
      ]
    },
    {
      "page": "connectivity_matrix",
      "title": "Create a connectivity matrix from an edge list",
      "topics": [
        "connectivity_matrix"
      ]
    },
    {
      "page": "create_edge_list",
      "title": "Create an edge list",
      "topics": [
        "create_edge_list"
      ]
    },
    {
      "page": "create_node_labels",
      "title": "Create unique node labels",
      "topics": [
        "create_node_labels"
      ]
    },
    {
      "page": "distance_euclidean",
      "title": "Compute the pairwise Euclidean distance",
      "topics": [
        "distance_euclidean"
      ]
    },
    {
      "page": "edges_to_sf",
      "title": "Convert edge list to spatial object",
      "topics": [
        "edges_to_sf"
      ]
    },
    {
      "page": "edges_weights_matrix",
      "title": "Create an edges weights matrix",
      "topics": [
        "edges_weights_matrix"
      ]
    },
    {
      "page": "edges_weights_vector",
      "title": "Create an edges weights vector",
      "topics": [
        "edges_weights_vector"
      ]
    },
    {
      "page": "fool",
      "title": "Find neighbors according to fool movement",
      "topics": [
        "fool"
      ]
    },
    {
      "page": "geom_edges",
      "title": "Link neighbors by arrow on a chessboard",
      "topics": [
        "geom_edges"
      ]
    },
    {
      "page": "geom_neighbors",
      "title": "Highlight neighbors on a chessboard",
      "topics": [
        "geom_neighbors"
      ]
    },
    {
      "page": "geom_node",
      "title": "Highlight a node on a chessboard",
      "topics": [
        "geom_node"
      ]
    },
    {
      "page": "get_node_list",
      "title": "Get the list of nodes",
      "topics": [
        "get_node_list"
      ]
    },
    {
      "page": "gg_chessboard",
      "title": "Plot a sampling as a chessboard",
      "topics": [
        "gg_chessboard"
      ]
    },
    {
      "page": "gg_matrix",
      "title": "Plot a connectivity or a nodes-by-edges matrix",
      "topics": [
        "gg_matrix"
      ]
    },
    {
      "page": "knight",
      "title": "Find neighbors according to knight movement",
      "topics": [
        "knight"
      ]
    },
    {
      "page": "knight_left",
      "title": "Find neighbors according to knight left movement",
      "topics": [
        "knight_left"
      ]
    },
    {
      "page": "knight_right",
      "title": "Find neighbors according to knight right movement",
      "topics": [
        "knight_right"
      ]
    },
    {
      "page": "matrix_to_edge_list",
      "title": "Convert an connectivity matrix to an edge list",
      "topics": [
        "matrix_to_edge_list"
      ]
    },
    {
      "page": "nodes_by_edges_matrix",
      "title": "Create a nodes-by-edges matrix",
      "topics": [
        "nodes_by_edges_matrix"
      ]
    },
    {
      "page": "pawn",
      "title": "Find neighbors according to pawn movement",
      "topics": [
        "pawn"
      ]
    },
    {
      "page": "queen",
      "title": "Find neighbors according to queen movement",
      "topics": [
        "queen"
      ]
    },
    {
      "page": "rook",
      "title": "Find neighbors according to rook movement",
      "topics": [
        "rook"
      ]
    },
    {
      "page": "spatial_weights_matrix",
      "title": "Create a spatial weights matrix",
      "topics": [
        "spatial_weights_matrix"
      ]
    },
    {
      "page": "wizard",
      "title": "Find neighbors according to wizard movement",
      "topics": [
        "wizard"
      ]
    }
  ],
  "_readme": "https://github.com/FRBCesab/chessboard/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "cpp11",
    "DBI",
    "dplyr",
    "e1071",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lifecycle",
    "magrittr",
    "MASS",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "chess-pieces.Rmd",
      "filename": "chess-pieces.html",
      "title": "Chess pieces",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Pawn",
        "Fool",
        "Rook",
        "Bishop",
        "Knight",
        "Queen",
        "Wizard",
        "Custom moves",
        "References"
      ],
      "created": "2023-05-28 09:17:30",
      "modified": "2023-09-06 08:04:21",
      "commits": 7
    },
    {
      "source": "chessboard.Rmd",
      "filename": "chessboard.html",
      "title": "Get started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Network properties",
        "Neighbors detection",
        "Workflow",
        "Node labels",
        "Edge list",
        "Connectivity matrix",
        "Extending chessboard",
        "with sf",
        "with ggplot2",
        "with igraph",
        "Plot the network w/ igraph ----"
      ],
      "created": "2022-07-18 09:02:11",
      "modified": "2023-10-10 14:52:14",
      "commits": 34
    },
    {
      "source": "visualization-tools.Rmd",
      "filename": "visualization-tools.html",
      "title": "Visualization tools",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Visualizing chessboard",
        "gg_chessboard",
        "geom_node",
        "geom_neighbors",
        "geom_edges",
        "Plotting matrices",
        "Mapping edges"
      ],
      "created": "2023-05-29 14:09:31",
      "modified": "2023-08-13 17:00:40",
      "commits": 8
    }
  ],
  "_score": 4.8750612633917,
  "_indexed": true,
  "_nocasepkg": "chessboard",
  "_universes": [
    "frbcesab",
    "ahasverus"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-06-10T09:04:04.000Z",
      "distro": "noble",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "aa8c38e2483b44582b9a1dc6ded777dbeebedbb0efe24519afec96ab3b239d6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/27265098309"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-06-10T09:03:49.000Z",
      "distro": "noble",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "26feb537a570a973cb6ca1d3995b5156ca9f7fa143fb63b30075d77c508c763e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/27265098309"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-06-10T09:14:36.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "f003722bc997a23e2dfd615af46ac8a034f82682f85d44a322618647ae5ac5eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/27265098309"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-06-10T09:13:48.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "67b0b7ef0bc635f56c2d20bf70354c31e6e168f4b23c5cfaea13fcfe444c2cc1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/27265098309"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-06-10T09:03:31.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "b89b9277a6d17a7dbd1da245f2e80b8ca5332ddcc8311f86ef3b056ddbd42238",
      "status": "success",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/27265098309"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-10T09:03:05.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "cc4cd10a0cc44dfb76348a406cf1687946fa5e71aa689585756ae12876d32de4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/27265098309"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-10T09:02:55.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "d6692120422e3bbc7f64972de249f3b59f03a82470d17dd705b3d6cb5f63aeb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/27265098309"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-06-10T09:03:20.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "cdef00e829dad23bfac097a4ae6cf87961c2ab93097c00c1b53f0c1e55c94912",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/27265098309"
    }
  ]
}