{
  "_id": "6a1044d1acfb0bcc41c9e541",
  "Package": "pathroutr",
  "Title": "An R Package for (Re-)Routing Paths Around Barriers",
  "Version": "0.2.2",
  "Authors@R": "person(given = \"Josh\",\nfamily = \"London\",\nrole = c(\"aut\", \"cre\"),\nemail = \"josh.london@noaa.gov\",\ncomment = c(ORCID = \"0000-0002-3647-5046\"))",
  "Description": "The `pathroutr` package aims to provide a set of tools for\nrouting marine animal tracks around land barriers based on the\nshortest path through a visibility graph network. The\nfoundation of the package is a graph network created from a\nDelaunay Triangle mesh created from the vertices of land\npolygons within the study area. Any network edges that cross or\nfall completely within the land (barrier) polygons are removed.",
  "License": "CC0",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Remotes": [
    "NMML/crawl@devel"
  ],
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibglpk-dev libicu-dev libxml2-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev",
  "Repository": "https://ocean-tracking-network.r-universe.dev",
  "Date/Publication": "2026-03-11 19:00:52 UTC",
  "RemoteUrl": "https://github.com/mhpob/pathroutr",
  "RemoteRef": "HEAD",
  "RemoteSha": "a0b615faea1b1f9119e55fd21e70637f62563a62",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-11 06:20:13 UTC",
    "User": "root"
  },
  "Author": "Josh London [aut, cre] (ORCID: <https://orcid.org/0000-0002-3647-5046>)",
  "Maintainer": "Josh London <josh.london@noaa.gov>",
  "MD5sum": "c7f22168e3f17c1192c1bc3abf10850f",
  "_user": "ocean-tracking-network",
  "_type": "src",
  "_file": "pathroutr_0.2.2.tar.gz",
  "_fileid": "fa67dc66470421dd6a85e1a38d9cc9ea671036cb80992b654697d66c98d6352e",
  "_filesize": 5078484,
  "_sha256": "fa67dc66470421dd6a85e1a38d9cc9ea671036cb80992b654697d66c98d6352e",
  "_created": "2026-05-11T06:20:13.000Z",
  "_published": "2026-05-22T11:58:09.978Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77374745818,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6911607250"
    },
    {
      "job": 77374745495,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6911604555"
    },
    {
      "job": 77374745922,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6911591553"
    },
    {
      "job": 77374745938,
      "time": 86,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6911589463"
    },
    {
      "job": 77374745161,
      "time": 698,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6911568583"
    },
    {
      "job": 77374745096,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7159916470"
    },
    {
      "job": 77374745956,
      "time": 328,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "6911645207"
    },
    {
      "job": 77374746059,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "6911590573"
    },
    {
      "job": 77374745478,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "6911592233"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ocean-tracking-network/actions/runs/25653383252",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mhpob/pathroutr",
  "_commit": {
    "id": "a0b615faea1b1f9119e55fd21e70637f62563a62",
    "author": "Mike O'Brien <mike@obrien.page>",
    "committer": "Mike O'Brien <mike@obrien.page>",
    "message": "up semver for bug fix\n",
    "time": 1773255652
  },
  "_maintainer": {
    "name": "Josh London",
    "email": "josh.london@noaa.gov",
    "login": "jmlondon",
    "orcid": "0000-0002-3647-5046",
    "uuid": 513923
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "sf",
      "version": ">= 0.9",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "sfnetworks",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "lwgeom",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "nabor",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "ggspatial",
      "role": "Suggests"
    },
    {
      "package": "crawl",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "remotes",
      "role": "Suggests"
    }
  ],
  "_owner": "mhpob",
  "_selfowned": false,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-11",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jmlondon",
      "count": 123,
      "uuid": 513923
    },
    {
      "user": "benjaminhlina",
      "count": 3,
      "uuid": 29612410
    },
    {
      "user": "mhpob",
      "count": 2,
      "uuid": 8228205
    }
  ],
  "_userbio": {
    "uuid": 47894657,
    "type": "organization",
    "name": "Ocean Tracking Network",
    "description": "The Ocean Tracking Network (OTN) is a global aquatic research, data management and partnership platform"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/pathroutr"
  },
  "_devurl": "https://github.com/mhpob/pathroutr",
  "_searchresults": 16,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/pathroutr.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "get_barrier_segments",
    "prt_extend_path",
    "prt_nearestnode",
    "prt_reroute",
    "prt_shortpath",
    "prt_trim",
    "prt_update_points",
    "prt_visgraph"
  ],
  "_datasets": [
    {
      "name": "akcoast",
      "title": "Alaska coastline",
      "object": "akcoast",
      "class": [
        "sf",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "OBJECTID",
        "CODE",
        "GLOBALID",
        "SHAPE.AREA",
        "SHAPE.LEN",
        "geometry"
      ],
      "rows": 273,
      "table": false,
      "tojson": true
    },
    {
      "name": "land_barrier",
      "title": "land barrier",
      "object": "land_barrier",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "geometry"
      ],
      "rows": 19,
      "table": false,
      "tojson": true
    },
    {
      "name": "poi",
      "title": "points of interest",
      "object": "poi",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "geometry"
      ],
      "rows": 67,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "akcoast",
      "title": "Alaska coastline",
      "topics": [
        "akcoast"
      ]
    },
    {
      "page": "get_barrier_segments",
      "title": "Identify track points that intersect with a barrier polygon",
      "topics": [
        "get_barrier_segments"
      ]
    },
    {
      "page": "land_barrier",
      "title": "land barrier",
      "topics": [
        "land_barrier"
      ]
    },
    {
      "page": "poi",
      "title": "points of interest",
      "topics": [
        "poi"
      ]
    },
    {
      "page": "prt_extend_path",
      "title": "Extend a path to include given start and end points",
      "topics": [
        "prt_extend_path"
      ]
    },
    {
      "page": "prt_nearestnode",
      "title": "Find the nearest node for start and end points in segs_tbl",
      "topics": [
        "prt_nearestnode"
      ]
    },
    {
      "page": "prt_reroute",
      "title": "Re-route track points around barrier feature",
      "topics": [
        "prt_reroute"
      ]
    },
    {
      "page": "prt_shortpath",
      "title": "Calculate the shortest path through a visibility network between two points",
      "topics": [
        "prt_shortpath"
      ]
    },
    {
      "page": "prt_trim",
      "title": "Trim tracks to start and end outside barrier",
      "topics": [
        "prt_trim"
      ]
    },
    {
      "page": "prt_update_points",
      "title": "Update track points with fixed geometry",
      "topics": [
        "prt_update_points"
      ]
    },
    {
      "page": "prt_visgraph",
      "title": "Create a visibility graph",
      "topics": [
        "prt_visgraph"
      ]
    },
    {
      "page": "spatial_predicates",
      "title": "Spatial predicates",
      "topics": [
        "not_crosses",
        "not_intersects",
        "not_within",
        "spatial_predicates"
      ]
    }
  ],
  "_readme": "https://github.com/mhpob/pathroutr/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crayon",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "geometries",
    "glue",
    "igraph",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "lwgeom",
    "magrittr",
    "MASS",
    "Matrix",
    "nabor",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "s2",
    "sf",
    "sfheaders",
    "sfnetworks",
    "stringi",
    "stringr",
    "tibble",
    "tidygraph",
    "tidyr",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "akharborseal_demo.Rmd",
      "filename": "akharborseal_demo.html",
      "title": "Re-routing Harbor Seal Movement Tracks Around Land with {pathroutr}",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Alaska Harbor Seal Example",
        "Essential Packages",
        "Pre-processing Track Data and Land Polygon Data",
        "Re-Route Raw Argos Observations",
        "Limit Barrier Polygon to Region of Interest",
        "Create Visibility Graph",
        "Determine Re-routed Track via Shortest Path",
        "Update Geometry With Re-routed Coordinates",
        "Re-Routing a Movement Model Prediction",
        "Fit Movement Model and Predict Locations",
        "Identify Predicted Locations on Land",
        "Re-route Model Prediction via Shortest Path",
        "Update Predicted Path",
        "Multiple Imputation",
        "Create Multiple Imputations from {crawl} Model",
        "Space Use Analysis"
      ],
      "created": "2020-11-27 23:35:39",
      "modified": "2021-09-21 17:05:02",
      "commits": 14
    },
    {
      "source": "reroute_demo.Rmd",
      "filename": "reroute_demo.html",
      "title": "Re-routing Straight Line Paths Around Barriers - A Visibility Graph Demo",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Test Environment",
        "Re-route the path",
        "Did it work?"
      ],
      "created": "2020-11-24 06:12:06",
      "modified": "2021-09-21 17:05:02",
      "commits": 11
    }
  ],
  "_score": 3.9822712330395684,
  "_indexed": false,
  "_nocasepkg": "pathroutr",
  "_universes": [
    "ocean-tracking-network"
  ],
  "_indexurl": "https://jmlondon.r-universe.dev/pathroutr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-11T06:23:05.000Z",
      "distro": "noble",
      "commit": "a0b615faea1b1f9119e55fd21e70637f62563a62",
      "fileid": "9201d8ef3d774e03727bf10463517812a0b76177ee38c85f451117903c9942b2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocean-tracking-network/actions/runs/25653383252"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2",
      "date": "2026-05-11T06:22:56.000Z",
      "distro": "noble",
      "commit": "a0b615faea1b1f9119e55fd21e70637f62563a62",
      "fileid": "8160d98425e8c4d635a4aeef7c5d96f950f36a4cf9d9e1f66881e1773e593bb2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocean-tracking-network/actions/runs/25653383252"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-11T06:21:59.000Z",
      "commit": "a0b615faea1b1f9119e55fd21e70637f62563a62",
      "fileid": "26658d1b234684304d1fa9280462d09683bc5582d3e49c74d7cb6409369e3a4b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocean-tracking-network/actions/runs/25653383252"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2",
      "date": "2026-05-11T06:21:50.000Z",
      "commit": "a0b615faea1b1f9119e55fd21e70637f62563a62",
      "fileid": "7857e26538b1d277d096ee82414dc7c75621e41a90022e59fe030ab295928462",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocean-tracking-network/actions/runs/25653383252"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-11T06:25:51.000Z",
      "commit": "a0b615faea1b1f9119e55fd21e70637f62563a62",
      "fileid": "5abddd8041bf7346d717f1d2261f05b74e5670c1f9e19f74ee3da3077585b2ab",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocean-tracking-network/actions/runs/25653383252"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-11T06:21:48.000Z",
      "commit": "a0b615faea1b1f9119e55fd21e70637f62563a62",
      "fileid": "dd8b6fd8f7ca689e5190d28404928e09e7ea8c29490560664d2fed01f472045c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocean-tracking-network/actions/runs/25653383252"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2",
      "date": "2026-05-11T06:21:51.000Z",
      "commit": "a0b615faea1b1f9119e55fd21e70637f62563a62",
      "fileid": "e9417de58f64e56a4837a24ba196209007576d4445d8172bd11c3c8c53b064a0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocean-tracking-network/actions/runs/25653383252"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2",
      "date": "2026-05-22T11:57:54.000Z",
      "commit": "a0b615faea1b1f9119e55fd21e70637f62563a62",
      "fileid": "20e8013da92c7d1ea0ca9165b31b37a6e51d69580391ef3bdd0b693e3890d8ac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ocean-tracking-network/actions/runs/25653383252"
    }
  ]
}