{
  "_id": "6acc900ba14063b82c3a6945",
  "Package": "creditr",
  "Version": "0.6.2",
  "Date": "2025-01-07",
  "Title": "Credit Default Swaps",
  "Authors@R": "c(\nperson(given = \"Yanrong\",\nfamily = \"Song\",\nrole = c(\"aut\", \"cre\"),\nemail = \"yrsong129@gmail.com\"),\nperson(given = \"Zijie\",\nfamily = \"Zhu\",\nrole = \"aut\",\nemail = \"zijie.miller.zhu@gmail.com\"),\nperson(given = \"David\",\nfamily = \"Kane\",\nrole = \"aut\",\nemail = \"dave.kane@gmail.com\"),\nperson(given = \"Heidi\",\nfamily = \"Chen\",\nrole = \"aut\",\nemail = \"s.heidi.chen@gmail.com\"),\nperson(given = \"Yuanchu\",\nfamily = \"Dang\",\nrole = \"aut\",\nemail = \"yuanchu.dang@gmail.com\"),\nperson(given = \"Yang\",\nfamily = \"Lu\",\nrole = \"aut\",\nemail = \"yang.lu2014@gmail.com\"),\nperson(given = \"Kanishka\",\nfamily = \"Malik\",\nrole = \"aut\",\nemail = \"kanishkamalik@gmail.com\"),\nperson(given = \"Skylar\",\nfamily = \"Smith\",\nrole = \"aut\",\nemail = \"sws2@williams.edu\"),\nperson(given = \"International Swaps and Derivatives Association\",\nrole = \"cph\",\ncomment = \"Copyright holder of the free CDS standard model code used in this package\")\n)",
  "License": "file LICENSE",
  "URL": "https://github.com/yanrong-stacy-song/creditr",
  "Description": "Price credit default swaps using 'C' code from the\nInternational Swaps and Derivatives Association CDS Standard\nModel. See\n<https://www.cdsmodel.com/cdsmodel/documentation.html> for more\ninformation about the model and\n<https://www.cdsmodel.com/cdsmodel/cds-disclaimer.html> for\nlicense details for the 'C' code.",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "make libxml2-dev",
  "Repository": "https://yanrong-stacy-song.r-universe.dev",
  "Date/Publication": "2025-09-05 02:23:05 UTC",
  "RemoteUrl": "https://github.com/yanrong-stacy-song/creditr",
  "RemoteRef": "HEAD",
  "RemoteSha": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-10 13:47:25 UTC",
    "User": "root"
  },
  "Author": "Yanrong Song [aut, cre],\nZijie Zhu [aut],\nDavid Kane [aut],\nHeidi Chen [aut],\nYuanchu Dang [aut],\nYang Lu [aut],\nKanishka Malik [aut],\nSkylar Smith [aut],\nInternational Swaps and Derivatives Association [cph] (Copyright holder\nof the free CDS standard model code used in this package)",
  "Maintainer": "Yanrong Song <yrsong129@gmail.com>",
  "_user": "yanrong-stacy-song",
  "_type": "src",
  "_file": "creditr_0.6.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/3e45bad094cfbbc482cf8f3c6da3b72885478dd75a6225db392f0eb7dac7b4e2",
  "_filesize": 1445090,
  "_sha256": "3e45bad094cfbbc482cf8f3c6da3b72885478dd75a6225db392f0eb7dac7b4e2",
  "_expires": "2027-01-18T13:54:21.000Z",
  "_created": "2026-10-10T13:47:25.000Z",
  "_published": "2026-10-12T07:45:15.360Z",
  "_buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114711260348,
      "time": 102,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 114711262368,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11671488314"
    },
    {
      "job": 114711260412,
      "time": 132,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 114711262213,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11672127710"
    },
    {
      "job": 114711262276,
      "time": 170,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11671498663"
    },
    {
      "job": 114711261985,
      "time": 297,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11671753437"
    },
    {
      "job": 114711261882,
      "time": 175,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11671112574"
    },
    {
      "job": 114711261564,
      "time": 251,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11671097570"
    },
    {
      "job": 114711260546,
      "time": 183,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11671318203"
    },
    {
      "job": 114711261542,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11671492241"
    },
    {
      "job": 114711261672,
      "time": 374,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11672133005"
    },
    {
      "job": 114711262452,
      "time": 155,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11672018045"
    },
    {
      "job": 114711262218,
      "time": 136,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11671508491"
    },
    {
      "job": 114711262258,
      "time": 371,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11671387539"
    },
    {
      "job": 114711262745,
      "time": 119,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11671288611"
    }
  ],
  "_upstream": "https://github.com/yanrong-stacy-song/creditr",
  "_commit": {
    "id": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
    "author": "knightsay <yrsong129@gmail.com>",
    "committer": "knightsay <yrsong129@gmail.com>",
    "message": "Update paper.md\n",
    "time": 1757038985
  },
  "_maintainer": {
    "name": "Yanrong Song",
    "email": "yrsong129@gmail.com",
    "login": "yanrong-stacy-song",
    "description": "",
    "uuid": 48292717
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "RCurl",
      "role": "Imports"
    },
    {
      "package": "XML",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "xts",
      "role": "Imports"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "yanrong-stacy-song",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yanrong-stacy-song",
      "count": 62,
      "uuid": 48292717
    }
  ],
  "_userbio": {
    "uuid": 48292717,
    "type": "user",
    "name": "yanrong_s",
    "followers": 0
  },
  "_downloads": {
    "count": 438,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/creditr"
  },
  "_devurl": "https://github.com/yanrong-stacy-song/creditr",
  "_searchresults": 42,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/creditr.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/yanrong-stacy-song/creditr",
  "_realowner": "yanrong-stacy-song",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.6.1",
      "date": "2015-08-12"
    },
    {
      "version": "0.6.2",
      "date": "2024-12-19"
    }
  ],
  "_exports": [
    "add_conventions",
    "add_dates",
    "CDS",
    "check_inputs",
    "CS10",
    "get_rates",
    "IR_DV01",
    "rec_risk_01",
    "show",
    "spread_DV01",
    "spread_to_pd",
    "summary"
  ],
  "_datasets": [
    {
      "name": "rates",
      "title": "LIBOR rates from 2004-01-01 to 2015-08-03",
      "object": "rates",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "currency",
        "expiry",
        "rate"
      ],
      "rows": 194378,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_conventions",
      "title": "Return accounting conventions",
      "topics": [
        "add_conventions"
      ]
    },
    {
      "page": "add_dates",
      "title": "Return CDS dates.",
      "topics": [
        "add_dates"
      ]
    },
    {
      "page": "adj_next_bus_day",
      "title": "Adjust to next business day.",
      "topics": [
        "adj_next_bus_day"
      ]
    },
    {
      "page": "build_rates",
      "title": "Build a data frame containing interest rates for CDS pricing",
      "topics": [
        "build_rates"
      ]
    },
    {
      "page": "call_ISDA",
      "title": "call ISDA c function",
      "topics": [
        "call_ISDA"
      ]
    },
    {
      "page": "CDS",
      "title": "Build a 'CDS' class object given the input about a CDS contract.",
      "topics": [
        "CDS"
      ]
    },
    {
      "page": "CDS-class",
      "title": "CDS Class",
      "topics": [
        "CDS,",
        "CDS, CDS-class",
        "CDS-class"
      ]
    },
    {
      "page": "check_inputs",
      "title": "Check whether inputs from the data frame are valid.",
      "topics": [
        "check_inputs"
      ]
    },
    {
      "page": "creditr",
      "title": "The creditr package.",
      "topics": [
        "creditr-package",
        "creditr"
      ]
    },
    {
      "page": "CS10",
      "title": "Calculate CS10",
      "topics": [
        "CS10"
      ]
    },
    {
      "page": "download_markit",
      "title": "Get rates from Markit",
      "topics": [
        "download_markit"
      ]
    },
    {
      "page": "get_rates",
      "title": "Get interest rates from rates.RData or the Markit website",
      "topics": [
        "get_rates"
      ]
    },
    {
      "page": "get_raw_markit",
      "title": "Get raw data from Markit website.",
      "topics": [
        "get_raw_markit"
      ]
    },
    {
      "page": "implied_RR",
      "title": "Calculates Implied Recovery Rate",
      "topics": [
        "implied_RR"
      ]
    },
    {
      "page": "IR_DV01",
      "title": "Calculate IR.DV01",
      "topics": [
        "IR_DV01"
      ]
    },
    {
      "page": "pd_to_spread",
      "title": "Calculate spread with Default Probability",
      "topics": [
        "pd_to_spread"
      ]
    },
    {
      "page": "PV01",
      "title": "Calculate PV01",
      "topics": [
        "PV01"
      ]
    },
    {
      "page": "rates",
      "title": "LIBOR rates from 2004-01-01 to 2015-08-03",
      "topics": [
        "rates"
      ]
    },
    {
      "page": "rec_risk_01",
      "title": "Calculate Recovery Rate Changes",
      "topics": [
        "rec_risk_01"
      ]
    },
    {
      "page": "separate_YMD",
      "title": "Separate Year/Month/Day",
      "topics": [
        "separate_YMD"
      ]
    },
    {
      "page": "show-methods",
      "title": "Show Method",
      "topics": [
        "show",
        "show,CDS-method"
      ]
    },
    {
      "page": "spread_DV01",
      "title": "Calculate Spread Change",
      "topics": [
        "spread_DV01"
      ]
    },
    {
      "page": "spread_to_pd",
      "title": "Calculate Default Probability with Spread",
      "topics": [
        "spread_to_pd"
      ]
    },
    {
      "page": "spread_to_upfront",
      "title": "Calculate Upfront Payments",
      "topics": [
        "spread_to_upfront"
      ]
    },
    {
      "page": "summary-methods",
      "title": "Summary Method",
      "topics": [
        "summary",
        "summary,CDS-method"
      ]
    },
    {
      "page": "upfront_to_spread",
      "title": "Calculate Spread with a Given Upfront",
      "topics": [
        "upfront_to_spread"
      ]
    }
  ],
  "_readme": "https://github.com/yanrong-stacy-song/creditr/raw/HEAD/README.md",
  "_rundeps": [
    "bitops",
    "lattice",
    "Rcpp",
    "RCurl",
    "XML",
    "xts",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "creditr.Rnw",
      "filename": "creditr.pdf",
      "title": "Credit Default Swaps with R",
      "engine": "utils::Sweave",
      "headings": [
        "Introduction",
        "CDS Basics",
        "Bloomberg and Markit",
        "Using the creditr Package",
        "Conclusion",
        "Bibliography"
      ],
      "created": "2024-12-15 16:44:25",
      "modified": "2025-05-21 23:50:57",
      "commits": 7
    }
  ],
  "_score": 4.3222192947339195,
  "_indexed": true,
  "_nocasepkg": "creditr",
  "_universes": [
    "yanrong-stacy-song"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.2",
      "date": "2026-10-10T13:49:39.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/eb8e26c8386afe6ac19acde025183ff7e947a92ddf7e8fae3a9d8444c326236f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.2",
      "date": "2026-10-10T13:49:36.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/64c7ad9f336ec6e096b7e35ac254c42217964c01df79c6ed0deca1a608e0a037",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-10-10T13:51:42.000Z",
      "arch": "aarch64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/75cd5a16f08af6c53fb59dffa46a49a35eeefd82c263d3020227dd2c8b346235",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-10-10T13:52:03.000Z",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/5bf18002a8fef79d79b58785285fa80529e83b716a8e7f6f265123cc9ed7ba46",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-10-10T13:51:58.000Z",
      "arch": "aarch64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/cdda3c1bc15594f0116f735c7c25ffd162b0178e657d04cb1b717f45df596f3b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-10-10T13:50:47.000Z",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/4743466e9a708c7399691eb1e14e9425895a5de8a4d5edcddce3a6470bf46d4e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.2",
      "date": "2026-10-10T13:49:26.000Z",
      "arch": "emscripten",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/9bc36cb954c673198d14f2b0e49dc303e90203c58ca95b7863a1a50fd93c70c6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-10-10T13:52:42.000Z",
      "arch": "aarch64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/567d768c929652fa2b6ed6a2765342357cd906d1923c5eab02e31cbfb38678f0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-10-10T13:48:43.000Z",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/c20ae267d17bcf67a26b296108c4a50185af24dae46feba56ca327a4b2f3da10",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-10-10T13:49:05.000Z",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/49b82732ec35f7e3c3bb29a8197da96f04e49b285b71ab12893d94f6ea593ed1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-10-10T13:52:35.000Z",
      "arch": "aarch64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/9174ba3f60cc9e9b3c423377dcae3f4eab24c227f9cab2423d285be30f6a3563",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-10-10T13:48:46.000Z",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "https://r2.ropensci.org/a80254eee2b10db86de9a02c5a852767d12974cc0d0373d6edeefe3c7d105e7a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/38056878771"
    }
  ]
}