{
  "_id": "6a4a02999ce196b5e5a91277",
  "Package": "timeperiodsR",
  "Type": "Package",
  "Title": "Simple Definition Of Time Intervals",
  "Version": "0.7.6",
  "License": "GPL-2",
  "Authors@R": "c(person(given  = \"Alexey\",\nfamily = \"Seleznev\",\nrole   = c(\"aut\", \"cre\"),\nemail  = \"selesnow@gmail.com\"))",
  "Author": "Alexey Seleznev [aut, cre]",
  "Maintainer": "Alexey Seleznev <selesnow@gmail.com>",
  "Description": "Simple definition of time intervals for the current,\nprevious, and next week, month, quarter and year.",
  "BugReports": "https://github.com/selesnow/timeperiodsR/issues",
  "URL": "https://selesnow.github.io/timeperiodsR/,\nhttps://t.me/R4marketing,\nhttps://www.youtube.com/playlist?list=PLD2LDq8edf4qed2KVKfXmKdh0OQcdj9gw",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Language": "en, ru",
  "RoxygenNote": "7.3.2",
  "Repository": "https://selesnow.r-universe.dev",
  "Date/Publication": "2026-05-12 08:45:42 UTC",
  "RemoteUrl": "https://github.com/selesnow/timeperiodsr",
  "RemoteRef": "HEAD",
  "RemoteSha": "eb2ae0d4732b56a981ea3ecac2645e88ec95307d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-11 07:28:46 UTC",
    "User": "root"
  },
  "_user": "selesnow",
  "_type": "src",
  "_file": "timeperiodsR_0.7.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/22d3379d79b3ff8ecbe4455b638cad5d4b99261b6080c2efbc15ae4012f7d35b",
  "_filesize": 618748,
  "_sha256": "22d3379d79b3ff8ecbe4455b638cad5d4b99261b6080c2efbc15ae4012f7d35b",
  "_expires": "2026-10-13T07:07:04.000Z",
  "_created": "2026-06-11T07:28:46.000Z",
  "_published": "2026-07-05T07:07:05.925Z",
  "_jobs": [
    {
      "job": 85201657382,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7557567013"
    },
    {
      "job": 85201649386,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7557562765"
    },
    {
      "job": 85201649397,
      "time": 85,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7557553609"
    },
    {
      "job": 85201649388,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7557564083"
    },
    {
      "job": 85201655921,
      "time": 198,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7557526827"
    },
    {
      "job": 85201657372,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7557559113"
    },
    {
      "job": 85201649403,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7557552964"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/selesnow/actions/runs/27330912213",
  "_status": "success",
  "_upstream": "https://github.com/selesnow/timeperiodsr",
  "_commit": {
    "id": "eb2ae0d4732b56a981ea3ecac2645e88ec95307d",
    "author": "selesnow <selesnow@gmail.com>",
    "committer": "selesnow <selesnow@gmail.com>",
    "message": "Исправил URL обращения к API\n",
    "time": 1778575542
  },
  "_maintainer": {
    "name": "Alexey Seleznev",
    "email": "selesnow@gmail.com",
    "login": "selesnow",
    "linkedin": "in/selesnow",
    "description": "Head of analytics dept. at Netpeak\n\nАвтор курса \"Язык R для интернет - маркетинга\".\n\nРазработчик пакетов rgoogleads, rfacebookstat, timeperiodsR и др.",
    "uuid": 17854596
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "httr",
      "role": "Suggests"
    }
  ],
  "_owner": "selesnow",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-16",
      "n": 3
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "selesnow",
      "count": 80,
      "uuid": 17854596
    }
  ],
  "_userbio": {
    "uuid": 17854596,
    "type": "user",
    "name": "Alexey Seleznev",
    "description": "Head of analytics dept. at Netpeak\r\n\r\nАвтор курса \"Язык R для интернет - маркетинга\".\r\n\r\nРазработчик пакетов rgoogleads, rfacebookstat, timeperiodsR и др."
  },
  "_downloads": {
    "count": 685,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/timeperiodsR"
  },
  "_devurl": "https://github.com/selesnow/timeperiodsr",
  "_searchresults": 15,
  "_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/readme.html",
    "extra/readme.md",
    "extra/timeperiodsR.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/selesnow/timeperiodsr",
  "_realowner": "selesnow",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-09-26"
    },
    {
      "version": "0.2.0",
      "date": "2019-11-14"
    },
    {
      "version": "0.3.0",
      "date": "2019-12-09"
    },
    {
      "version": "0.6.1",
      "date": "2020-01-09"
    },
    {
      "version": "0.6.2",
      "date": "2020-04-03"
    },
    {
      "version": "0.7.1",
      "date": "2023-04-20"
    },
    {
      "version": "0.7.3",
      "date": "2024-01-23"
    },
    {
      "version": "0.7.5",
      "date": "2026-04-16"
    },
    {
      "version": "0.7.7",
      "date": "2026-05-12"
    }
  ],
  "_exports": [
    "%.in%",
    "%left_in%",
    "%left_out%",
    "%right_in%",
    "%right_out%",
    "as_timeperiod",
    "check_dayoffs",
    "custom_period",
    "first_weekend",
    "first_workday",
    "last_n_days",
    "last_n_months",
    "last_n_quarters",
    "last_n_weeks",
    "last_n_years",
    "last_weekend",
    "last_workday",
    "next_month",
    "next_n_days",
    "next_n_months",
    "next_n_quarters",
    "next_n_weeks",
    "next_n_years",
    "next_quarter",
    "next_week",
    "next_year",
    "previous_month",
    "previous_quarter",
    "previous_week",
    "previous_year",
    "this_month",
    "this_quarter",
    "this_week",
    "this_year",
    "weekends",
    "weekends_length",
    "workdays",
    "workdays_length"
  ],
  "_help": [
    {
      "page": "timeperiodsR-package",
      "title": "Simple Definition Of Time Intervals",
      "topics": [
        "timeperiodsR-package",
        "timeperiodsR"
      ]
    },
    {
      "page": "as_timeperiod",
      "title": "Convert date or string vector to timeperiod.",
      "topics": [
        "as_timeperiod"
      ]
    },
    {
      "page": "check_dayoffs",
      "title": "Check if the day is an official day off",
      "topics": [
        "check_dayoffs"
      ]
    },
    {
      "page": "custom_period",
      "title": "Custopm period",
      "topics": [
        "custom_period"
      ]
    },
    {
      "page": "first_weekend",
      "title": "Get first weekend day in period.",
      "topics": [
        "first_weekend"
      ]
    },
    {
      "page": "first_workday",
      "title": "Get first workday day in period.",
      "topics": [
        "first_workday"
      ]
    },
    {
      "page": "last_n_days",
      "title": "Start and end of last n days",
      "topics": [
        "last_n_days"
      ]
    },
    {
      "page": "last_n_months",
      "title": "Start and end of last n months",
      "topics": [
        "last_n_months"
      ]
    },
    {
      "page": "last_n_quarters",
      "title": "Start and end of last n quarters",
      "topics": [
        "last_n_quarters"
      ]
    },
    {
      "page": "last_n_weeks",
      "title": "Start and end of last n weeks",
      "topics": [
        "last_n_weeks"
      ]
    },
    {
      "page": "last_n_years",
      "title": "Start and end of last n years",
      "topics": [
        "last_n_years"
      ]
    },
    {
      "page": "last_weekend",
      "title": "Get last weekend day in period.",
      "topics": [
        "last_weekend"
      ]
    },
    {
      "page": "last_workday",
      "title": "Get last workday day in period.",
      "topics": [
        "last_workday"
      ]
    },
    {
      "page": "next_month",
      "title": "Start and end of next month",
      "topics": [
        "next_month"
      ]
    },
    {
      "page": "next_n_days",
      "title": "Start and end of next n days",
      "topics": [
        "next_n_days"
      ]
    },
    {
      "page": "next_n_months",
      "title": "Start and end of next n months",
      "topics": [
        "next_n_months"
      ]
    },
    {
      "page": "next_n_quarters",
      "title": "Start and end of next n quarters",
      "topics": [
        "next_n_quarters"
      ]
    },
    {
      "page": "next_n_weeks",
      "title": "Start and end of next n weeks",
      "topics": [
        "next_n_weeks"
      ]
    },
    {
      "page": "next_n_years",
      "title": "Start and end of next n weeks",
      "topics": [
        "next_n_years"
      ]
    },
    {
      "page": "next_quarter",
      "title": "Start and end of next quarter",
      "topics": [
        "next_quarter"
      ]
    },
    {
      "page": "next_week",
      "title": "Start and end of next week",
      "topics": [
        "next_week"
      ]
    },
    {
      "page": "next_year",
      "title": "Start and end of next year",
      "topics": [
        "next_year"
      ]
    },
    {
      "page": "previous_month",
      "title": "Start and end of previous month",
      "topics": [
        "previous_month"
      ]
    },
    {
      "page": "previous_quarter",
      "title": "Start and end of previous quarter",
      "topics": [
        "previous_quarter"
      ]
    },
    {
      "page": "previous_week",
      "title": "Start and end of previous week",
      "topics": [
        "previous_week"
      ]
    },
    {
      "page": "previous_year",
      "title": "Start and end of previous year",
      "topics": [
        "previous_year"
      ]
    },
    {
      "page": "this_month",
      "title": "Start and end of month",
      "topics": [
        "this_month"
      ]
    },
    {
      "page": "this_quarter",
      "title": "Start and end of quarter",
      "topics": [
        "this_quarter"
      ]
    },
    {
      "page": "this_week",
      "title": "Start and end of week",
      "topics": [
        "this_week"
      ]
    },
    {
      "page": "this_year",
      "title": "Start and end of year",
      "topics": [
        "this_year"
      ]
    },
    {
      "page": "operators",
      "title": "Operators of tpr objects.",
      "topics": [
        "%.in%",
        "%left_in%",
        "%left_out%",
        "%right_in%",
        "%right_out%"
      ]
    },
    {
      "page": "weekends",
      "title": "Get vector with weekends.",
      "topics": [
        "weekends"
      ]
    },
    {
      "page": "weekends_length",
      "title": "Number of weekdends days in the period.",
      "topics": [
        "weekends_length"
      ]
    },
    {
      "page": "workdays",
      "title": "Get vector with workdays.",
      "topics": [
        "workdays"
      ]
    },
    {
      "page": "workdays_length",
      "title": "Number of workdays in the period.",
      "topics": [
        "workdays_length"
      ]
    }
  ],
  "_readme": "https://github.com/selesnow/timeperiodsr/raw/HEAD/README.md",
  "_rundeps": [
    "cpp11",
    "generics",
    "lubridate",
    "timechange"
  ],
  "_vignettes": [
    {
      "source": "tpr_intro.Rmd",
      "filename": "tpr_intro.html",
      "title": "Intro to timeperiodsR",
      "author": "Alexey Seleznev",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Цель пакета timeperiodsR",
        "Содержание",
        "Простой пример использования",
        "Функции пакета timeperiodsR",
        "Список функций",
        "Компоненты получаемых объектов",
        "Опции для включения дополнительных компонентов",
        "Переменные среды для включения дополнительных компонентов",
        "Аргументы",
        "Методы",
        "last_n_*",
        "previous_*",
        "this_*",
        "next_*",
        "next_n_*",
        "custom_period",
        "Операторы",
        "Конвертация различных объектов в класс tpr",
        "Пользовательские выходные дни"
      ],
      "created": "2019-09-16 13:57:56",
      "modified": "2026-04-17 10:02:18",
      "commits": 12
    }
  ],
  "_score": 5.021189299069938,
  "_indexed": true,
  "_nocasepkg": "timeperiodsr",
  "_universes": [
    "selesnow"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7.6",
      "date": "2026-06-11T07:30:46.000Z",
      "distro": "noble",
      "commit": "eb2ae0d4732b56a981ea3ecac2645e88ec95307d",
      "fileid": "https://r2.ropensci.org/bc956dd867ab911f3e68b986931256525887608f89cee142efd85d3a461a4865",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selesnow/actions/runs/27330912213"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7.6",
      "date": "2026-06-11T07:30:36.000Z",
      "distro": "noble",
      "commit": "eb2ae0d4732b56a981ea3ecac2645e88ec95307d",
      "fileid": "https://r2.ropensci.org/9f68e1ed37c54674e00664c2fe26d55967f04a89f1aacba81b96cb02c508d12d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selesnow/actions/runs/27330912213"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7.6",
      "date": "2026-06-11T07:30:14.000Z",
      "commit": "eb2ae0d4732b56a981ea3ecac2645e88ec95307d",
      "fileid": "https://r2.ropensci.org/110a4595365d8aa68d24ddec8c8491c57aa97c474b452240efe498e331c83f92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selesnow/actions/runs/27330912213"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7.6",
      "date": "2026-06-11T07:30:38.000Z",
      "commit": "eb2ae0d4732b56a981ea3ecac2645e88ec95307d",
      "fileid": "https://r2.ropensci.org/c1aa208ee8037f0622db2d7c34e642b30d313b9c9fa73edbebc7030ba0f9f040",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selesnow/actions/runs/27330912213"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7.6",
      "date": "2026-06-11T07:30:41.000Z",
      "commit": "eb2ae0d4732b56a981ea3ecac2645e88ec95307d",
      "fileid": "https://r2.ropensci.org/915526ec4fcc76094409ee6da0893b401cceabec740c0e9be0bd0c31d7916739",
      "status": "success",
      "buildurl": "https://github.com/r-universe/selesnow/actions/runs/27330912213"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7.6",
      "date": "2026-06-11T07:29:53.000Z",
      "commit": "eb2ae0d4732b56a981ea3ecac2645e88ec95307d",
      "fileid": "https://r2.ropensci.org/6462336d3c7fb0997eb0865f03879febeeb63107df8c76de0fca7c004ac3bc68",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selesnow/actions/runs/27330912213"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7.6",
      "date": "2026-06-11T07:29:56.000Z",
      "commit": "eb2ae0d4732b56a981ea3ecac2645e88ec95307d",
      "fileid": "https://r2.ropensci.org/2a51331e9c18aa2e0235f471aa76685d6618b1d9257282d73df977f821460a57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selesnow/actions/runs/27330912213"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7.6",
      "date": "2026-06-11T07:29:58.000Z",
      "commit": "eb2ae0d4732b56a981ea3ecac2645e88ec95307d",
      "fileid": "https://r2.ropensci.org/99dfaae5ba2d9f998135d4986008741f17bf8f8916859ead5090e2b3471abbe5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/selesnow/actions/runs/27330912213"
    }
  ]
}