{
  "_id": "6aeeed92ce821f1cf255efd8",
  "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-11-07 08:40:17 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>",
  "_user": "frbcesab",
  "_type": "src",
  "_file": "chessboard_0.1.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/d37b30ab22cf6273f2358a25f41fef9ad6d37b2bbd968d64415dbc0532365e2c",
  "_filesize": 6269462,
  "_sha256": "d37b30ab22cf6273f2358a25f41fef9ad6d37b2bbd968d64415dbc0532365e2c",
  "_expires": "2027-02-15T09:21:20.000Z",
  "_created": "2026-11-07T08:40:17.000Z",
  "_published": "2026-11-07T09:21:22.256Z",
  "_upstream": "https://github.com/FRBCesab/chessboard",
  "_status": "success",
  "_maintainer": {
    "name": "Nicolas Casajus",
    "email": "nicolas.casajus@fondationbiodiversite.fr",
    "login": "ahasverus",
    "description": "Data scientist",
    "uuid": 10423581,
    "orcid": "0000-0002-5537-5294"
  },
  "_jobs": [
    {
      "job": 128355587717,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13568097157"
    },
    {
      "job": 128355587680,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13567483467"
    },
    {
      "job": 128355587756,
      "time": 84,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13569400810"
    },
    {
      "job": 128355587712,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13569002503"
    },
    {
      "job": 128354909555,
      "time": 195,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13567772452"
    },
    {
      "job": 128355587677,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13567646944"
    },
    {
      "job": 128355587696,
      "time": 92,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13567438305"
    },
    {
      "job": 128355587765,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13567867596"
    },
    {
      "job": 128355587706,
      "time": 82,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13567488208"
    }
  ],
  "_buildurl": "https://github.com/r-universe/frbcesab/actions/runs/42356241046",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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",
    "followers": 47
  },
  "_downloads": {
    "count": 296,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/chessboard"
  },
  "_devurl": "https://github.com/frbcesab/chessboard",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/chessboard.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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",
    "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-11-07T08:42:56.000Z",
      "distro": "resolute",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "https://r2.ropensci.org/ba583cd1c36edd4eccf50c84a2894042b0235e6ebdea2c4bdb0ec92b6b4426c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/42356241046"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.0.9000",
      "date": "2026-11-07T08:42:57.000Z",
      "distro": "resolute",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "https://r2.ropensci.org/f129f29017e157bd210d8a823593264fee47d7e4372c30ff5a7d1c53ff51819a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/42356241046"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-11-07T09:20:12.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "https://r2.ropensci.org/3318ebf8f6d94a22ec6a9ae74424de835b759310a92a1d963ccf921d98c48f2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/42356241046"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.0.9000",
      "date": "2026-11-07T09:20:20.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "https://r2.ropensci.org/5b94fd4d03d5b13bba7c8cedb04977f2d8b278edfb2cff6545232da5a10d8e14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/42356241046"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0.9000",
      "date": "2026-11-07T08:42:38.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "https://r2.ropensci.org/cc96d366fe9c3b918090f08997c3c71355fa512e5b637581a751bbdf486c0bf5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/42356241046"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-11-07T08:41:25.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "https://r2.ropensci.org/68b942f31126c4b597ac43889f6b71bcb65f2865c5d9c1413c04dda496c9dc41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/42356241046"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-11-07T08:41:17.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "https://r2.ropensci.org/8727106804dc7914574dd4c5bb618d2970056ce9672103980ec67c8bfee68642",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/42356241046"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.0.9000",
      "date": "2026-11-07T08:41:20.000Z",
      "commit": "8506b8b96ed0cf61f32bc831711681ab3d340af6",
      "fileid": "https://r2.ropensci.org/09de47387a64cc910039deb3a2140a44a148ab92debeb4b5acd3f4c8f9769630",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/frbcesab/actions/runs/42356241046"
    }
  ]
}