{
  "_id": "6a0f6358acfb0bcc41c5c7a9",
  "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://marce10.r-universe.dev",
  "Date/Publication": "2025-10-30 14:50:28 UTC",
  "RemoteUrl": "https://github.com/ropensci/ohun",
  "RemoteRef": "HEAD",
  "RemoteSha": "98d3c46aba0c89dc7ec2b414956246c900008e34",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 10:34:48 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": "9b512af76d9adf5af7d522fbbcb01edf",
  "_user": "marce10",
  "_type": "src",
  "_file": "ohun_1.0.4.tar.gz",
  "_fileid": "c0e80475d6089989d1d4574e164b6aa3acdcca3027251f72f59227223e0f4f63",
  "_filesize": 4210888,
  "_sha256": "c0e80475d6089989d1d4574e164b6aa3acdcca3027251f72f59227223e0f4f63",
  "_created": "2026-05-21T10:34:48.000Z",
  "_published": "2026-05-21T19:56:08.324Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77256691874,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133535437"
    },
    {
      "job": 77256692223,
      "time": 214,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133542271"
    },
    {
      "job": 77256692114,
      "time": 232,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133547569"
    },
    {
      "job": 77256691906,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133508811"
    },
    {
      "job": 77256691416,
      "time": 281,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133473953"
    },
    {
      "job": 77256691396,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7145803444"
    },
    {
      "job": 77256691782,
      "time": 200,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7133538132"
    },
    {
      "job": 77256692323,
      "time": 138,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7133518970"
    },
    {
      "job": 77256692229,
      "time": 166,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7133527381"
    }
  ],
  "_buildurl": "https://github.com/r-universe/marce10/actions/runs/26220521537",
  "_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",
    "description": "I am an evolutionary behavioral ecologist and scientific programmer/software developer 🇨🇷",
    "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": 13245502,
    "type": "user",
    "name": "Marcelo Araya-Salas",
    "description": "I am an evolutionary behavioral ecologist and scientific programmer/software developer 🇨🇷"
  },
  "_downloads": {
    "count": 317,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ohun"
  },
  "_devurl": "https://github.com/ropensci/ohun",
  "_pkgdown": "https://docs.ropensci.org/ohun/",
  "_searchresults": 45,
  "_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/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/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "base64enc",
    "bioacoustics",
    "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",
    "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.038818787373656,
  "_indexed": false,
  "_nocasepkg": "ohun",
  "_universes": [
    "marce10"
  ],
  "_indexurl": "https://ropensci.r-universe.dev/ohun",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-21T10:37:19.000Z",
      "distro": "noble",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "337fddc9b9b02ffad35a28307c638d929063901344e8e5b2a258d1cd0360048b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26220521537"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-21T10:37:44.000Z",
      "distro": "noble",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "0315ed8ea75cee566ced07754d4b7b5f3ea322d03be1e7c8682b631a38076d56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26220521537"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-21T10:37:51.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "06bb136c389e95173839ffb3d76be2508e4d9c3031f4f3b546f416bcea6da120",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26220521537"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-21T10:36:23.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "1d212cb60b2580d9612eea67e15994d7a4c85b9ee6e1d4cb6b227ddf8170206c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26220521537"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-05-21T19:55:43.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "c8f0e33eb7551b2b6dcae091caab619d38b99f04018b80b9e45138bd095c45d8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26220521537"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-21T10:37:17.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "ca0e3dfc1e2f997fec26a2deb44b0dd1e6704dbe50577d89615a2876dc001e23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26220521537"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-21T10:36:16.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "12439ce2f46d9e91907890c1f680a245a9eec7dfb702d52b8198519223dbf01a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26220521537"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-21T10:36:35.000Z",
      "commit": "98d3c46aba0c89dc7ec2b414956246c900008e34",
      "fileid": "4281716dbbf3e9ad1801104ab5dff121b798829c1e9f2b8e1aa922941009dae3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marce10/actions/runs/26220521537"
    }
  ]
}