{
  "_id": "6afc44f7ef1f2edb406843c6",
  "Package": "detectPVC",
  "Version": "0.3.4",
  "Date": "2026-07-13",
  "Title": "Detect Premature Venticular Complexes",
  "Description": "Detect premature ventricular complexes (PVCs) in data from\na Polar H10 chest-strap heart rate sensor.",
  "Author": "Karl W Broman [aut, cre]\n(<https://orcid.org/0000-0002-4914-6671>)",
  "Maintainer": "Karl W Broman <broman@wisc.edu>",
  "Authors@R": "c(person(\"Karl W\", \"Broman\", role=c(\"aut\", \"cre\"),\nemail=\"broman@wisc.edu\", comment=c(ORCID = \"0000-0002-4914-6671\")))",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/kbroman/detectPVC",
  "BugReports": "https://github.com/kbroman/detectPVC/issues",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "ByteCompile": "true",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown=TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://kbroman.r-universe.dev",
  "Date/Publication": "2026-07-13 11:06:47 UTC",
  "RemoteUrl": "https://github.com/kbroman/detectPVC",
  "RemoteRef": "HEAD",
  "RemoteSha": "9b0e258e7809cd8790baf75fed23d8c334147e05",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-17 11:45:31 UTC",
    "User": "root"
  },
  "_user": "kbroman",
  "_type": "src",
  "_file": "detectPVC_0.3.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/f454ccabbca27ba5d271dd618fd2d6a44fbb0e6c77674727258b2396a5bb0467",
  "_filesize": 761961,
  "_sha256": "f454ccabbca27ba5d271dd618fd2d6a44fbb0e6c77674727258b2396a5bb0467",
  "_expires": "2027-02-25T12:13:41.000Z",
  "_created": "2026-11-17T11:45:31.000Z",
  "_published": "2026-11-17T12:13:43.708Z",
  "_upstream": "https://github.com/kbroman/detectPVC",
  "_status": "success",
  "_maintainer": {
    "name": "Karl W Broman",
    "email": "broman@wisc.edu",
    "login": "kbroman",
    "mastodon": "@kbroman@rstats.me",
    "orcid": "0000-0002-4914-6671",
    "description": "Professor in Dept of Biostatistics & Medical Informatics at UW–Madison. Applied statistician working on statistical genomics.\n",
    "uuid": 53972
  },
  "_jobs": [
    {
      "job": 134017242802,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14325801660"
    },
    {
      "job": 134017242779,
      "time": 147,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14325043148"
    },
    {
      "job": 134017242788,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14326812839"
    },
    {
      "job": 134017242862,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14325322819"
    },
    {
      "job": 134015354095,
      "time": 219,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14326070669"
    },
    {
      "job": 134017242750,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14324952213"
    },
    {
      "job": 134017242858,
      "time": 91,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14325327321"
    },
    {
      "job": 134017242680,
      "time": 85,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14325866245"
    },
    {
      "job": 134017242843,
      "time": 84,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14325317270"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kbroman/actions/runs/44076334077",
  "_commit": {
    "id": "9b0e258e7809cd8790baf75fed23d8c334147e05",
    "author": "Karl Broman <kbroman@gmail.com>",
    "committer": "Karl Broman <kbroman@gmail.com>",
    "message": "cores=0 now results in all but one core\n",
    "time": 1783940807
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "broman",
      "version": ">= 0.84",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "signal",
      "role": "Imports"
    },
    {
      "package": "R.utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "kbroman",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-19",
      "n": 11
    },
    {
      "week": "2026-20",
      "n": 3
    },
    {
      "week": "2026-23",
      "n": 8
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 2
    },
    {
      "week": "2026-29",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.2",
      "date": "2026-05-09"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "kbroman",
      "count": 174,
      "uuid": 53972
    }
  ],
  "_userbio": {
    "uuid": 53972,
    "type": "user",
    "name": "Karl Broman",
    "followers": 1485,
    "description": "Professor in Dept of Biostatistics & Medical Informatics at UW–Madison. Applied statistician working on statistical genomics.\r\n"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/detectPVC"
  },
  "_devurl": "https://github.com/kbroman/detectpvc",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/detectPVC.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "adjust_peaks",
    "calc_peak_stats",
    "convert_timestamp",
    "detect_peaks",
    "find_bad_segments",
    "find_closest_time",
    "find_pvc_pattern",
    "get_time_interval",
    "most_common_date",
    "plot_ecg",
    "plot_ecg_mult",
    "plot_states",
    "read_multcsv",
    "running_datacount",
    "running_pvc_stats",
    "summary_states",
    "totlength",
    "zero_segments"
  ],
  "_datasets": [
    {
      "name": "polar_h10",
      "title": "Example Polar H10 data",
      "object": "polar_h10",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "ecg",
        "hr",
        "rr"
      ],
      "rows": 78096,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adjust_peaks",
      "title": "Adjust R peaks to hit local max",
      "topics": [
        "adjust_peaks"
      ]
    },
    {
      "page": "calc_peak_stats",
      "title": "Calculate summary statistics for each R peak",
      "topics": [
        "calc_peak_stats"
      ]
    },
    {
      "page": "convert_timestamp",
      "title": "Convert date/time stamp for Polar H10",
      "topics": [
        "convert_timestamp"
      ]
    },
    {
      "page": "detect_peaks",
      "title": "Detect R peaks in a raw ECG signal, using a sliding window",
      "topics": [
        "detect_peaks"
      ]
    },
    {
      "page": "find_bad_segments",
      "title": "Find bad segments in ECG signal",
      "topics": [
        "find_bad_segments"
      ]
    },
    {
      "page": "find_closest_time",
      "title": "Find closest time",
      "topics": [
        "find_closest_time"
      ]
    },
    {
      "page": "find_pvc_pattern",
      "title": "Find PVC patterns",
      "topics": [
        "find_pvc_pattern"
      ]
    },
    {
      "page": "get_time_interval",
      "title": "Get indexes for a interval in time",
      "topics": [
        "get_time_interval"
      ]
    },
    {
      "page": "most_common_date",
      "title": "Most common date in a vector of date/times",
      "topics": [
        "most_common_date"
      ]
    },
    {
      "page": "plot_ecg",
      "title": "Plot ECG signal",
      "topics": [
        "plot_ecg"
      ]
    },
    {
      "page": "plot_ecg_mult",
      "title": "Plot ECG signal across multiple panels",
      "topics": [
        "plot_ecg_mult"
      ]
    },
    {
      "page": "plot_states",
      "title": "Plot PVC states",
      "topics": [
        "plot.states",
        "plot_states"
      ]
    },
    {
      "page": "plot.pvc_stats",
      "title": "Plot running PVC statistics",
      "topics": [
        "plot.pvc_stats"
      ]
    },
    {
      "page": "polar_h10",
      "title": "Example Polar H10 data",
      "topics": [
        "polar_h10"
      ]
    },
    {
      "page": "print.summary.states",
      "title": "Print summary of states object",
      "topics": [
        "print.summary.states"
      ]
    },
    {
      "page": "read_multcsv",
      "title": "Read multiple related CSV files",
      "topics": [
        "read_multcsv"
      ]
    },
    {
      "page": "running_datacount",
      "title": "Get running count of amount of data",
      "topics": [
        "running_datacount"
      ]
    },
    {
      "page": "running_pvc_stats",
      "title": "Calculate running PVC burden and HR",
      "topics": [
        "running_pvc_stats"
      ]
    },
    {
      "page": "summary_states",
      "title": "Summarize output of plot_states",
      "topics": [
        "summary.states",
        "summary_states"
      ]
    },
    {
      "page": "totlength",
      "title": "Total length of a set of time intervals",
      "topics": [
        "totlength"
      ]
    },
    {
      "page": "zero_segments",
      "title": "Zero out segments of a ECG signal",
      "topics": [
        "zero_segments"
      ]
    }
  ],
  "_pkglogo": "https://github.com/kbroman/detectPVC/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/kbroman/detectPVC/raw/HEAD/README.md",
  "_rundeps": [
    "broman",
    "cli",
    "cpp11",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "signal",
    "stringi",
    "stringr",
    "timechange",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "detectPVC.Rmd",
      "filename": "detectPVC.html",
      "title": "detectPVC User Guide",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction ",
        "Installation",
        "Usage"
      ],
      "created": "2024-05-01 18:33:09",
      "modified": "2026-07-06 11:36:38",
      "commits": 16
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "detectpvc",
  "_universes": [
    "kbroman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-11-17T11:47:48.000Z",
      "distro": "resolute",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/abb7c76f9dd2cf1c2a47b1bb91a8b29c3b49445f2abad214e7c0fec789b12c6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/44076334077"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-11-17T11:47:51.000Z",
      "distro": "resolute",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/0a217de02c42d889a603f4c8365504e5b5ec715737bd4a5f94299b841bae66cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/44076334077"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-11-17T12:12:48.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/9724975e681daee1e4f1148a3aaa664af83a526d3d238a3ebf73f692b625f3ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/44076334077"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-11-17T11:50:34.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/66207700d7bedba81767de03001d6c2189193a2ec74944d1865ba5c2efa25986",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/44076334077"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.4",
      "date": "2026-11-17T11:47:49.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/e50c9d7500da7352f6399595b19818ca0f5c4a4c3612de60a983e4e0eb590729",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/44076334077"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-11-17T11:46:42.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/29ed49f531d4880d96c3a27848110fc422222f3716bf91cf6a72e7d4de2b293a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/44076334077"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-11-17T11:46:43.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/a238ab95c15e9d5e2728ada7f806a0c99a73548ce7a7d95811144732216f0fb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/44076334077"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-11-17T11:46:43.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/6e88d575df92d57555507c0e2d3c5758971ced4458a781a7c3e2ae5bef3dbe25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/44076334077"
    }
  ]
}