Skip to content

Commit 91291b4

Browse files
committed
changes to make CRAN checks happy
1 parent a1833d7 commit 91291b4

13 files changed

Lines changed: 44 additions & 13 deletions

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ sandbox
22
generatechangelog.sh
33
ChangeLog.1.0.0
44
ChangeLog
5+
NEWS
56
^.*\.Rproj$
67
^\.Rproj\.user$
78
codeblock.txt
89
^\.travis.yml
910
cran-comments.md
1011
^\.github$
12+
PerformanceAnalytics-Ex.Rout.save

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ Authors@R: c(
1515
, person(given="Diethelm",family="Wuertz",role="ctb")
1616
, person(given=c("Anthony","Alexander"),family="Christidis",role="ctb")
1717
, person(given="R. Douglas",family="Martin",role="ctb")
18-
, person(given=c("Zeheng", "'Zenith'"),family="Zhou",role="ctb")
18+
, person(given=c("Zeheng", "Zenith"),family="Zhou",role="ctb")
1919
, person(given=c("Justin", "M."),family="Shea",role="ctb")
2020
, person(given="Dhairya",family="Jain",role="ctb")
2121
)
22-
Version: 2.0.6
23-
Date: 2020-03-03
22+
Version: 2.0.8
23+
Date: 2024-12-04
2424
Description: Collection of econometric functions for performance and risk
2525
analysis. In addition to standard risk and performance metrics, this
2626
package aims to aid practitioners and researchers in utilizing the latest
@@ -63,4 +63,4 @@ Encoding: UTF-8
6363
LazyData: true
6464
URL: https://github.com/braverock/PerformanceAnalytics
6565
Copyright: (c) 2004-2022
66-
RoxygenNote: 7.2.3
66+
RoxygenNote: 7.3.2

R/CAPM.utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ CAPM.CML <- SFM.CML <-function (Ra, Rb, Rf = 0)
8585
#' Probably the most complete criticism of CAPM in actual practice (as opposed
8686
#' to structural or theory critiques) is that it posits a market equilibrium,
8787
#' but is most often used only in a partial equilibrium setting, for example by
88-
#' using the S\&P 500 as the benchmark asset. A better method of using and
88+
#' using the S&P 500 as the benchmark asset. A better method of using and
8989
#' testing the CAPM would be to use a general equilibrium model that took
9090
#' global assets from all asset classes into consideration.
9191
#'

R/PerformanceAnalytics-package.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#'
3131
#' @name PerformanceAnalytics-package
3232
#' @aliases PerformanceAnalytics-package PerformanceAnalytics
33-
#' @docType package
3433
#'
3534
#' @section Time Series Data:
3635
#'
@@ -876,4 +875,4 @@
876875
#'
877876
#'
878877
#' @keywords package
879-
NULL
878+
"_PACKAGE"

R/Return.portfolio.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
#' xts Date subsetting via endpoints.
5555
#'
5656
#' In verbose mode, the function returns a list of data and intermediary calculations.
57-
#' \itemize{
57+
#' \describe{
5858
#' \item{\code{returns}:}{ The portfolio returns.}
5959
#' \item{\code{contribution}:}{ The per period contribution to portfolio
6060
#' return of each asset. Contribution is calculated as BOP weight times the

R/chart.ECDF.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#' @param ylab set the y-axis label, same as in \code{\link{plot}}
1717
#' @param xaxis if true, draws the x axis
1818
#' @param yaxis if true, draws the y axis
19-
#' @param colorset color palette to use, defaults to c("black", "\#005AFF"),
19+
#' @param colorset color palette to use, defaults to c("black", "#005AFF"),
2020
#' where first value is used to color the step function and the second color is
2121
#' used for the fitted normal
2222
#' @param lwd set the line width, same as in \code{\link{plot}}

man/CAPM.RiskPremium.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/PerformanceAnalytics-package.Rd

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/Return.portfolio.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/chart.ECDF.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)