{
  "_id": "69df472fc5259ad4cd8df5ce",
  "Package": "ohun",
  "Title": "Optimizing Acoustic Signal Detection",
  "Version": "1.0.4",
  "Maintainer": "Marcelo Araya-Salas <marcelo.araya@ucr.ac.cr>",
  "Description": "Facilitates the automatic detection of acoustic signals,\nproviding functions to diagnose and optimize the performance of\ndetection routines. Detections from other software can also be\nexplored and optimized. This package has been peer-reviewed by\nrOpenSci. Araya-Salas et al. (2022)\n<doi:10.1101/2022.12.13.520253>.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "URL": "https://docs.ropensci.org/ohun/, https://github.com/ropensci/ohun/",
  "BugReports": "https://github.com/ropensci/ohun/issues/",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.2",
  "Language": "en-US",
  "Authors@R": "c(person(\"Marcelo\", \"Araya-Salas\",\nrole = c(\"aut\", \"cre\"),\nemail = \"marcelo.araya@ucr.ac.cr\",\ncomment = c(ORCID = \"0000-0003-3594-619X\")),\nperson(given = \"Alec L.\",\nfamily = \"Robitaille\",\nrole = \"rev\",\nemail = \"robit.alec@gmail.com\",\ncomment = c(ORCID = \"0000-0002-4706-1762\")),\nperson(given = \"Sam\",\nfamily = \"Lapp\",\nrole = \"rev\",\nemail = \"sammlapp@gmail.com\",\ncomment = c(ORCID = \"0000-0003-1637-6822\")))",
  "Config/pak/sysreqs": "libabsl-dev cmake libfftw3-dev libgdal-dev gdal-bin\nlibgeos-dev libglpk-dev make libicu-dev libsndfile1-dev\nlibuv1-dev libxml2-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2025-10-30 14:50:28 UTC",
  "RemoteUrl": "https://github.com/ropensci/ohun",
  "RemoteRef": "master",
  "RemoteSha": "98d3c46aba0c89dc7ec2b414956246c900008e34",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-04-15 08:02:51 UTC",
    "User": "root"
  },
  "Author": "Marcelo Araya-Salas [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-3594-619X>),\nAlec L. Robitaille [rev] (ORCID:\n<https://orcid.org/0000-0002-4706-1762>),\nSam Lapp [rev] (ORCID: <https://orcid.org/0000-0003-1637-6822>)",
  "MD5sum": "30ff1961c9931b9ab6980436395e0866",
  "_user": "ropensci",
  "_type": "src",
  "_file": "ohun_1.0.4.tar.gz",
  "_fileid": "0cedb3ed800eb5d319d10bed14321418fd19a448dd8a3fa0bb0bd58eeb63eb1b",
  "_filesize": 4210202,
  "_sha256": "0cedb3ed800eb5d319d10bed14321418fd19a448dd8a3fa0bb0bd58eeb63eb1b",
  "_created": "2026-04-15T08:02:51.000Z",
  "_published": "2026-04-15T08:07:10.971Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 71413527997,
      "time": 213,
      "config": "linux-devel-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6445776919"
    },
    {
      "job": 71413527985,
      "time": 174,
      "config": "linux-release-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6445766857"
    },
    {
      "job": 71413528008,
      "time": 69,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 71413527986,
      "time": 149,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6445760098"
    },
    {
      "job": 71412882361,
      "time": 273,
      "config": "pkgdown",
      "r": "4.5.2",
      "check": "OK",
      "artifact": "6445714695"
    },
    {
      "job": 71412882358,
      "time": 289,
      "config": "source",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6445719176"
    },
    {
      "job": 71413528000,
      "time": 160,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "6445762392"
    },
    {
      "job": 71413528048,
      "time": 138,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6445757136"
    },
    {
      "job": 71413528005,
      "time": 155,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6445761540"
    },
    {
      "job": 71413528042,
      "time": 135,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6445756055"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/24443157309",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ropensci/ohun",
  "_commit": {
    "id": "98d3c46aba0c89dc7ec2b414956246c900008e34",
    "author": "Marcelo <marcelo.araya@ucr.ac.cr>",
    "committer": "Marcelo <marcelo.araya@ucr.ac.cr>",
    "message": "rename internal function\n",
    "time": 1761835828
  },
  "_maintainer": {
    "name": "Marcelo Araya-Salas",
    "email": "marcelo.araya@ucr.ac.cr",
    "login": "marce10",
    "uuid": 13245502,
    "orcid": "0000-0003-3594-619X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.1",
      "role": "Depends"
    },
    {
      "package": "tuneR",
      "role": "Imports"
    },
    {
      "package": "warbleR",
      "version": ">= 1.1.32",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "seewave",
      "version": ">= 2.0.1",
      "role": "Imports"
    },
    {
      "package": "fftw",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "viridis",
      "role": "Suggests"
    },
    {
      "package": "Sim.DiffProc",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-30",
      "n": 14
    },
    {
      "week": "2025-31",
      "n": 2
    },
    {
      "week": "2025-44",
      "n": 3
    }
  ],
  "_tags": [],
  "_topics": [
    "audio-processing",
    "bioacoustics",
    "sound-event-detection",
    "spectrogram",
    "streamline-analysis"
  ],
  "_stars": 18,
  "_contributors": [
    {
      "user": "marce10",
      "count": 288,
      "uuid": 13245502
    },
    {
      "user": "robitalec",
      "count": 44,
      "uuid": 16324625
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 384,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ohun"
  },
  "_devurl": "https://github.com/ropensci/ohun",
  "_pkgdown": "https://docs.ropensci.org/ohun/",
  "_searchresults": 50,
  "_metadata": {
    "review": {
      "id": 568,
      "status": "reviewed",
      "version": "0.1.0",
      "organization": "rOpenSci Software Review",
      "url": "https://github.com/ropensci/software-review/issues/568"
    },
    "ropensci_category": "data-extraction"
  },
  "_rbuild": "4.5.3",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ohun.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/ohun",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-12-19"
    },
    {
      "version": "1.0.0",
      "date": "2023-09-24"
    },
    {
      "version": "1.0.1",
      "date": "2023-11-17"
    },
    {
      "version": "1.0.2",
      "date": "2024-08-19"
    },
    {
      "version": "1.0.3",
      "date": "2025-07-22"
    },
    {
      "version": "1.0.4",
      "date": "2025-10-22"
    }
  ],
  "_exports": [
    "consensus_detection",
    "diagnose_detection",
    "energy_detector",
    "feature_acoustic_data",
    "feature_reference",
    "filter_detection",
    "get_envelopes",
    "get_templates",
    "label_detection",
    "label_spectro",
    "merge_overlaps",
    "optimize_energy_detector",
    "optimize_template_detector",
    "plot_detection",
    "reassemble_detection",
    "split_acoustic_data",
    "summarize_acoustic_data",
    "summarize_diagnostic",
    "summarize_reference",
    "template_correlator",
    "template_detector"
  ],
  "_datasets": [
    {
      "name": "lbh_reference",
      "title": "Example data frame of a selection table including all sound events of interests",
      "object": "lbh_reference",
      "file": "lbh_reference.rda",
      "class": [
        "selection_table",
        "data.frame"
      ],
      "fields": [
        "sound.files",
        "selec",
        "start",
        "end",
        "bottom.freq",
        "top.freq"
      ],
      "rows": 19,
      "table": true,
      "tojson": true
    },
    {
      "name": "lbh1",
      "title": "Long-billed hermit recording",
      "object": "lbh1",
      "file": "lbh1.rda",
      "class": [
        "Wave"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "lbh2",
      "title": "Long-billed hermit recording",
      "object": "lbh2",
      "file": "lbh2.rda",
      "class": [
        "Wave"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "consensus_detection",
      "title": "Remove ambiguous detections",
      "topics": [
        "consensus_detection"
      ]
    },
    {
      "page": "diagnose_detection",
      "title": "Evaluate the performance of a sound event detection procedure",
      "topics": [
        "diagnose_detection"
      ]
    },
    {
      "page": "energy_detector",
      "title": "Detects the start and end of sound events",
      "topics": [
        "energy_detector"
      ]
    },
    {
      "page": "get_envelopes",
      "title": "Extract absolute amplitude envelopes",
      "topics": [
        "get_envelopes"
      ]
    },
    {
      "page": "get_templates",
      "title": "Find templates representative of the structural variation of sound events",
      "topics": [
        "get_templates"
      ]
    },
    {
      "page": "label_detection",
      "title": "Label detections from a sound event detection procedure",
      "topics": [
        "label_detection"
      ]
    },
    {
      "page": "label_spectro",
      "title": "Plot a labeled spectrogram",
      "topics": [
        "label_spectro"
      ]
    },
    {
      "page": "lbh_reference",
      "title": "Example data frame of a selection table including all sound events of interests",
      "topics": [
        "lbh_reference"
      ]
    },
    {
      "page": "lbh1",
      "title": "Long-billed hermit recording",
      "topics": [
        "lbh1"
      ]
    },
    {
      "page": "lbh2",
      "title": "Long-billed hermit recording",
      "topics": [
        "lbh2"
      ]
    },
    {
      "page": "merge_overlaps",
      "title": "Merge overlapping selections",
      "topics": [
        "merge_overlaps"
      ]
    },
    {
      "page": "optimize_energy_detector",
      "title": "Optimize energy-based sound event detection",
      "topics": [
        "optimize_energy_detector"
      ]
    },
    {
      "page": "optimize_template_detector",
      "title": "Optimize acoustic template detection",
      "topics": [
        "optimize_template_detector"
      ]
    },
    {
      "page": "plot_detection",
      "title": "Plot detection and reference annotations",
      "topics": [
        "plot_detection"
      ]
    },
    {
      "page": "reassemble_detection",
      "title": "Reassemble detections from clips",
      "topics": [
        "reassemble_detection"
      ]
    },
    {
      "page": "split_acoustic_data",
      "title": "Splits sound files and associated annotations",
      "concept": [
        "data manipulation"
      ],
      "topics": [
        "split_acoustic_data"
      ]
    },
    {
      "page": "summarize_acoustic_data",
      "title": "Summarize information about file format in an acoustic data set",
      "topics": [
        "summarize_acoustic_data"
      ]
    },
    {
      "page": "summarize_diagnostic",
      "title": "Summarize detection diagnostics",
      "topics": [
        "summarize_diagnostic"
      ]
    },
    {
      "page": "summarize_reference",
      "title": "Summarize temporal and frequency dimensions of annotations and gaps",
      "topics": [
        "summarize_reference"
      ]
    },
    {
      "page": "template_correlator",
      "title": "Acoustic templates correlator using time-frequency cross-correlation",
      "topics": [
        "template_correlator"
      ]
    },
    {
      "page": "template_detector",
      "title": "Acoustic template detection from time-frequency cross-correlations",
      "topics": [
        "template_detector"
      ]
    }
  ],
  "_readme": "https://github.com/ropensci/ohun/raw/master/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "base64enc",
    "bioacoustics",
    "bitops",
    "brio",
    "callr",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crayon",
    "curl",
    "DBI",
    "desc",
    "diffobj",
    "digest",
    "dtw",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "fftw",
    "fs",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "httr",
    "igraph",
    "isoband",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "mime",
    "moments",
    "monitoR",
    "NatureSounds",
    "openssl",
    "pbapply",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "praise",
    "processx",
    "proxy",
    "ps",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RCurl",
    "rjson",
    "rlang",
    "rprojroot",
    "s2",
    "S7",
    "scales",
    "seewave",
    "sf",
    "signal",
    "stringi",
    "stringr",
    "sys",
    "testthat",
    "tuneR",
    "units",
    "vctrs",
    "viridisLite",
    "waldo",
    "warbleR",
    "withr",
    "wk",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "intro_to_ohun.Rmd",
      "filename": "intro_to_ohun.html",
      "title": "Optimizing sound event detection",
      "author": "Marcelo Araya-Salas, PhD",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Automatic sound event detection",
        "Signal detection theory applied to bioacoustics",
        "Improving detection speed",
        "Additional tips",
        "References"
      ],
      "created": "2023-06-09 00:18:51",
      "modified": "2025-07-22 00:07:11",
      "commits": 9
    },
    {
      "source": "template_based_detection.Rmd",
      "filename": "template_based_detection.html",
      "title": "Template-based detection",
      "author": "Marcelo Araya-Salas, PhD",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Optimizing template-based detection",
        "Detecting several templates",
        "References"
      ],
      "created": "2023-06-05 21:24:42",
      "modified": "2025-07-22 00:07:11",
      "commits": 10
    },
    {
      "source": "energy_based_detection.Rmd",
      "filename": "energy_based_detection.html",
      "title": "Energy-based detection",
      "author": "Marcelo Araya-Salas, PhD",
      "engine": "knitr::rmarkdown",
      "headings": [
        "How it works",
        "Optimizing energy-based detection",
        "References"
      ],
      "created": "2023-06-05 21:24:42",
      "modified": "2025-07-22 00:07:11",
      "commits": 10
    }
  ],
  "_score": 7.084576277934331,
  "_indexed": true,
  "_nocasepkg": "ohun",
  "_universes": [
    "ropensci",
    "marce10"
  ],
  "_binaries": [
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-03-16T09:17:21.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "a279c9c25319cd157be2596ce3292796c435df6782ed15446a24d7a8343d946c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/23136060215"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-04-15T08:05:37.000Z",
      "distro": "noble",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "8232c5ba877b3e80b59444f3ccbf779161816f7f7f8604730e30a21d662d18e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24443157309"
    },
    {
      "r": "4.5.3",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-04-15T08:05:12.000Z",
      "distro": "noble",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "a0ee06d960ea9aebb6d1bbb79c5ed8a062b675e841807b5a2ddd1bfb6c92f29d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24443157309"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-04-15T08:04:48.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "1fd2580865bd8d7e98ea3f26079b72f40f19563dc0655641a74582c2c443996a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24443157309"
    },
    {
      "r": "4.5.1",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-04-15T08:05:48.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "f88ba2346d3c83bd177bf05779ca64f661a02e1465c73d6fb4f84413adb2dddc",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24443157309"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-04-15T08:04:19.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "74dd2b3090a6c7b4c9a3b06077ee70f92873e5308598f2ba8dd52d5c49c2d39d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24443157309"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-04-15T08:04:39.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "af46b3eeb289c1c0d18c2514672c458f2c3511a92b4a1cf39197c9d12bd796fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24443157309"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-04-15T08:04:15.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "533b665366d07bb907097c2de81f05561c17694d85955253f2b2ebfbc341c138",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/24443157309"
    }
  ]
}