Skip to content

Commit

Permalink
more CRAN check wrappers. now a clean pretest check on CRAN with this…
Browse files Browse the repository at this point in the history
… version
  • Loading branch information
braverock committed Dec 8, 2024
1 parent 1822864 commit 7ae051f
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ License: GPL-2 | GPL-3
Encoding: UTF-8
LazyData: true
URL: https://github.com/braverock/PerformanceAnalytics
Copyright: (c) 2004-2022
Copyright: (c) 2004-2024
RoxygenNote: 7.3.2
4 changes: 3 additions & 1 deletion R/chart.SFM.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
#' 1964, 425-442. \cr
###keywords ts multivariate distribution models
#' @examples
#'
#' \donttest{ # CRAN tests if Suggested packages are loaded
#' data(managers)
#'
#' mgrs <- managers["2002/"] # So that all have managers have complete history
Expand All @@ -57,7 +59,7 @@
#' chart.SFM(mgrs[,k],mgrs$SP500,mgrs$RF,makePct = TRUE,
#' main = names(mgrs[,k]))
#' }
#'
#' }
#'
#' @importFrom stats summary.lm
#' @rdname chart.SFM
Expand Down
3 changes: 2 additions & 1 deletion R/table.Autocorrelation.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#' Introduction and Overview. SSRN eLibrary.
###keywords ts multivariate distribution models
#' @examples
#' \donttest{ # CRAN does not allow examples to load suggested packages in one of its tests
#'
#' data(managers)
#' t(table.Autocorrelation(managers))
Expand All @@ -31,7 +32,7 @@
#' wrap.colnames=10, mar = c(0,0,3,0)+0.1)
#'
#' title(main="Autocorrelation")
#'
#' }
#' @export
table.Autocorrelation <-
function (R, digits = 4, max.lag = 6)
Expand Down
5 changes: 3 additions & 2 deletions R/table.CAPM.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@
#' \code{\link{InformationRatio}} \cr \code{\link{TreynorRatio}}
###keywords ts multivariate distribution models
#' @examples
#'
#' \donttest{ # CRAN does not allow examples to load suggested packages in one of its tests
#' data(managers)
#' table.SFM(managers[,1:3], managers[,8], Rf = managers[,10])
#'
#' result = table.SFM(managers[,1:3], managers[,8], Rf = managers[,10])
#' require(Hmisc)
#' textplot(result, rmar = 0.8, cmar = 1.5, max.cex=.9,
#' halign = "center", valign = "top", row.valign="center",
#' wrap.rownames=15, wrap.colnames=10, mar = c(0,0,3,0)+0.1)
#' title(main="Single Factor Model Related Statistics")
#'
#'}
#' @rdname table.CAPM
#' @aliases
#' table.CAPM
Expand Down
4 changes: 3 additions & 1 deletion man/chart.SFM.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/table.Autocorrelation.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions man/table.CAPM.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7ae051f

Please sign in to comment.