Skip to content

derivmkts

Functions and R Code to Accompany Derivatives Markets

v0.2.5.1 · Feb 10, 2026 · MIT + file LICENSE

Description

A set of pricing and expository functions that should be useful in teaching a course on financial derivatives.

Downloads

CRAN

467

Last 30 days

8971st

1.5K

Last 90 days

7.6K

Last year

Trend: -4.7% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

23

Last 90 days

116

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

5

Last 7 days

16

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

c2d4u legacy CRAN

5

Last 30 days

17

Last 90 days

28

Last year

Trend: -28.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'derivmkts-vignette.Rmd' using rmarkdown
! Package pdftex.def Error: File `ece798b39fed237b9c3e58f5523045f654f5871c.pdf'
 not found: using draft setting.

Error: processing vignette 'derivmkts-vignet
...[truncated]...
/#debugging for debugging tips. See derivmkts-vignette.log for more info.
--- failed re-building 'derivmkts-vignette.Rmd'

SUMMARY: processing the following file failed:
  'derivmkts-vignette.Rmd'

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Line coverage

Expression

Tests / Examples

Functions

108 80 exported

Complexity

1.9 avg / 16 max

Call network

108 nodes / 144 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Compare versions

Code

Structure

Lines of code

8,309

Files

58

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,502 (30.1%)Tests 608 (7.3%)Docs 1,240 (14.9%)Vignettes 3,959 (47.6%)

API

Exported functions

78

Internal functions

28

Recent export changes

v0.2.4+1 simprice

Testing & CI

Has tests

Yes

Test-to-code ratio

0.24

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

93.3%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.0.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

8

First release

2016-05-08

Latest release

2026-02-10

Avg cadence

352 days

Cold removal rate

Dep drift

3

LOC over versions

v0.2.0: 4,316 LOCv0.2.1: 6,534 LOCv0.2.2: 6,572 LOCv0.2.2.1: 6,629 LOCv0.2.3: 7,077 LOCv0.2.4: 6,679 LOCv0.2.5: 6,821 LOCv0.2.5.1: 8,309 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies mnormt derivmkts

Version History

9 tracked
new 0.2.5.1 Mar 10, 2026
updated 0.2.5.1 ← 0.2.5 diff Feb 9, 2026
updated 0.2.5 ← 0.2.4 diff Apr 10, 2022
updated 0.2.4 ← 0.2.3 diff Jun 5, 2019
updated 0.2.3 ← 0.2.2.1 diff Jun 18, 2018
updated 0.2.2.1 ← 0.2.2 diff Apr 4, 2018
updated 0.2.2 ← 0.2.1 diff Sep 4, 2016
updated 0.2.1 ← 0.2.0 diff Jun 26, 2016
new 0.2.0 May 7, 2016