{
  "_id": "6a1f196bb401979e7341ef71",
  "Package": "parttime",
  "Type": "Package",
  "Title": "Partial Datetime Handling",
  "Version": "0.1.2",
  "Authors@R": "c(\nperson(\n\"Doug\",\"Kelkhoff\",\nemail = \"doug.kelkhoff@gmail.com\",\nrole = c(\"aut\", \"cre\")\n),\nperson(\n\"Bill\", \"Denney\",\nemail = \"wdenney@humanpredictions.com\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0002-5759-428X\")\n)\n)",
  "Description": "Datetimes and timestamps are invariably an imprecise\nnotation, with any partial representation implying some amount\nof uncertainty. To handle this, 'parttime' provides classes for\nembedding partial missingness as a central part of its datetime\nclasses. This central feature allows for more ergonomic use of\ndatetimes for challenging datetime computation, including\ncalculations of overlapping date ranges, imputations, and more\nthoughtful handling of ambiguity that arises from uncertain\ntime zones. This package was developed first and foremost with\npharmaceutical applications in mind, but aims to be agnostic to\napplication to accommodate general use cases just as\nconveniently.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "BugReports": "https://github.com/dgkf/parttime/issues",
  "URL": "https://dgkf.github.io/parttime/, https://github.com/dgkf/parttime",
  "Roxygen": "list(markdown = TRUE)",
  "Repository": "https://dgkf.r-universe.dev",
  "Date/Publication": "2024-01-24 16:51:04 UTC",
  "RemoteUrl": "https://github.com/dgkf/parttime",
  "RemoteRef": "HEAD",
  "RemoteSha": "b2fc9e364d636703587d23c74346986ca1505096",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 05:22:27 UTC",
    "User": "root"
  },
  "Author": "Doug Kelkhoff [aut, cre],\nBill Denney [ctb] (ORCID: <https://orcid.org/0000-0002-5759-428X>)",
  "Maintainer": "Doug Kelkhoff <doug.kelkhoff@gmail.com>",
  "MD5sum": "1abf803f39d50902004280bdfac8d820",
  "_user": "dgkf",
  "_type": "src",
  "_file": "parttime_0.1.2.tar.gz",
  "_fileid": "9502c12578c73476ebef88a353245af658b867e20056c8b13e33034f737cb267",
  "_filesize": 252778,
  "_sha256": "9502c12578c73476ebef88a353245af658b867e20056c8b13e33034f737cb267",
  "_created": "2026-05-17T05:22:27.000Z",
  "_published": "2026-06-02T17:56:59.572Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79137373254,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7039590962"
    },
    {
      "job": 79137373786,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039591305"
    },
    {
      "job": 79137374235,
      "time": 90,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7039586893"
    },
    {
      "job": 79137372992,
      "time": 78,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039585510"
    },
    {
      "job": 79137373049,
      "time": 164,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039576448"
    },
    {
      "job": 79137372612,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7365751242"
    },
    {
      "job": 79137373462,
      "time": 83,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7039586029"
    },
    {
      "job": 79137373666,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7039586809"
    },
    {
      "job": 79137373261,
      "time": 83,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7039586214"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dgkf/actions/runs/25982222782",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dgkf/parttime",
  "_commit": {
    "id": "b2fc9e364d636703587d23c74346986ca1505096",
    "author": "Doug Kelkhoff <18220321+dgkf@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Resolve CRAN NOTES (#54)\n\n* fixing S3 usage docs\r\n\r\n* fixing uncaught latex syntax issue in docs\r\n\r\n* bump version; update news",
    "time": 1706115064
  },
  "_maintainer": {
    "name": "Doug Kelkhoff",
    "email": "doug.kelkhoff@gmail.com",
    "login": "dgkf",
    "mastodon": "@dgkf@fosstodon.org",
    "description": "",
    "uuid": 18220321
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "pillar",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "dgkf",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "hacktoberfest"
  ],
  "_stars": 18,
  "_contributors": [
    {
      "user": "dgkf",
      "count": 61,
      "uuid": 18220321
    },
    {
      "user": "billdenney",
      "count": 3,
      "uuid": 10359931
    }
  ],
  "_userbio": {
    "uuid": 18220321,
    "type": "user",
    "name": "Doug Kelkhoff"
  },
  "_downloads": {
    "count": 246,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/parttime"
  },
  "_devurl": "https://github.com/dgkf/parttime",
  "_pkgdown": "https://dgkf.github.io/parttime/",
  "_searchresults": 3,
  "_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/parttime.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dgkf/parttime",
  "_realowner": "dgkf",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-11-04"
    },
    {
      "version": "0.1.1",
      "date": "2023-03-08"
    },
    {
      "version": "0.1.2",
      "date": "2024-01-25"
    }
  ],
  "_exports": [
    "as.interval",
    "as.parttime",
    "as.timespan",
    "day",
    "day<-",
    "day<-.partial_time",
    "definitely",
    "end",
    "has_partial",
    "has_partial_date",
    "has_partial_time",
    "hour",
    "hour<-",
    "hour<-.partial_time",
    "impute_date",
    "impute_date_max",
    "impute_date_mid",
    "impute_date_min",
    "impute_time",
    "impute_time_max",
    "impute_time_mid",
    "impute_time_min",
    "includes",
    "is_partial_time",
    "is_parttime",
    "is_timespan",
    "is.partial_time",
    "is.parttime",
    "is.timespan",
    "mday",
    "mday<-",
    "minute",
    "minute<-",
    "minute<-.partial_time",
    "month",
    "month<-",
    "month<-.partial_time",
    "parse_cdisc_datetime",
    "parse_iso8601_datetime",
    "parse_to_parttime_matrix",
    "parttime",
    "pmax",
    "pmin",
    "possibly",
    "second",
    "second<-",
    "second<-.partial_time",
    "start",
    "timespan",
    "to_gmt",
    "tz",
    "tz<-",
    "year",
    "year<-",
    "year<-.partial_time"
  ],
  "_help": [
    {
      "page": "plus-partial_time-Period-method",
      "title": "Addition of a lubridate Period to a parttime partial_time",
      "topics": [
        "+,partial_time,Period-method"
      ]
    },
    {
      "page": "as.interval-partial_time-method",
      "title": "Wrapper for lubridate as.interval",
      "topics": [
        "as.interval,partial_time-method"
      ]
    },
    {
      "page": "as.interval-timespan-method",
      "title": "Wrapper for lubridate as.interval",
      "topics": [
        "as.interval,timespan-method"
      ]
    },
    {
      "page": "as.parttime",
      "title": "Coerce an object to a parttime object",
      "topics": [
        "as.parttime"
      ]
    },
    {
      "page": "as.timespan",
      "title": "Cast an object to a timespan",
      "topics": [
        "as.timespan"
      ]
    },
    {
      "page": "c.partial_time",
      "title": "Concatenate parttimes",
      "topics": [
        "c.partial_time"
      ]
    },
    {
      "page": "definitely",
      "title": "\"Definitely\" generic for resolving uncertainty",
      "concept": [
        "uncert-resolvers"
      ],
      "topics": [
        "definitely"
      ]
    },
    {
      "page": "definitely.partial_time_logical",
      "title": "Determine whether a partial_time logical matrix is definitely TRUE",
      "topics": [
        "definitely.partial_time_logical"
      ]
    },
    {
      "page": "dim.partial_time",
      "title": "parttime vector dimensions",
      "topics": [
        "dim.partial_time"
      ]
    },
    {
      "page": "end",
      "title": "end S3 generic",
      "topics": [
        "end"
      ]
    },
    {
      "page": "format.partial_time",
      "title": "Format a parttime object",
      "topics": [
        "format.partial_time"
      ]
    },
    {
      "page": "format.pillar_shaft_partial_time",
      "title": "parttime pillar formatting",
      "topics": [
        "format.pillar_shaft_partial_time"
      ]
    },
    {
      "page": "has_partial",
      "title": "Test whether a partial_time object is incomplete",
      "topics": [
        "has_partial"
      ]
    },
    {
      "page": "has_partial_date",
      "title": "Test whether a partial_time object's date components are incomplete",
      "topics": [
        "has_partial_date"
      ]
    },
    {
      "page": "has_partial_time",
      "title": "Test whether a partial_time object's time components are incomplete",
      "topics": [
        "has_partial_time"
      ]
    },
    {
      "page": "impute_time",
      "title": "Impute a partial time object with a timestamp or specific fields",
      "topics": [
        "impute_date",
        "impute_date_max",
        "impute_date_mid",
        "impute_date_min",
        "impute_time",
        "impute_time.default",
        "impute_time.partial_time",
        "impute_time.POSIXt",
        "impute_time_max",
        "impute_time_mid",
        "impute_time_min"
      ]
    },
    {
      "page": "includes",
      "title": "Determine whether one object includes another",
      "topics": [
        "includes"
      ]
    },
    {
      "page": "includes.partial_time",
      "title": "Determine whether a partial time contains an object",
      "topics": [
        "includes.partial_time"
      ]
    },
    {
      "page": "includes.partial_time.partial_time",
      "title": "Test for whether a timestamp could be included within parttime uncertainty",
      "topics": [
        "includes.partial_time.partial_time"
      ]
    },
    {
      "page": "is_parttime",
      "title": "Shorthand for checking partial time inheritance",
      "concept": [
        "is_parttime"
      ],
      "topics": [
        "is.partial_time",
        "is.parttime",
        "is_partial_time",
        "is_parttime"
      ]
    },
    {
      "page": "is_timespan",
      "title": "Shorthand for checking timespan inheritance",
      "topics": [
        "is_timespan"
      ]
    },
    {
      "page": "is.na.partial_time",
      "title": "Check if elements of a partial time vector is NA",
      "topics": [
        "is.na.partial_time"
      ]
    },
    {
      "page": "is.na.timespan",
      "title": "Check if elements of a partial time vector is NA",
      "topics": [
        "is.na.timespan"
      ]
    },
    {
      "page": "is.timespan",
      "title": "Shorthand for checking timespan inheritance",
      "topics": [
        "is.timespan"
      ]
    },
    {
      "page": "max.partial_time",
      "title": "Get the maximum of a parttime vector",
      "topics": [
        "max.partial_time"
      ]
    },
    {
      "page": "min.partial_time",
      "title": "Get the minimum of aparttime vector",
      "topics": [
        "min.partial_time"
      ]
    },
    {
      "page": "normalize_month_day",
      "title": "Normalize days in month back to day limit for a given month",
      "topics": [
        "normalize_month_day"
      ]
    },
    {
      "page": "obj_print_data.partial_time",
      "title": "parttime data output",
      "topics": [
        "obj_print_data.partial_time"
      ]
    },
    {
      "page": "obj_print_footer.partial_time",
      "title": "parttime footer",
      "topics": [
        "obj_print_footer.partial_time"
      ]
    },
    {
      "page": "obj_print_header.partial_time",
      "title": "parttime output header",
      "topics": [
        "obj_print_header.partial_time"
      ]
    },
    {
      "page": "Ops.partial_time",
      "title": "Handler for Ops generics for partial_time objects",
      "topics": [
        "Ops.partial_time"
      ]
    },
    {
      "page": "Ops.timespan",
      "title": "Handler for Ops generics for timespan objects",
      "topics": [
        "Ops.timespan"
      ]
    },
    {
      "page": "parttime",
      "title": "Create a parttime object",
      "topics": [
        "parttime"
      ]
    },
    {
      "page": "parttime_access_and_assign",
      "title": "Datetime component access and assignment functions",
      "topics": [
        "day",
        "day<-",
        "day<-,partial_time-method",
        "day<-.partial_time",
        "hour",
        "hour.partial_time",
        "hour<-",
        "hour<-,partial_time-method",
        "hour<-.partial_time",
        "mday",
        "mday.partial_time",
        "mday<-",
        "minute",
        "minute.partial_time",
        "minute<-",
        "minute<-,partial_time-method",
        "minute<-.partial_time",
        "month",
        "month.partial_time",
        "month<-",
        "month<-,partial_time-method",
        "month<-.partial_time",
        "parttime_access_and_assign",
        "second",
        "second.partial_time",
        "second<-",
        "second<-,partial_time-method",
        "second<-.partial_time",
        "tz",
        "tz.partial_time",
        "tz<-",
        "tz<-.partial_time",
        "year",
        "year.partial_time",
        "year<-",
        "year<-,partial_time-method",
        "year<-.partial_time"
      ]
    },
    {
      "page": "parttime_extract",
      "title": "Indexing operators for partial_time objects",
      "topics": [
        "parttime_extract",
        "[.partial_time",
        "[<-.partial_time",
        "[[.partial_time",
        "[[<-.partial_time"
      ]
    },
    {
      "page": "pillar_shaft.partial_time",
      "title": "parttime as pillar shaft",
      "topics": [
        "pillar_shaft.partial_time"
      ]
    },
    {
      "page": "pmax",
      "title": "Maxima and Minima",
      "topics": [
        "pmax"
      ]
    },
    {
      "page": "pmax.partial_time",
      "title": "Get the elementwise maximum of parttime vectors",
      "topics": [
        "pmax.partial_time"
      ]
    },
    {
      "page": "pmin",
      "title": "Maxima and Minima",
      "topics": [
        "pmin"
      ]
    },
    {
      "page": "pmin.partial_time",
      "title": "Get the elementwise minimum of parttime vectors",
      "topics": [
        "pmin.partial_time"
      ]
    },
    {
      "page": "possibly",
      "title": "\"Possibly\" generic for resolving uncertainty",
      "concept": [
        "uncert-resolvers"
      ],
      "topics": [
        "possibly"
      ]
    },
    {
      "page": "possibly.partial_time_logical",
      "title": "Determine whether a partial_time logical matrix is possibly TRUE",
      "topics": [
        "possibly.partial_time_logical"
      ]
    },
    {
      "page": "reflow_fields",
      "title": "Reflow potentially invalid time components to adjacent fields",
      "topics": [
        "reflow_fields"
      ]
    },
    {
      "page": "start",
      "title": "start S3 generic",
      "topics": [
        "start"
      ]
    },
    {
      "page": "timespan",
      "title": "Create a partial timespan object",
      "topics": [
        "timespan"
      ]
    },
    {
      "page": "to_gmt",
      "title": "Generic for coercing timestamps to GMT timezone",
      "topics": [
        "to_gmt"
      ]
    },
    {
      "page": "trim",
      "title": "Shorten a timespan",
      "topics": [
        "trim"
      ]
    },
    {
      "page": "type_sum.partial_time",
      "title": "parttime type name",
      "topics": [
        "type_sum.partial_time"
      ]
    },
    {
      "page": "vec_cast.logical.partial_time",
      "title": "Cast partial time to logical",
      "topics": [
        "vec_cast.logical.partial_time"
      ]
    },
    {
      "page": "vec_cast.partial_time",
      "title": "Cast to partial time object",
      "topics": [
        "vec_cast.partial_time"
      ]
    },
    {
      "page": "vec_cast.partial_time.character",
      "title": "Coerce character date representations to parttime objects",
      "topics": [
        "vec_cast.partial_time.character"
      ]
    },
    {
      "page": "vec_cast.partial_time.default",
      "title": "Default handler for casting to a partial time",
      "topics": [
        "vec_cast.partial_time.default"
      ]
    },
    {
      "page": "vec_cast.partial_time.matrix",
      "title": "Cast a matrix to a partial time",
      "topics": [
        "vec_cast.partial_time.matrix"
      ]
    },
    {
      "page": "vec_cast.timespan",
      "title": "Cast to timespan object",
      "topics": [
        "vec_cast.timespan"
      ]
    },
    {
      "page": "vec_cast.timespan.character",
      "title": "Cast partial time to timespan, representing uncertainty as a range",
      "topics": [
        "vec_cast.timespan.character"
      ]
    },
    {
      "page": "vec_cast.timespan.default",
      "title": "Default handler for casting to a timespan",
      "topics": [
        "vec_cast.timespan.default"
      ]
    },
    {
      "page": "vec_cast.timespan.double",
      "title": "Cast an array to a timespan",
      "topics": [
        "vec_cast.timespan.double"
      ]
    },
    {
      "page": "vec_cast.timespan.numeric",
      "title": "Cast an array to a timespan",
      "topics": [
        "vec_cast.timespan.numeric"
      ]
    },
    {
      "page": "vec_cast.timespan.partial_time",
      "title": "Cast partial time to timespan, representing uncertainty as a range",
      "topics": [
        "vec_cast.timespan.partial_time"
      ]
    },
    {
      "page": "vec_ptype_abbr.partial_time",
      "title": "Abbreviated partial time class name",
      "topics": [
        "vec_ptype_abbr.partial_time"
      ]
    },
    {
      "page": "vec_ptype_full.partial_time",
      "title": "Full parttime class name",
      "topics": [
        "vec_ptype_full.partial_time"
      ]
    }
  ],
  "_readme": "https://github.com/dgkf/parttime/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "crayon",
    "generics",
    "glue",
    "lifecycle",
    "lubridate",
    "pillar",
    "rlang",
    "timechange",
    "utf8",
    "vctrs"
  ],
  "_score": 3.9542425094393248,
  "_indexed": true,
  "_nocasepkg": "parttime",
  "_universes": [
    "dgkf"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-17T05:24:30.000Z",
      "distro": "noble",
      "commit": "b2fc9e364d636703587d23c74346986ca1505096",
      "fileid": "c6fe209b368f2547569d47df166d73af33caefc991477b60a0eb5d64a87e6def",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/25982222782"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-17T05:24:32.000Z",
      "distro": "noble",
      "commit": "b2fc9e364d636703587d23c74346986ca1505096",
      "fileid": "95787bd18ec0ff3ba78aa67b0fc8f655f20279f4b03a86a40cdb7239d8d8e908",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/25982222782"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-17T05:24:00.000Z",
      "commit": "b2fc9e364d636703587d23c74346986ca1505096",
      "fileid": "8a1f5452d6f3acfa1c2c2db59e2051fa1f5caafe17a50c7c884f4683302e47f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/25982222782"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-17T05:23:48.000Z",
      "commit": "b2fc9e364d636703587d23c74346986ca1505096",
      "fileid": "2d385d868c212c0eb22c83b6475bf050e447170129b5fc3a8249fb30fe57635c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/25982222782"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-17T05:23:37.000Z",
      "commit": "b2fc9e364d636703587d23c74346986ca1505096",
      "fileid": "b6b9d152b7290b4d0edac4c751e2d2527af2056a2f29b2aaf17700bf49e3fc31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/25982222782"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-17T05:23:43.000Z",
      "commit": "b2fc9e364d636703587d23c74346986ca1505096",
      "fileid": "23c68d415d5d609f046e8e33230b07cfe5627c762bf594cc17f3819601926301",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/25982222782"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-17T05:23:35.000Z",
      "commit": "b2fc9e364d636703587d23c74346986ca1505096",
      "fileid": "f656d33ab9db0aa0efac4d7840547fc0ead8417a5525b79548631a19647f8277",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/25982222782"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-02T17:56:40.000Z",
      "commit": "b2fc9e364d636703587d23c74346986ca1505096",
      "fileid": "10d634c7e596b1f0344c302923ae3d23450f61410f337558f64b0107c2c49e15",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dgkf/actions/runs/25982222782"
    }
  ]
}