{
  "_id": "6a574970ff0138dec5d7006f",
  "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-07-15 08:43:48 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]",
  "_user": "techtonique",
  "_type": "src",
  "_file": "esgtoolkit_1.10.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/5f2602668f518d805667a513d08a18b9498013b7523b939b0192e6cd04c98a78",
  "_filesize": 2844219,
  "_sha256": "5f2602668f518d805667a513d08a18b9498013b7523b939b0192e6cd04c98a78",
  "_expires": "2026-10-23T08:48:46.000Z",
  "_created": "2026-07-15T08:43:48.000Z",
  "_published": "2026-07-15T08:48:48.059Z",
  "_jobs": [
    {
      "job": 87308041434,
      "time": 183,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8337437671"
    },
    {
      "job": 87308041414,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8337432060"
    },
    {
      "job": 87308041456,
      "time": 187,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8337440025"
    },
    {
      "job": 87308041461,
      "time": 206,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8337446464"
    },
    {
      "job": 87308041415,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8337402202"
    },
    {
      "job": 87308041418,
      "time": 237,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8337459831"
    },
    {
      "job": 87308041428,
      "time": 145,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8337421120"
    },
    {
      "job": 87308041430,
      "time": 243,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8337462633"
    },
    {
      "job": 87307001006,
      "time": 319,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8337360891"
    },
    {
      "job": 87308041360,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8337418803"
    },
    {
      "job": 87308041381,
      "time": 143,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8337419974"
    },
    {
      "job": 87308041380,
      "time": 141,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8337419867"
    },
    {
      "job": 87308041423,
      "time": 194,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8337442365"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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-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": 39,
  "_rbuild": "4.6.1",
  "_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": "16-20260322-1ubuntu1",
      "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.006037954997318,
  "_indexed": true,
  "_nocasepkg": "esgtoolkit",
  "_universes": [
    "techtonique",
    "thierrymoudiki"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-07-15T08:46:49.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/6da43d4e783dbb3fe5d9028357bfd0132390db43d47548c2a98e84eecfabd83f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-07-15T08:46:31.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/a4ee03ae5102e81c484177b49c18a7696139c5e59087415a9308453362575a29",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-07-15T08:46:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/1b2172cb80c2ac01b7299bff8da2d5fce5751d20677c694fb5e1c3d9dbaaa012",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.10.2",
      "date": "2026-07-15T08:47:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/dfee6c3a57ec7f37ad6beeb5bf22e0b1927b257c648c501e426978f20f9b9409",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-07-15T08:45:29.000Z",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/266510e2a110471a2c2475e06de414f24450adac383206d381cf0a000dc8d058",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-07-15T08:47:01.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/ea2e5fefd325cbe277dd38e5d687ad01d52f001760fd07f21397901a5e1ab0b4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-07-15T08:46:20.000Z",
      "arch": "aarch64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/cd1d57d4e6328badb022fa6694959e12fd136bc8509d005d99194c70cf4d47d9",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.10.2",
      "date": "2026-07-15T08:47:09.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/abe7a4bed539167659b8d59569fc5c5582a4cac414cf3031ea4b7d60542f45ec",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.10.2",
      "date": "2026-07-15T08:46:30.000Z",
      "arch": "emscripten",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/f46cd080ac19ed3ab3b873bb998dc661dc99484521d90e9b5076f4442ba2f439",
      "status": "success",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.10.2",
      "date": "2026-07-15T08:45:35.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/04be11d99cf6a728de1137583495a50184738b1ce04e2c8579a5dbab43da8d5d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.10.2",
      "date": "2026-07-15T08:45:28.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/9f2e5f5e8972fa225108ecb7d07154e36092cf287c0ef2e3e3bfc8a1bbcddcff",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.10.2",
      "date": "2026-07-15T08:45:57.000Z",
      "arch": "x86_64",
      "commit": "08b2e8f3f18ab45bbaca7532b5e74ea7d0cffe7d",
      "fileid": "https://r2.ropensci.org/fe66fe04e2446dbb674d8ca6bef9c70bbf95164f8d5ae8656e126ce80c3435f0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/techtonique/actions/runs/29401524400"
    }
  ]
}