{
  "_id": "6a313bb33efcd9bda43626e1",
  "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-06-16 11:59:48 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": "f9ba3c267a315b1095d317e9ff08ffb7",
  "_user": "ykang",
  "_type": "src",
  "_file": "gratis_1.0.8.tar.gz",
  "_fileid": "de352bb0f88340a7ad285f0d933579c0e8eb8bf986b425069c685f6722fe0ad6",
  "_filesize": 1745862,
  "_sha256": "de352bb0f88340a7ad285f0d933579c0e8eb8bf986b425069c685f6722fe0ad6",
  "_created": "2026-06-16T11:59:48.000Z",
  "_published": "2026-06-16T12:04:03.403Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81651772122,
      "time": 206,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7666173094"
    },
    {
      "job": 81651772066,
      "time": 199,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7666170006"
    },
    {
      "job": 81651772140,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7666132897"
    },
    {
      "job": 81651772087,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7666130879"
    },
    {
      "job": 81650894454,
      "time": 288,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7666091136"
    },
    {
      "job": 81651772205,
      "time": 177,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7666162230"
    },
    {
      "job": 81651772212,
      "time": 135,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7666145388"
    },
    {
      "job": 81651772121,
      "time": 147,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7666149327"
    },
    {
      "job": 81651772074,
      "time": 133,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7666144574"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ykang/actions/runs/27615652625",
  "_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",
    "followers": 130,
    "description": "Time Series Analysis; Statistical Computing; Big Data and Machine Learning. My lab @kl-lab"
  },
  "_downloads": {
    "count": 381,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gratis"
  },
  "_devurl": "https://github.com/ykang/gratis",
  "_searchresults": 44,
  "_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.410608542568368,
  "_indexed": true,
  "_nocasepkg": "gratis",
  "_universes": [
    "ykang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-06-16T12:03:02.000Z",
      "distro": "noble",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "4ef2a1830ea103575dea144fdc859afc6d1561f7fd4a354485b6573a4a693043",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/27615652625"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.8",
      "date": "2026-06-16T12:02:55.000Z",
      "distro": "noble",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "9b05ce0ce400a982a97464116080360ac3cd92f9bb7c6c9208b2f0fd76da253a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/27615652625"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-06-16T12:01:34.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "ea87bcc6b04562db06227f61e54aa66015613326a8fa899816e85ee7493d09c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/27615652625"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.8",
      "date": "2026-06-16T12:01:26.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "b14fb4778c77c3907730b4eba8285991104090e117fd4f6fdef16f4f3323b613",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/27615652625"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.8",
      "date": "2026-06-16T12:03:16.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "b1e5fa462f0bc6ca767e37cead4ab4e22e43c981c51781cd857f15024361674b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/27615652625"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-06-16T12:01:32.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "fdd04f9d1e6a4dda092ac07aedc717412597607157acf3e2d4577adec2b16772",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/27615652625"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-06-16T12:01:51.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "f4a1bab4fce6f09ec5df79296e598f2bab3436728144b868766322addfb0acea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/27615652625"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.8",
      "date": "2026-06-16T12:01:35.000Z",
      "commit": "efaef84e1d3c7b157b5af8a71857785c836ee33e",
      "fileid": "0d16f1e62eb2d689d3cd92ab138a6313eefb5ef9b31c0dc2c4c2595be5297635",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ykang/actions/runs/27615652625"
    }
  ]
}