{
  "_id": "6aca424afe5cc25786e86137",
  "Package": "swmmr",
  "Type": "Package",
  "Title": "R Interface for US EPA's SWMM",
  "Description": "Functions to connect the widely used Storm Water\nManagement Model (SWMM) of the United States Environmental\nProtection Agency (US EPA)\n<https://www.epa.gov/water-research/storm-water-management-model-swmm>\nto R with currently two main goals: (1) Run a SWMM simulation\nfrom R and (2) provide fast access to simulation results, i.e.\nSWMM's binary '.out'-files. High performance is achieved with\nhelp of Rcpp. Additionally, reading SWMM's '.inp' and '.rpt'\nfiles is supported to glance model structures and to get direct\naccess to simulation summaries.",
  "Version": "0.9.1.9000",
  "Authors@R": "c(\nperson(\"Dominik\", \"Leutnant\", email = \"leutnant@fh-muenster.de\",\nrole = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0003-3293-2315\")),\nperson(\"Anneke\", \"Doering\", email = \"doering@hydromech.uni-hannover.de\",\nrole = c(\"aut\")),\nperson(\"Malte\", \"Henrichs\", email = \"henrichs@fh-muenster.de\",\nrole = c(\"ctb\")),\nperson(\"Hauke\", \"Sonnenberg\", email = \"hauke.sonnenberg@gmx.de\",\nrole = c(\"ctb\"), comment = c(ORCID = \"0000-0001-9134-2871\"))\n)",
  "URL": "https://github.com/dleutnant/swmmr",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "BugReports": "https://github.com/dleutnant/swmmr/issues",
  "ByteCompile": "TRUE",
  "SystemRequirements": "SWMM (>=5.1.012)",
  "RoxygenNote": "7.1.2",
  "Roxygen": "list(markdown = TRUE, roclets = c(\"rd\", \"namespace\",\n\"collate\"))",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev libx11-dev",
  "Repository": "https://hsonne.r-universe.dev",
  "Date/Publication": "2022-02-02 09:43:32 UTC",
  "RemoteUrl": "https://github.com/hsonne/swmmr",
  "RemoteRef": "HEAD",
  "RemoteSha": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-10 13:41:19 UTC",
    "User": "root"
  },
  "Author": "Dominik Leutnant [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3293-2315>),\nAnneke Doering [aut],\nMalte Henrichs [ctb],\nHauke Sonnenberg [ctb] (ORCID: <https://orcid.org/0000-0001-9134-2871>)",
  "Maintainer": "Dominik Leutnant <leutnant@fh-muenster.de>",
  "_user": "hsonne",
  "_type": "src",
  "_file": "swmmr_0.9.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/3631f064d56bfc28f9d43a0f250ee92e8ea652d504ad41722cab37df04990177",
  "_filesize": 324374,
  "_sha256": "3631f064d56bfc28f9d43a0f250ee92e8ea652d504ad41722cab37df04990177",
  "_expires": "2027-01-18T13:48:52.000Z",
  "_created": "2026-10-10T13:41:19.000Z",
  "_published": "2026-10-10T13:48:58.073Z",
  "_buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114226594571,
      "time": 98,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11671447842"
    },
    {
      "job": 114226594582,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11671521566"
    },
    {
      "job": 114226594576,
      "time": 100,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11671761515"
    },
    {
      "job": 114226594595,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11671937414"
    },
    {
      "job": 114226594630,
      "time": 165,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11671777749"
    },
    {
      "job": 114226594609,
      "time": 370,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11671478411"
    },
    {
      "job": 114226594589,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11671268110"
    },
    {
      "job": 114226594620,
      "time": 238,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11671661838"
    },
    {
      "job": 114226025069,
      "time": 185,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11670951920"
    },
    {
      "job": 114226594584,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11671962211"
    },
    {
      "job": 114226594675,
      "time": 298,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11671942761"
    },
    {
      "job": 114226594660,
      "time": 79,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11671617613"
    },
    {
      "job": 114226594633,
      "time": 77,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "11670972019"
    },
    {
      "job": 114226594624,
      "time": 274,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11671178255"
    },
    {
      "job": 114226594614,
      "time": 59,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11671121903"
    }
  ],
  "_upstream": "https://github.com/hsonne/swmmr",
  "_commit": {
    "id": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
    "author": "Dominik Leutnant <leutnant.dominik@eglv.de>",
    "committer": "Dominik Leutnant <leutnant.dominik@eglv.de>",
    "message": "fix #72\n",
    "time": 1643795012
  },
  "_maintainer": {
    "name": "Dominik Leutnant",
    "email": "leutnant@fh-muenster.de",
    "login": "dleutnant",
    "twitter": "@dnkml",
    "description": "phd, civil engineering, urban hydrology, hydroinformatics, water resources, rstats",
    "uuid": 13165811,
    "orcid": "0000-0003-3293-2315"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "version": ">= 0.7.4",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 0.2.4",
      "role": "Imports"
    },
    {
      "package": "readr",
      "version": ">= 1.1.1",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 1.2.4",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "xts",
      "version": ">= 0.10-1",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "DEoptim",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "version": ">= 0.6-1",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "hsonne",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "dleutnant",
      "count": 214,
      "uuid": 13165811
    },
    {
      "user": "doeringa",
      "count": 13,
      "uuid": 35333325
    },
    {
      "user": "hsonne",
      "count": 4,
      "uuid": 11964315
    },
    {
      "user": "maltehenrichs",
      "count": 4,
      "uuid": 17744100
    }
  ],
  "_userbio": {
    "uuid": 11964315,
    "type": "user",
    "name": "Hauke Sonnenberg",
    "followers": 17
  },
  "_downloads": {
    "count": 19,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/swmmr"
  },
  "_devurl": "https://github.com/dleutnant/swmmr",
  "_searchresults": 37,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "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",
    "extra/swmmr.html"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.7.0",
      "date": "2017-07-13"
    },
    {
      "version": "0.8.0",
      "date": "2018-03-08"
    },
    {
      "version": "0.8.1",
      "date": "2018-04-10"
    },
    {
      "version": "0.9.0",
      "date": "2019-04-08"
    },
    {
      "version": "0.9.1",
      "date": "2020-03-02"
    }
  ],
  "_exports": [
    "get_out_content",
    "get_out_version",
    "inp_to_files",
    "inp_to_sf",
    "junctions_to_sf",
    "links_to_sf",
    "orifices_to_sf",
    "outfalls_to_sf",
    "pumps_to_sf",
    "raingages_to_sf",
    "read_inp",
    "read_lid_rpt",
    "read_out",
    "read_rpt",
    "run_swmm",
    "shp_to_inp",
    "storages_to_sf",
    "subcatchments_to_sf",
    "weirs_to_sf",
    "write_inp"
  ],
  "_help": [
    {
      "page": "plot",
      "title": "Plot a swmm model structure using ggplot2",
      "topics": [
        "autoplot.inp"
      ]
    },
    {
      "page": "convert_to_sf",
      "title": "Convert swmm objects to simple feature geometries",
      "topics": [
        "convert_to_sf",
        "inp_to_sf",
        "junctions_to_sf",
        "links_to_sf",
        "orifices_to_sf",
        "outfalls_to_sf",
        "pumps_to_sf",
        "raingages_to_sf",
        "storages_to_sf",
        "subcatchments_to_sf",
        "weirs_to_sf"
      ]
    },
    {
      "page": "get_out_content",
      "title": "Get the content of an .out file.",
      "topics": [
        "get_out_content"
      ]
    },
    {
      "page": "get_out_version",
      "title": "Get the swmm version the .out file was generated with",
      "topics": [
        "get_out_version"
      ]
    },
    {
      "page": "inp_to_files",
      "title": "Convert SWMM's .inp to .shp and txt files",
      "topics": [
        "inp_to_files"
      ]
    },
    {
      "page": "read_inp",
      "title": "Read SWMM's .inp file",
      "topics": [
        "read_inp"
      ]
    },
    {
      "page": "read_lid_rpt",
      "title": "Read SWMM's LID Report File",
      "topics": [
        "read_lid_rpt"
      ]
    },
    {
      "page": "read_out",
      "title": "Read time series data from SWMM's .out file",
      "topics": [
        "read_out"
      ]
    },
    {
      "page": "read_rpt",
      "title": "Read SWMM's .rpt file",
      "topics": [
        "read_rpt"
      ]
    },
    {
      "page": "run_swmm",
      "title": "Initiate a simulation run",
      "topics": [
        "run_swmm"
      ]
    },
    {
      "page": "shp_to_inp",
      "title": "Convert *.shp files to SWMM's *.inp file",
      "topics": [
        "shp_to_inp"
      ]
    },
    {
      "page": "summary",
      "title": "Show summary of a swmm model structure",
      "topics": [
        "summary.inp"
      ]
    },
    {
      "page": "swmmr",
      "title": "'swmmr' package",
      "topics": [
        "swmmr"
      ]
    },
    {
      "page": "write_inp",
      "title": "Write SWMM's .inp file",
      "topics": [
        "write_inp"
      ]
    }
  ],
  "_readme": "https://github.com/hsonne/swmmr/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "lattice",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "Rcpp",
    "readr",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr",
    "xts",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "How_swmmr_reads_and_writes_files.Rmd",
      "filename": "How_swmmr_reads_and_writes_files.html",
      "title": "How swmmr reads and writes SWMM files",
      "author": "Dominik Leutnant",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is a inp file?",
        "Which inp sections are allowed?",
        "What happens on read_inp?",
        "What happens on write_inp?",
        "What is a rpt file?",
        "Which rpt sections are parsed?",
        "What happens on read_rpt?"
      ],
      "created": "2018-01-15 15:16:39",
      "modified": "2022-02-02 09:37:38",
      "commits": 2
    },
    {
      "source": "How_to_autocalibrate_a_SWMM_model_with_swmmr.Rmd",
      "filename": "How_to_autocalibrate_a_SWMM_model_with_swmmr.html",
      "title": "How to autocalibrate a SWMM model with swmmr",
      "author": "Dominik Leutnant",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Setup",
        "Goodness-of-fit criteria",
        "Objective function",
        "Optimization"
      ],
      "created": "2018-01-15 15:22:57",
      "modified": "2019-03-16 13:45:56",
      "commits": 6
    },
    {
      "source": "How_to_convert_between_GIS_data_and_SWMM_with_swmmr.Rmd",
      "filename": "How_to_convert_between_GIS_data_and_SWMM_with_swmmr.html",
      "title": "Conversion between GIS data and SWMM with swmmr",
      "author": "Anneke Döring",
      "engine": "knitr::rmarkdown",
      "headings": [
        "swmmr's function inp_to_files",
        "swmmr's function shp_to_inp",
        "Conversion of Example1 files to one inp file",
        "setup a new SWMM project using shp_to_inp",
        "supplementary R objects:"
      ],
      "created": "2018-02-22 15:40:53",
      "modified": "2018-02-27 10:30:35",
      "commits": 6
    }
  ],
  "_score": 4.999565488225983,
  "_indexed": true,
  "_nocasepkg": "swmmr",
  "_universes": [
    "hsonne",
    "dleutnant"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:43:20.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/a3b194840459ea523d2a09a1dc3d3a4cc5b3155fc355a7e97d85b2865813136c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:43:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/7f40b3648ade411f59d7a3dc0bc7358e1019eb4f3abed862d02fa19c2fc55a2a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:43:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/db45f339cea83c47b5d0ee2754b28c0c23f7bb61fdb008c79afdd2e2b6fb07ae",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:43:36.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/28819c68a755110cc1a2038deae8d98b66eedd10537dcab5629dd270f3bfdf40",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:45:26.000Z",
      "arch": "aarch64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/89d6d700cdc226cb194f6c736a6f8586d17a7e4d13bc3f90ea3c13cc12692216",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:48:03.000Z",
      "arch": "x86_64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/f80b0129302e09d5bc68fe33146abd49fb584bb3261884b32f458024c92b8e38",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:44:42.000Z",
      "arch": "aarch64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/9b983d5523dc7d7f18f3e21e991bd523eaebbbe79f639428781dcb8e70595928",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:46:12.000Z",
      "arch": "x86_64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/da900de3341859d4288bcd08fe900dd5a6d2343ecda96c96b08bfa5def502bee",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:43:34.000Z",
      "arch": "emscripten",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/32bcf6cec83c5d6fe6f127c556b1a1836d39c5d0b657284fe18a5ff59c0246bf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:46:29.000Z",
      "arch": "aarch64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/9898dfd3aa5caaef4d7101fe52ba00a9c25d854ea4439bdba7889a28de843ae6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:42:41.000Z",
      "arch": "x86_64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/b270d2864a6598729564628e9072d881b84a5f0e2dfd73260a7feaf5c49cb714",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:42:44.000Z",
      "arch": "x86_64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/e3314b1e7caaf7358e1ae5e9ba1c70868af9332634b55dde046074347ee79822",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:46:06.000Z",
      "arch": "aarch64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/e816d58a2a7b1d546f602e2b8c2c00a7ec70e8f13dcce58294c320d4558bbbe9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.1.9000",
      "date": "2026-10-10T13:42:32.000Z",
      "arch": "x86_64",
      "commit": "820fe76a47cf7a0ca2547ce35920aa30de94207b",
      "fileid": "https://r2.ropensci.org/7c2b24d6a5571cacc07b5b463d93aee6ef0c43688c4899a1efc1611a938d9771",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/hsonne/actions/runs/38056485808"
    }
  ]
}