{
  "_id": "6ad4846cdc7ca4d810c6d158",
  "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-10-18 08:30:32 UTC",
    "User": "root"
  },
  "_user": "kbroman",
  "_type": "src",
  "_file": "detectPVC_0.3.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/f619d65fb5e47bc2a7e5bf03a492ebcb2bf9ea7416802c0a51ae74498b6b3ffc",
  "_filesize": 761985,
  "_sha256": "f619d65fb5e47bc2a7e5bf03a492ebcb2bf9ea7416802c0a51ae74498b6b3ffc",
  "_expires": "2027-01-26T08:33:47.000Z",
  "_created": "2026-10-18T08:30:32.000Z",
  "_published": "2026-10-18T08:33:48.873Z",
  "_buildurl": "https://github.com/r-universe/kbroman/actions/runs/39111474727",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117629127662,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12130179801"
    },
    {
      "job": 117629127667,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12130876937"
    },
    {
      "job": 117629127670,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12130478849"
    },
    {
      "job": 117629127648,
      "time": 124,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12130633209"
    },
    {
      "job": 117628446130,
      "time": 206,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12130054989"
    },
    {
      "job": 117629127684,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12130890933"
    },
    {
      "job": 117629127671,
      "time": 86,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12130058304"
    },
    {
      "job": 117629127674,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12130344364"
    },
    {
      "job": 117629127647,
      "time": 93,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12130517386"
    }
  ],
  "_upstream": "https://github.com/kbroman/detectPVC",
  "_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
  },
  "_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
  },
  "_distro": "resolute",
  "_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": 1484,
    "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",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_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-10-18T08:32:56.000Z",
      "distro": "resolute",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/e1ec64e42f00af014abee995ac095671e440c6839de194390228e01b6eb39b8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/39111474727"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.4",
      "date": "2026-10-18T08:32:42.000Z",
      "distro": "resolute",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/5c8455fcf51f2a494848c1a7a25cd625f2d395bd6277d28d3c482eaf01aa7fdf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/39111474727"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-10-18T08:32:11.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/bf5035856b86efa8256a7801e9cf0f6b78435e948d4e17696cd7d0eca75a46cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/39111474727"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.4",
      "date": "2026-10-18T08:32:29.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/964ed3c57b75deb73913af30556024b60fd840c3d1f7b795309cea1610b6b653",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/39111474727"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.4",
      "date": "2026-10-18T08:32:32.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/04d4ab8e95b51796c0c244a33f87d82243ca7f8dbdd548352d65ca9dcfb8fd83",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/39111474727"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-10-18T08:31:40.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/cd96dcd766763a4b2e45b863cf385c1305eb797f48bfbe3918b42cc7f170a5ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/39111474727"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-10-18T08:31:39.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/9423a02c125e023deb57f3d62fde0ab1216db4f6f829a19b834c4ca869be4618",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/39111474727"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.4",
      "date": "2026-10-18T08:31:45.000Z",
      "commit": "9b0e258e7809cd8790baf75fed23d8c334147e05",
      "fileid": "https://r2.ropensci.org/637d15304d581c1889a399e824b7d15866cbcb0c5a5b40fad4c0da78e21897ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/39111474727"
    }
  ]
}