{
  "_id": "6a1022d1acfb0bcc41c8d309",
  "Type": "Package",
  "Package": "gratis",
  "Title": "Generating Time Series with Diverse and Controllable\nCharacteristics",
  "Version": "1.0.8",
  "Authors@R": "c(\nperson(\"Yanfei\", \"Kang\", , \"yanfeikang@buaa.edu.cn\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-8769-6650\")),\nperson(\"Feng\", \"Li\", , \"feng.li@gsm.pku.edu.cn\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4248-9778\")),\nperson(\"Rob\", \"Hyndman\", , \"rob.hyndman@monash.edu\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-2140-5352\")),\nperson(\"Mitchell\", \"O'Hara-Wild\", , \"mail@mitchelloharawild.com\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0001-6729-7695\")),\nperson(\"Bocong\", \"Zhao\", , \"bocongzhao@163.com\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0001-8434-9047\"))\n)",
  "Description": "Generates synthetic time series based on various\nunivariate time series models including MAR and ARIMA\nprocesses. Kang, Y., Hyndman, R.J., Li, F.(2020)\n<doi:10.1002/sam.11461>.",
  "License": "GPL-3",
  "URL": "https://github.com/ykang/gratis",
  "BugReports": "https://github.com/ykang/gratis/issues/",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "RoxygenNote": "7.3.1",
  "Repository": "https://ykang.r-universe.dev",
  "Date/Publication": "2026-05-14 02:35:15 UTC",
  "RemoteUrl": "https://github.com/ykang/gratis",
  "RemoteRef": "HEAD",
  "RemoteSha": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
  "Packaged": {
    "Date": "2026-05-14 04:54:26 UTC",
    "User": "root"
  },
  "Author": "Yanfei Kang [aut] (ORCID: <https://orcid.org/0000-0001-8769-6650>),\nFeng Li [aut, cre] (ORCID: <https://orcid.org/0000-0002-4248-9778>),\nRob Hyndman [aut] (ORCID: <https://orcid.org/0000-0002-2140-5352>),\nMitchell O'Hara-Wild [ctb] (ORCID:\n<https://orcid.org/0000-0001-6729-7695>),\nBocong Zhao [ctb] (ORCID: <https://orcid.org/0000-0001-8434-9047>)",
  "Maintainer": "Feng Li <feng.li@gsm.pku.edu.cn>",
  "MD5sum": "90fe2bf0fa1f0710de64621dc8d62542",
  "_user": "ykang",
  "_type": "src",
  "_file": "gratis_1.0.8.tar.gz",
  "_fileid": "3e9b1a1e182819f14d65ad81fafc953781a48b533c2cce49e29ec71811d8ce9b",
  "_filesize": 1744962,
  "_sha256": "3e9b1a1e182819f14d65ad81fafc953781a48b533c2cce49e29ec71811d8ce9b",
  "_created": "2026-05-14T04:54:26.000Z",
  "_published": "2026-05-22T09:33:05.546Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77353362156,
      "time": 189,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6987647234"
    },
    {
      "job": 77353362244,
      "time": 205,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6987467920"
    },
    {
      "job": 77353362096,
      "time": 214,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6987463917"
    },
    {
      "job": 77353362406,
      "time": 199,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6987458742"
    },
    {
      "job": 77353361356,
      "time": 272,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6987430437"
    },
    {
      "job": 77353361376,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157351057"
    },
    {
      "job": 77353361857,
      "time": 128,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6987453582"
    },
    {
      "job": 77353361948,
      "time": 148,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6987456911"
    },
    {
      "job": 77353362004,
      "time": 131,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6987454102"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ykang/actions/runs/25842348294",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ykang/gratis",
  "_commit": {
    "id": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
    "author": "Feng Li <m@feng.li>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Correct text formatting in README.md\n\nFix formatting issues in README.md.",
    "time": 1778726115
  },
  "_maintainer": {
    "name": "Feng Li",
    "email": "feng.li@gsm.pku.edu.cn",
    "orcid": "0000-0002-4248-9778"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "doRNG",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "forecast",
      "version": ">= 8.16",
      "role": "Imports"
    },
    {
      "package": "GA",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "polynom",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tsibble",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "feasts",
      "role": "Suggests"
    },
    {
      "package": "fGarch",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rlang",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinydashboard",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tsfeatures",
      "role": "Suggests"
    }
  ],
  "_owner": "ykang",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-09",
      "n": 3
    },
    {
      "week": "2026-18",
      "n": 12
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "data-generation",
    "mixture-autoregressive",
    "statistical-computing",
    "time-series"
  ],
  "_stars": 78,
  "_contributors": [
    {
      "user": "feng-li",
      "count": 69,
      "uuid": 1174311
    },
    {
      "user": "robjhyndman",
      "count": 63,
      "uuid": 127518
    },
    {
      "user": "charcoalf",
      "count": 57,
      "uuid": 68271770
    },
    {
      "user": "ykang",
      "count": 44,
      "uuid": 1201366
    },
    {
      "user": "mitchelloharawild",
      "count": 40,
      "uuid": 16127127
    },
    {
      "user": "ldbk",
      "count": 1,
      "uuid": 6603817
    }
  ],
  "_userbio": {
    "uuid": 1201366,
    "type": "user",
    "name": "Yanfei Kang",
    "description": "Time Series Analysis; Statistical Computing; Big Data and Machine Learning. My lab @kl-lab"
  },
  "_downloads": {
    "count": 312,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gratis"
  },
  "_devurl": "https://github.com/ykang/gratis",
  "_searchresults": 43,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gratis.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ykang/gratis",
  "_realowner": "ykang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2020-08-03"
    },
    {
      "version": "0.2.1",
      "date": "2020-10-08"
    },
    {
      "version": "1.0.0",
      "date": "2022-01-14"
    },
    {
      "version": "1.0.3",
      "date": "2023-03-27"
    },
    {
      "version": "1.0.5",
      "date": "2023-08-28"
    },
    {
      "version": "1.0.7",
      "date": "2024-04-10"
    },
    {
      "version": "1.0.8",
      "date": "2026-02-26"
    }
  ],
  "_exports": [
    "app_gratis",
    "arima_model",
    "ets_model",
    "generate",
    "generate_msts",
    "generate_target",
    "generate_ts",
    "generate_ts_with_target",
    "mar_model",
    "pi_coefficients",
    "rmixnorm",
    "rmixnorm_ts",
    "simulate_target"
  ],
  "_help": [
    {
      "page": "app",
      "title": "Launch the gratis Shiny application",
      "topics": [
        "app_gratis"
      ]
    },
    {
      "page": "arima_model",
      "title": "Specify an ARIMA model",
      "topics": [
        "arima_model"
      ]
    },
    {
      "page": "ets_model",
      "title": "Specify an ETS model",
      "topics": [
        "ets_model"
      ]
    },
    {
      "page": "generate_msts",
      "title": "Generate a random multiple-seasonal MAR time series",
      "topics": [
        "generate_msts"
      ]
    },
    {
      "page": "generate_ts",
      "title": "Generate random MAR time series",
      "topics": [
        "generate_ts"
      ]
    },
    {
      "page": "generate_ts_with_target",
      "title": "Generate time series with target features",
      "topics": [
        "generate_ts_with_target"
      ]
    },
    {
      "page": "generate.mar",
      "title": "Generate a tsibble of synthetic time series",
      "topics": [
        "generate.Arima",
        "generate.ets",
        "generate.mar"
      ]
    },
    {
      "page": "mar_model",
      "title": "Specify a mixture autoregressive model",
      "topics": [
        "mar_model"
      ]
    },
    {
      "page": "pi_coefficients",
      "title": "Compute AR recursion coefficients from SARIMA coefficients",
      "topics": [
        "pi_coefficients"
      ]
    },
    {
      "page": "rmixnorm",
      "title": "Generate random values from a mixture of multivariate normal distributions",
      "topics": [
        "rmixnorm"
      ]
    },
    {
      "page": "rmixnorm_ts",
      "title": "Simulate a mixture-normal autoregressive process",
      "topics": [
        "rmixnorm_ts"
      ]
    },
    {
      "page": "simulate_target",
      "title": "Generate time series with target features",
      "topics": [
        "generate_target",
        "simulate_target"
      ]
    },
    {
      "page": "simulate.mar",
      "title": "Simulate from a mixture autoregressive model",
      "topics": [
        "simulate.mar"
      ]
    }
  ],
  "_readme": "https://github.com/ykang/gratis/raw/HEAD/README.md",
  "_rundeps": [
    "anytime",
    "BH",
    "cli",
    "codetools",
    "colorspace",
    "cpp11",
    "crayon",
    "digest",
    "doRNG",
    "dplyr",
    "farver",
    "foreach",
    "forecast",
    "fracdiff",
    "GA",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "lmtest",
    "lubridate",
    "magrittr",
    "mvtnorm",
    "nlme",
    "nnet",
    "pillar",
    "pkgconfig",
    "polynom",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rngtools",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "timechange",
    "timeDate",
    "tsibble",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "QuickStart.Rmd",
      "filename": "QuickStart.html",
      "title": "Introduction to gratis",
      "author": "Bocong Zhao and Rob J Hyndman",
      "engine": "knitr::rmarkdown",
      "headings": [
        "About gratis",
        "Generate diverse time series",
        "Generate multiple seasonal time series",
        "Generate time series with targetted features",
        "ARIMA and ETS models"
      ],
      "created": "2020-07-20 08:10:42",
      "modified": "2026-02-24 04:08:41",
      "commits": 20
    }
  ],
  "_score": 7.400624321661767,
  "_indexed": true,
  "_nocasepkg": "gratis",
  "_universes": [
    "ykang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-05-14T05:14:46.000Z",
      "distro": "noble",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "f79839b0db46f85f3b7aba2c35b1abef294238a968c06e09f0153da2368d65e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/25842348294"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-05-14T04:57:37.000Z",
      "distro": "noble",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "ef79e08aa0877c04b0e5a5b292b4b8af03ac661b3527c9a31bf8a4f114be0a5a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/25842348294"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-05-14T04:57:23.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "6865ac4477df765d1b5d8cf4c3dc74ce24063618adc2fe69ad18978ffaa1e1dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/25842348294"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-05-14T04:56:54.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "b42fc751216ab68043f4c3084c7b13a4e170fb64a4636afc3ed6add34d34d707",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/25842348294"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-05-14T04:56:09.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "ee22e144c71fd2c0b2589087c7a6f41223680f82ea7df053db5e75cac8388ed0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/25842348294"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-05-14T04:56:23.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "e08fede68c5ee98cdca6ad11f422a0e089dae7d7ce5c65004d67e60534c42d9b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/25842348294"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-05-14T04:56:11.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "468726aa54ffbfcb15baab01e26d4c20cc155f71b9acf11fde3651c4556bb379",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/25842348294"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.8",
      "date": "2026-05-22T09:32:42.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "80dae9691c2d1947146e82b34844b1eded5ae5a2197b535197da67dfda13b7aa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/25842348294"
    }
  ]
}