{
  "_id": "6a2fe7603efcd9bda433b748",
  "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-06-15 11:47:25 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": "bfd0aafd851366173a191ee64ad452da",
  "_user": "techtonique",
  "_type": "src",
  "_file": "esgtoolkit_1.10.2.tar.gz",
  "_fileid": "74286d000f6fce80eb4b64dc648d8565dfeb278601db3c668ac1566338384584",
  "_filesize": 2845206,
  "_sha256": "74286d000f6fce80eb4b64dc648d8565dfeb278601db3c668ac1566338384584",
  "_created": "2026-06-15T11:47:25.000Z",
  "_published": "2026-06-15T11:52:00.197Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81412914881,
      "time": 171,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7637193051"
    },
    {
      "job": 81412914839,
      "time": 179,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7637198309"
    },
    {
      "job": 81412914898,
      "time": 170,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7637192354"
    },
    {
      "job": 81412914844,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7637196886"
    },
    {
      "job": 81412914864,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7637169299"
    },
    {
      "job": 81412914841,
      "time": 227,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7637213677"
    },
    {
      "job": 81412914896,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7637200596"
    },
    {
      "job": 81412914887,
      "time": 198,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7637202771"
    },
    {
      "job": 81412234641,
      "time": 228,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7637131553"
    },
    {
      "job": 81412914820,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7637181538"
    },
    {
      "job": 81412914850,
      "time": 146,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7637183691"
    },
    {
      "job": 81412914829,
      "time": 134,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7637181144"
    },
    {
      "job": 81412914895,
      "time": 150,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7637185221"
    }
  ],
  "_buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203",
  "_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",
    "description": "Like everything related to tech, statistical/machine learning, computer simulation, numerical optimization. Other things too, not mentioned in this bio!",
    "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-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",
    "followers": 25,
    "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": 40,
  "_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",
    "LICENSE",
    "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.068185861746162,
  "_indexed": true,
  "_nocasepkg": "esgtoolkit",
  "_universes": [
    "techtonique",
    "thierrymoudiki"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-06-15T11:50:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "189aacd300bc72ab1e7554ed9377d020ebb48e42536f23427574b92fa85ccab6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-06-15T11:50:16.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "66a0b878ebd284a7cedd007a0bb5b0ae780213bf2676670448057780746d8e81",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-06-15T11:50:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "0df31d5dbd554c206991e52ef9129bf8a44162ad6f68638fcbd9e9c4eb7c6b97",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-06-15T11:50:11.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "ca2a01f6d501e496138b464d8b6d4c06c5982adb3ec765c39936da15f5fa345b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-06-15T11:49:08.000Z",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "f9e131bd455fcb539bd532925f5c5206e8217c2278b72e8837ad84af95df35ea",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-06-15T11:50:30.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "edb646ae0474cb82d69007d8ec6ad269a2cf50ee4bc70d596a6676bb25ff1cef",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-06-15T11:50:32.000Z",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "fef5d286ebdb87434fe2476258f864ff6f187bbc5610f491c7a7e26151f4e3a9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-06-15T11:50:10.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "b0aa9a084f4a37876212262fea651c0c24fe0710cb43a4e0660396e5d97a7c2d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.10.2",
      "date": "2026-06-15T11:50:04.000Z",
      "arch": "emscripten",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "fa2158a90e4c48fc790c8e0d09b8acad4aefb7dec538306a2b0b5a579db2e584",
      "status": "success",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.10.2",
      "date": "2026-06-15T11:49:12.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "9ab1c10e1838ab387156389d70100980d7c37899352fa582d900b5592932b553",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.10.2",
      "date": "2026-06-15T11:49:00.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "24f2f0a5fe9c647e9db803ed45e28146736e140074900ae32cced10a758b744b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.10.2",
      "date": "2026-06-15T11:49:02.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "ca1ba9ccd495438f758d4894a10bc2efd350696c42ef47fb9d3470c964d9b0c9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/27543867203"
    }
  ]
}