{
  "_id": "6ac6db56de46216d5edcda62",
  "Package": "sleepr",
  "Title": "Analyse Activity and Sleep Behaviour",
  "Date": "2026-10-07",
  "Version": "0.4.0",
  "Authors@R": "c(\nperson(\"Quentin\", \"Geissmann\", role = c(\"aut\", \"cre\"), email = \"qgeissmann@gmail.com\")\n)",
  "Description": "Use behavioural variables to score activity and infer\nsleep from bouts of immobility. It is primarily designed to\nscore sleep in fruit flies from Drosophila Activity Monitor\n(TriKinetics) and Ethoscope data. It implements sleep scoring\nusing the \"five-minute rule\" (Hendricks et al. (2000)\n<DOI:10.1016/S0896-6273(00)80877-6>), activity classification\nfor Ethoscopes (Geissmann et al. (2017)\n<DOI:10.1371/journal.pbio.2003026>) and a new algorithm to\ndetect when animals are dead.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://github.com/rethomics/sleepr",
  "BugReports": "https://github.com/rethomics/sleepr/issues",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE)",
  "Repository": "https://rethomics.r-universe.dev",
  "Date/Publication": "2026-10-07 18:44:58 UTC",
  "RemoteUrl": "https://github.com/rethomics/sleepr",
  "RemoteRef": "HEAD",
  "RemoteSha": "4f9650952909422fd91cf802410d0f4f7dc24572",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-07 23:50:12 UTC",
    "User": "root"
  },
  "Author": "Quentin Geissmann [aut, cre]",
  "Maintainer": "Quentin Geissmann <qgeissmann@gmail.com>",
  "_user": "rethomics",
  "_type": "src",
  "_file": "sleepr_0.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/219a6cf5704592d5f5b9206608d45fbf1e35f107a22968320d925d269b799982",
  "_filesize": 426867,
  "_sha256": "219a6cf5704592d5f5b9206608d45fbf1e35f107a22968320d925d269b799982",
  "_expires": "2027-01-15T23:52:52.000Z",
  "_created": "2026-10-07T23:50:12.000Z",
  "_published": "2026-10-07T23:52:54.161Z",
  "_buildurl": "https://github.com/r-universe/rethomics/actions/runs/37704178259",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113075601818,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11517994979"
    },
    {
      "job": 113075601807,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11518808748"
    },
    {
      "job": 113075601838,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11518674644"
    },
    {
      "job": 113075601891,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11519181426"
    },
    {
      "job": 113074561828,
      "time": 209,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11519076822"
    },
    {
      "job": 113075601799,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11519315615"
    },
    {
      "job": 113075601911,
      "time": 66,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11518599778"
    },
    {
      "job": 113075601814,
      "time": 73,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11519440302"
    },
    {
      "job": 113075601827,
      "time": 74,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11519037287"
    }
  ],
  "_upstream": "https://github.com/rethomics/sleepr",
  "_commit": {
    "id": "4f9650952909422fd91cf802410d0f4f7dc24572",
    "author": "Giorgio Gilestro <giorgio@gilest.ro>",
    "committer": "Giorgio Gilestro <giorgio@gilest.ro>",
    "message": "Merge branch 'motion-calibration': sleepr 0.4.0\n\nSleep rules (classic or the k-rule), required since 0.4.0, with\noptions(sleepr.sleep_rule) and SLEEPR_SLEEP_RULE; motion_qc.\n\nCo-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>\nClaude-Session: https://claude.ai/code/session_01J8sf6gqfebkj8YhP6uaLKb\n",
    "time": 1791398698
  },
  "_maintainer": {
    "name": "Quentin Geissmann",
    "email": "qgeissmann@gmail.com",
    "login": "qgeissmann",
    "twitter": "@qgeissmann",
    "description": "Assistant professor in the QGG at Aarhus Universiy. Digital Approaches for Resilient Sustainable Agriculture.",
    "uuid": 1399684
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.00",
      "role": "Depends"
    },
    {
      "package": "behavr",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "rethomics",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-41",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0",
      "date": "2026-10-07"
    }
  ],
  "_topics": [
    "biological-data-analysis",
    "neuroscience"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "qgeissmann",
      "count": 45,
      "uuid": 1399684
    },
    {
      "user": "ggilestro",
      "count": 7,
      "uuid": 696901
    }
  ],
  "_userbio": {
    "uuid": 30466497,
    "type": "organization",
    "name": "rethomics",
    "followers": 6,
    "description": "A framework to analyse high-throughput behaviour in R"
  },
  "_downloads": {
    "count": 320,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sleepr"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/rethomics/sleepr",
  "_searchresults": 83,
  "_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/sleepr.html"
  ],
  "_homeurl": "https://github.com/rethomics/sleepr",
  "_realowner": "rethomics",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2018-10-30"
    },
    {
      "version": "0.3.1",
      "date": "2025-03-27"
    }
  ],
  "_exports": [
    "bout_analysis",
    "classify_events",
    "curate_dead_animals",
    "default_still_shift",
    "find_spikes",
    "find_still_bins",
    "k_rule_bins",
    "light_phase",
    "max_velocity_detector",
    "max_velocity_detector_legacy",
    "motion_qc",
    "pixel_size",
    "sleep_annotation",
    "sleep_dam_annotation",
    "virtual_beam_cross_detector"
  ],
  "_help": [
    {
      "page": "bout_analysis",
      "title": "Find \"bouts\" in categorical time series",
      "topics": [
        "bout_analysis"
      ]
    },
    {
      "page": "curate_dead_animals",
      "title": "Remove - irrelevant - data after individual have died",
      "topics": [
        "curate_dead_animals"
      ]
    },
    {
      "page": "motion_calibration",
      "title": "Tracking-noise diagnostics",
      "topics": [
        "default_still_shift",
        "find_spikes",
        "find_still_bins",
        "light_phase",
        "motion_calibration",
        "pixel_size"
      ]
    },
    {
      "page": "motion_detectors",
      "title": "Motion detector for Ethocope data",
      "topics": [
        "max_velocity_detector",
        "max_velocity_detector_legacy",
        "motion_detectors",
        "virtual_beam_cross_detector"
      ]
    },
    {
      "page": "motion_qc",
      "title": "Check how well the fixed movement threshold fits the tracking noise",
      "topics": [
        "motion_qc"
      ]
    },
    {
      "page": "sleep_annotation",
      "title": "Score sleep behaviour from immobility",
      "topics": [
        "sleep_annotation",
        "sleep_dam_annotation"
      ]
    },
    {
      "page": "sleep_rules",
      "title": "Sleep from walking and sustained movement (the k-rule)",
      "topics": [
        "classify_events",
        "k_rule_bins",
        "sleep_rules"
      ]
    }
  ],
  "_readme": "https://github.com/rethomics/sleepr/raw/HEAD/README.md",
  "_rundeps": [
    "behavr",
    "data.table"
  ],
  "_score": 4.396199347095736,
  "_indexed": true,
  "_nocasepkg": "sleepr",
  "_universes": [
    "rethomics",
    "qgeissmann"
  ],
  "_previous": "0.3.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-07T23:52:17.000Z",
      "distro": "resolute",
      "commit": "4f9650952909422fd91cf802410d0f4f7dc24572",
      "fileid": "https://r2.ropensci.org/28a34205a3173ef10433c066b17159fa2648cc5920d9072c3fab3258a7d3f428",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/37704178259"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-10-07T23:52:14.000Z",
      "distro": "resolute",
      "commit": "4f9650952909422fd91cf802410d0f4f7dc24572",
      "fileid": "https://r2.ropensci.org/eb372aa45f5b54a474dda19196cdf37f27917b34c5cd1a11bbce8e231c9f4256",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/37704178259"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-07T23:52:07.000Z",
      "commit": "4f9650952909422fd91cf802410d0f4f7dc24572",
      "fileid": "https://r2.ropensci.org/a848ebcedf75a7327e87370a253ada5e2dd15ca4b70cffacce6eff3fd2a71c21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/37704178259"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-10-07T23:51:49.000Z",
      "commit": "4f9650952909422fd91cf802410d0f4f7dc24572",
      "fileid": "https://r2.ropensci.org/989c3d144e1b9af7c3967bdf95a8b4755198da1ab0b71129a36f86780b0aae83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/37704178259"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-10-07T23:52:00.000Z",
      "commit": "4f9650952909422fd91cf802410d0f4f7dc24572",
      "fileid": "https://r2.ropensci.org/473eb038e2c145ea45511a30d7b56a466e43567c8699c18b7a68ec45fdfebab0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/37704178259"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-07T23:51:20.000Z",
      "commit": "4f9650952909422fd91cf802410d0f4f7dc24572",
      "fileid": "https://r2.ropensci.org/58c13f70334bee801529dd922f691decaa270d9c01be82eca5704037dc5779e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/37704178259"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-07T23:51:22.000Z",
      "commit": "4f9650952909422fd91cf802410d0f4f7dc24572",
      "fileid": "https://r2.ropensci.org/be0e1b81fed35b154a6ae7e5e18237ef4387bef19a6fe193a6311fdeb71390e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/37704178259"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-10-07T23:51:23.000Z",
      "commit": "4f9650952909422fd91cf802410d0f4f7dc24572",
      "fileid": "https://r2.ropensci.org/a2de9106de40f5c2ac2355290b1017d6315d4b8182cb93688cc852e33cd5d180",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/37704178259"
    }
  ]
}