{
  "_id": "6a250a9e4b233be198387cd5",
  "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-06-05 06:06:35 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>",
  "MD5sum": "76eb26f3f90742bb63c5dfa64082dbb5",
  "_user": "yanrong-stacy-song",
  "_type": "src",
  "_file": "creditr_0.6.2.tar.gz",
  "_fileid": "855ed065dbdbf9f6c4aae638067b97e60079e357d3a9b0fbf78129c696c352d1",
  "_filesize": 1446909,
  "_sha256": "855ed065dbdbf9f6c4aae638067b97e60079e357d3a9b0fbf78129c696c352d1",
  "_created": "2026-06-05T06:06:35.000Z",
  "_published": "2026-06-07T06:07:26.312Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79936117795,
      "time": 141,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79936118045,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7429970915"
    },
    {
      "job": 79936117793,
      "time": 156,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79936118132,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7429977292"
    },
    {
      "job": 79936118136,
      "time": 172,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7429987812"
    },
    {
      "job": 79936118128,
      "time": 253,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7429995844"
    },
    {
      "job": 79936118054,
      "time": 166,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7429978456"
    },
    {
      "job": 79936117861,
      "time": 420,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7430036017"
    },
    {
      "job": 79936117708,
      "time": 223,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7429941104"
    },
    {
      "job": 79936117984,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7429972026"
    },
    {
      "job": 79936117987,
      "time": 134,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7429971077"
    },
    {
      "job": 79936117890,
      "time": 119,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7429967916"
    },
    {
      "job": 79936118051,
      "time": 179,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7429982271"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/26998444354",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": [
    {
      "week": "2025-25",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 2
    },
    {
      "week": "2025-33",
      "n": 4
    },
    {
      "week": "2025-35",
      "n": 3
    },
    {
      "week": "2025-36",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.6.2",
      "date": "2025-08-15"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yanrong-stacy-song",
      "count": 62,
      "uuid": 48292717
    }
  ],
  "_userbio": {
    "uuid": 48292717,
    "type": "user",
    "name": "yanrong_s"
  },
  "_downloads": {
    "count": 579,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/creditr"
  },
  "_devurl": "https://github.com/yanrong-stacy-song/creditr",
  "_searchresults": 35,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/creditr.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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": [],
      "created": "2024-12-15 16:44:25",
      "modified": "2025-05-21 23:50:57",
      "commits": 7
    }
  ],
  "_score": 4.942008053022313,
  "_indexed": true,
  "_nocasepkg": "creditr",
  "_universes": [
    "yanrong-stacy-song"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.2",
      "date": "2026-06-05T06:08:47.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "655ba3b89523034c7721d4a43b7a9abd4c13462f0ecaa6a48b68fd0a1b861d9d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/26998444354"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.2",
      "date": "2026-06-05T06:09:15.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "28a576a0906eb46d4737723e7b75c14ac78babe739aa8b8c898f9a5bbadcb2b8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/26998444354"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-06-05T06:10:06.000Z",
      "arch": "aarch64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "1426b402feb8e641b6b618ee11c4fbde8fdc58960b9b3b209091720c3ac5c5da",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/26998444354"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-06-05T06:10:23.000Z",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "d9709994b86cac7bb68826ec59b9f6e6c10fa1f0bc0ba0915ffca85b2dffa9c8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/26998444354"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-06-05T06:09:19.000Z",
      "arch": "aarch64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "18dfc7b34d7c20575330eb5e85d19eaad814fd756ab5badc4e90b23b2d5a85a6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/26998444354"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-06-05T06:12:56.000Z",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "730d2296489b01cc61d895b38658046451802bcc7d07ed958f16e47c0ba38d7f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/26998444354"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.2",
      "date": "2026-06-05T06:08:59.000Z",
      "arch": "emscripten",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "a61ed647265b70fb62ca7dcc2c6e02542883491fe967634f65f1f4f1f40d3692",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/26998444354"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-06-05T06:08:02.000Z",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "a45422fe2a5b06180653c5ed4912001d4956af43e19e5d06c7c2976efe92974a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/26998444354"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-06-05T06:07:54.000Z",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "326ad99343e0961be21b1f1012f772cf15fc5101bc5875251d099877949ca514",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/26998444354"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-06-05T06:08:42.000Z",
      "arch": "x86_64",
      "commit": "9f070a1c0e916ef3867925612829d1ac4a456e4c",
      "fileid": "35932258e2d7e152a2161f807c8809f2ef9c3202466508eeec6b735180882a84",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/yanrong-stacy-song/actions/runs/26998444354"
    }
  ]
}