{
  "_id": "6a1f298ab401979e73424051",
  "Package": "esgtoolkit",
  "Type": "Package",
  "Title": "Toolkit for Monte Carlo Simulations",
  "Version": "1.10.2",
  "Date": "2026-02-12",
  "Authors@R": "c(\nperson(\"T.\", \"Moudiki\", , \"thierry.moudiki@gmail.com\", role = c(\"aut\", \"cre\")\n)\n)",
  "URL": "https://github.com/Techtonique/esgtoolkit",
  "BugReports": "https://github.com/Techtonique/esgtoolkit/issues",
  "Maintainer": "T. Moudiki <thierry.moudiki@gmail.com>",
  "Description": "A toolkit for Monte Carlo Simulations in Finance,\nEconomics, Insurance, Physics. Multiple simulation models can\nbe created by combining building blocks provided in the\npackage.",
  "License": "BSD_3_clause Clear + file LICENSE",
  "VignetteBuilder": "knitr",
  "Packaged": {
    "Date": "2026-05-16 02:29:56 UTC",
    "User": "root"
  },
  "NeedsCompilation": "yes",
  "RoxygenNote": "7.3.2",
  "Remotes": [
    "thierrymoudiki/misc"
  ],
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://techtonique.r-universe.dev",
  "Date/Publication": "2026-05-16 02:03:49 UTC",
  "RemoteUrl": "https://github.com/Techtonique/esgtoolkit",
  "RemoteRef": "HEAD",
  "RemoteSha": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
  "Author": "T. Moudiki [aut, cre]",
  "MD5sum": "e94ed0f045663304d97d4685043154fa",
  "_user": "techtonique",
  "_type": "src",
  "_file": "esgtoolkit_1.10.2.tar.gz",
  "_fileid": "774cbc0dfcf605b5b41c56029ded90718e0a4f92d4ac1fd0c6244a99dfaeef6b",
  "_filesize": 2844673,
  "_sha256": "774cbc0dfcf605b5b41c56029ded90718e0a4f92d4ac1fd0c6244a99dfaeef6b",
  "_created": "2026-05-16T02:29:56.000Z",
  "_published": "2026-06-02T19:05:46.722Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79150229628,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7029775585"
    },
    {
      "job": 79150229517,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7029776377"
    },
    {
      "job": 79150230047,
      "time": 151,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7029774501"
    },
    {
      "job": 79150230282,
      "time": 169,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7029776190"
    },
    {
      "job": 79150230463,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7029769509"
    },
    {
      "job": 79150229970,
      "time": 197,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7029778634"
    },
    {
      "job": 79150230121,
      "time": 170,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7029776169"
    },
    {
      "job": 79150229816,
      "time": 248,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7029783531"
    },
    {
      "job": 79150228751,
      "time": 261,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7029759847"
    },
    {
      "job": 79150228769,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367266099"
    },
    {
      "job": 79150229564,
      "time": 175,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7029776609"
    },
    {
      "job": 79150230283,
      "time": 157,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7029775055"
    },
    {
      "job": 79150230046,
      "time": 127,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7029772219"
    }
  ],
  "_buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/Techtonique/esgtoolkit",
  "_commit": {
    "id": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
    "author": "Thierry Moudiki <thierry.moudiki@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Correct ADF p-value calculation in martingale_test\n\nFix ADF p-value assignment in martingale_test function.",
    "time": 1778897029
  },
  "_maintainer": {
    "name": "T. Moudiki",
    "email": "thierry.moudiki@gmail.com",
    "login": "thierrymoudiki",
    "linkedin": "in/thierry-moudiki",
    "twitter": "@sippingrizzly",
    "uuid": 8895513
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "gridExtra",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "reshape2",
      "role": "Depends"
    },
    {
      "package": "VineCopula",
      "role": "Depends"
    },
    {
      "package": "randtoolbox",
      "role": "Depends"
    },
    {
      "package": "zoo",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.11.0",
      "role": "Imports"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "misc",
      "role": "Suggests"
    },
    {
      "package": "tseries",
      "role": "Suggests"
    }
  ],
  "_owner": "techtonique",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 3
    },
    {
      "week": "2025-25",
      "n": 2
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-36",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "diffusion-model",
    "diffusion-models",
    "monte-carlo-methods",
    "monte-carlo-simulation",
    "montecarlo-simulation",
    "scenario-analysis",
    "scenario-creator",
    "scenario-generation",
    "simulation",
    "stochastic-differential-equations",
    "stochastic-processes",
    "stochastic-simulation",
    "cpp"
  ],
  "_stars": 13,
  "_contributors": [
    {
      "user": "thierrymoudiki",
      "count": 84,
      "uuid": 8895513
    }
  ],
  "_userbio": {
    "uuid": 69663678,
    "type": "organization",
    "name": "Techtonique",
    "description": "tech, stats, machine learning, computer simulation, numerical optimization"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/esgtoolkit"
  },
  "_devurl": "https://github.com/techtonique/esgtoolkit",
  "_searchresults": 39,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/esgtoolkit.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "calculatereturns",
    "debug_print",
    "esgcortest",
    "esgdiscountfactor",
    "esgfwdrates",
    "esgmartingaletest",
    "esgmccv",
    "esgmcprices",
    "esgplotbands",
    "esgplotshocks",
    "esgplotts",
    "forwardrates",
    "generate_diverse_sv_paths",
    "generate_svjd",
    "generate_synthetic_returns",
    "rg2plus",
    "rpriceg2plus",
    "rsvjd",
    "rsvjdg2plus",
    "simdiff",
    "simshocks",
    "simulate_rvine",
    "ycextra",
    "ycinter"
  ],
  "_help": [
    {
      "page": "calculate_V",
      "title": "Calculate variance term V(t,T) for G2++ model",
      "topics": [
        "calculate_V"
      ]
    },
    {
      "page": "calculatereturns",
      "title": "Calculate returns or log-returns for multivariate time series",
      "topics": [
        "calculatereturns"
      ]
    },
    {
      "page": "enforce_monotonicity",
      "title": "Enforce monotonicity: P(t,T1) >= P(t,T2) for T1 < T2",
      "topics": [
        "enforce_monotonicity"
      ]
    },
    {
      "page": "esgcortest",
      "title": "Correlation test for shocks",
      "topics": [
        "esgcortest"
      ]
    },
    {
      "page": "esgdiscountfactor",
      "title": "Stochastic Discount Factors",
      "topics": [
        "esgdiscountfactor"
      ]
    },
    {
      "page": "esgfwdrates",
      "title": "Instantaneous forward rates",
      "topics": [
        "esgfwdrates"
      ]
    },
    {
      "page": "esgmartingaletest",
      "title": "Test for martingale property and market consistency",
      "topics": [
        "esgmartingaletest"
      ]
    },
    {
      "page": "esgmccv",
      "title": "Convergence of Monte Carlo prices",
      "topics": [
        "esgmccv"
      ]
    },
    {
      "page": "esgmcprices",
      "title": "Estimation of discounted asset prices",
      "topics": [
        "esgmcprices"
      ]
    },
    {
      "page": "esgplotbands",
      "title": "Plot time series percentiles and confidence intervals",
      "topics": [
        "esgplotbands"
      ]
    },
    {
      "page": "esgplotshocks",
      "title": "Visualize the dependence between Gaussian shocks",
      "topics": [
        "esgplotshocks"
      ]
    },
    {
      "page": "esgplotts",
      "title": "Plot time series objects",
      "topics": [
        "esgplotts"
      ]
    },
    {
      "page": "forwardrates",
      "title": "Forward rates extraction",
      "topics": [
        "forwardrates"
      ]
    },
    {
      "page": "generate_diverse_sv_paths",
      "title": "Generate a list of synthetic return paths using stochastic volatility models with randomized parameters.",
      "topics": [
        "generate_diverse_sv_paths"
      ]
    },
    {
      "page": "generate_svjd",
      "title": "Generate random SVJD scenarios with Feller-compliant parameters",
      "topics": [
        "generate_svjd"
      ]
    },
    {
      "page": "generate_synthetic_returns",
      "title": "Generate a single synthetic stock return path using a stochastic volatility model with jumps and regime switching.",
      "topics": [
        "generate_synthetic_returns"
      ]
    },
    {
      "page": "plot.rvine_simulation",
      "title": "Plot method for rvine_simulation objects",
      "topics": [
        "plot.rvine_simulation"
      ]
    },
    {
      "page": "print.rvine_simulation",
      "title": "Print method for rvine_simulation objects",
      "topics": [
        "print.rvine_simulation"
      ]
    },
    {
      "page": "rg2plus",
      "title": "Simulate G2++ short rates model",
      "topics": [
        "rg2plus"
      ]
    },
    {
      "page": "rpriceg2plus",
      "title": "Simulate Zero-Coupon Bond Prices using G2++ Model",
      "topics": [
        "rpriceg2plus"
      ]
    },
    {
      "page": "rsvjd",
      "title": "Simulate SVJD model (with Feller condition check)",
      "topics": [
        "rsvjd"
      ]
    },
    {
      "page": "rsvjdg2plus",
      "title": "Simulate SVJD model (with Feller condition check) with G2++ short rates model",
      "topics": [
        "rsvjdg2plus"
      ]
    },
    {
      "page": "sim_to_zoo",
      "title": "Convert Simulation Output to a zoo Time Series",
      "topics": [
        "sim_to_zoo"
      ]
    },
    {
      "page": "simdiff",
      "title": "Simulation of diffusion processes",
      "topics": [
        "simdiff"
      ]
    },
    {
      "page": "simshocks",
      "title": "Simulation of Gaussian shocks for risk factors",
      "topics": [
        "simshocks"
      ]
    },
    {
      "page": "simulate_rvine",
      "title": "Enhanced R-vine copula simulation with proper distribution preservation",
      "topics": [
        "simulate_rvine"
      ]
    },
    {
      "page": "ycextra",
      "title": "Yield curve or zero-coupon prices extrapolation",
      "topics": [
        "ycextra"
      ]
    },
    {
      "page": "ycinter",
      "title": "Yield curve or zero-coupon prices interpolation",
      "topics": [
        "ycinter"
      ]
    }
  ],
  "_readme": "https://github.com/Techtonique/esgtoolkit/raw/HEAD/README.md",
  "_rundeps": [
    "ADGofTest",
    "cli",
    "cpp11",
    "data.table",
    "farver",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "mvtnorm",
    "plyr",
    "R6",
    "randtoolbox",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rlang",
    "rngWELL",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "vctrs",
    "VineCopula",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "g2plus.Rmd",
      "filename": "g2plus.html",
      "title": "G2++",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-04-11 04:38:57",
      "modified": "2025-06-16 17:42:47",
      "commits": 3
    },
    {
      "source": "intro.Rmd",
      "filename": "intro.html",
      "title": "Introduction",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-05-29 13:39:57",
      "modified": "2026-02-12 09:45:01",
      "commits": 3
    },
    {
      "source": "martingale_test.Rmd",
      "filename": "martingale_test.html",
      "title": "Martingale tests",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-01-29 14:49:11",
      "modified": "2025-02-03 20:54:57",
      "commits": 2
    },
    {
      "source": "simdiffts.Rmd",
      "filename": "simdiffts.html",
      "title": "More flexibility for simulations",
      "engine": "knitr::rmarkdown",
      "headings": [
        "============================================================================",
        "VOLATILITY SIMULATION (CIR PROCESS)",
        "ASSET PRICE SIMULATION (GBM WITH JUMPS)"
      ],
      "created": "2025-06-16 17:42:47",
      "modified": "2025-06-17 02:41:57",
      "commits": 2
    },
    {
      "source": "syntheticopula.Rmd",
      "filename": "syntheticopula.html",
      "title": "Synthetic Copula simulation",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2025-09-20 09:05:39",
      "modified": "2025-09-20 09:05:39",
      "commits": 1
    }
  ],
  "_score": 6.102947968005374,
  "_indexed": true,
  "_nocasepkg": "esgtoolkit",
  "_universes": [
    "techtonique",
    "thierrymoudiki"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-05-16T02:32:30.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "c9d5010ed4029723419e81350c57e505240da1d491feecbe577bf63d53726d7e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-05-16T02:32:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "513b15075c250d4a86a4a24aecd52dc7ad1d4ba7e63da67cdf9686edf61351fa",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-05-16T02:32:22.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "30505601464248b5c7da5da667ded7fed9a6fa07a015cfab229c2e5b959695c5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-05-16T02:32:33.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "b9eb4e9a9b32dd90efa5f3e8ba67464a5577cc14b6069bd1885a970b993ac236",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-05-16T02:31:33.000Z",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "436d958234671cb90f9ac652c00f59299c13293e4567a20ea2ba032baf84a1d9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-05-16T02:32:36.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "303de6fb3018e09466b21a1a9c333f15b1b8bf9d230f93758f63786c32556944",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-05-16T02:32:17.000Z",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "2fc2f4dc4517016d98858d588dfa2c445290467d3e9eae72ef0b2f140250b2e4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-05-16T02:33:23.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "d2d460be1aebe8b44a93378fd9c6b5a48eca038451a5511e5ef974615c6cda47",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.10.2",
      "date": "2026-05-16T02:31:46.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "f8b755bffcc19187b9c819606814ea03ddafe9b46477ca202b83522336bc80e0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.10.2",
      "date": "2026-05-16T02:31:53.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "5cd0633a451bc25d0c4c771f8f5d88a5816dfad119a4cb86f962b60664b46323",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.10.2",
      "date": "2026-05-16T02:31:26.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "566efe3819a491bc0c41551580c3b7295c6a1fbead80fcb5f6a3bd15a6791f11",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.10.2",
      "date": "2026-06-02T19:05:17.000Z",
      "arch": "emscripten",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "56220111c2d4c5220b6a951db68b01e3f16bf63b6126fa57ea91413fca0ee333",
      "status": "success",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/25950407070"
    }
  ]
}