Skip to content

Portfolio Management with R

0packages dependsuggested by 1
5.7Kdownloads / year
58.6%test coverage
13/13flavors OK

Overview

About

Tools for the practical management of financial portfolios: backtesting investment and trading strategies, computing profit/loss and returns, analysing trades, handling lists of transactions, reporting, and more. The package provides a small set of reliable, efficient and convenient tools for processing and analysing trade/portfolio data. The manual provides all the details; it is available from https://enricoschumann.net/R/packages/PMwR/manual/PMwR.html. Examples and descriptions of new features are provided at https://enricoschumann.net/notes/PMwR/.

Changes in 1.3-0
  • 'rc': "geometric" linking methods are no longer documented, and "0-cumulative", "1-cumulative" and "0.5-cumulative" should be used (instead "geometric0", "geometric1" and "geometric0.5"), since these are the terms used in Valtonen (2002). (The old labels still work, though.)
  • 'rc': When benchmark returns or weights are specified and 'method' is not explicitly set, 'method' is set to "attribution". To keep the old behaviour, set 'method' to "contribution".
  • A short vignette for 'rc' has been added.
  • 'position': the 'btest' method gains arguments "unit" and "prices"
Show all changes in 1.3-0Hide the rest of the changes in 1.3-0

From NEWS in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.7 min · r-release-windows-x86_64
Status changes
  • OK13 OK2026-10-20
  • WARNING12 OK, 2 WARNING2026-03-10
Advisories

none known

Documentation

In release 1.3-0
READMEYes · 268 wordsVignettesYes · 7 · dynamicNEWSYes · 0% structured · mentions 1.3-0Citation fileYes · computed when R runs itWebsiteYes
Help pages
25 (1 internal)includes a package overview page
Examples that run
100%22 run in a plain check
Exported functions with examples
100%
Documented parameters
99%
Return-value docs
100%
Help pages citing references
92%

Downloads

5.7K
CRAN downloads in the past year
Rank #9,302 · ~16/day · ~472/mo
Daily download trend is not available in this view yet.
48630 days
1K90 days
5.7K1 year
Compare downloads with other packages →
Also on1K r2u6 autocran

Repository

Responsiveness
not measured

Stars over time

2025-10-20 · 632025-12-21 · 64
Earlier repositories
PracticesBeta

Repository git.sr.ht/~enricoschumann/pmwr is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing PMwR adds 6 packages (2 with compiled code, 3.0 MB of source tarballs). Heaviest: NMOF 1.9 MB, zoo 675 KB, datetimeutils 173 KB.

Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.10-1 (2018)
Releases (17)

Pick two releases to compare their code metrics.

Show 10 earlier eventsHide 10 earlier events

Package metadata

First published
2018-10-28
Total releases
17 / 8 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5
Bundled data
6.2 KB / 2 files
Download size
1.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("PMwR")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for PMwR version 1.3-0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy