AssetPricing
Optimal Pricing of Assets with Fixed Expiry Date
Description
Calculates the optimal price of assets (such as airline flight seats, hotel room bookings) whose value becomes zero after a fixed ``expiry date''. Assumes potential customers arrive (possibly in groups) according to a known inhomogeneous Poisson process. Also assumes a known time-varying elasticity of demand (price sensitivity) function. Uses elementary techniques based on ordinary differential equations. Uses the package deSolve to effect the solution of these differential equations.
Downloads
384
Last 30 days
11301st
948
Last 90 days
4.8K
Last year
Trend: +48.3% (30d vs prior 30d)
0
Last 30 days
25
Last 90 days
110
Last year
Trend: -100% (30d vs prior 30d)
4
Last 7 days
28
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-windows-x86_64 | NOTE |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | NOTE |
| r-release-linux-x86_64 | NOTE |
| r-release-macos-arm64 | NOTE |
| r-release-macos-x86_64 | NOTE |
| r-release-windows-x86_64 | NOTE |
Check details (15 non-OK)
CRAN incoming feasibility
Maintainer: ‘Rolf Turner <r.turner@auckland.ac.nz>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Rolf",
family = "Turner",
role = c("aut", "cre"),
email = "r.turner@auckland.ac.nz")
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
CRAN incoming feasibility
Maintainer: ‘Rolf Turner <r.turner@auckland.ac.nz>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Rolf",
family = "Turner",
role = c("aut", "cre"),
email = "r.turner@auckland.ac.nz")
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Check History
NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Rolf Turner <r.turner@auckland.ac.nz>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Rolf",
family = "Turner",
role = c("aut", "cre"),
...[truncated]...
and.ac.nz")
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
CRAN incoming feasibility
Maintainer: ‘Rolf Turner <r.turner@auckland.ac.nz>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Rolf",
family = "Turner",
role = c("aut", "cre"),
...[truncated]...
and.ac.nz")
as necessary.
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Rd files
checkRd: (-1) plot.AssetPricing.Rd:199-200: Lost braces
199 | yakka. (Note that \code{flap} stands for dQuote{function list
| ^
Code
Structure
Lines of code
9,881
Files
72
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
22
Internal functions
5
Recent export changes
Testing & CI
Has tests
No
Test-to-code ratio
0.00
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
80%
\dontrun example ratio
25%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
No
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
100%
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
0.99
System requirements
–
C++ standard
–
License
GPL (>= 2)
License flags
SPDX valid, OSI approved
History
Versions
9
First release
2012-11-07
Latest release
2021-10-07
Avg cadence
142 days
Cold removal rate
–
Dep drift
1
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.