Skip to content

Commit

Permalink
new cran release
Browse files Browse the repository at this point in the history
  • Loading branch information
MHaringa committed Sep 6, 2022
1 parent a93b4fb commit feff999
Show file tree
Hide file tree
Showing 62 changed files with 1,628 additions and 1,048 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
@@ -1,7 +1,7 @@
Package: insurancerating
Type: Package
Title: Analytic Insurance Rating Techniques
Version: 0.7.0.9000
Version: 0.7.1
Authors@R: c(person("Martin", "Haringa", role = c("aut", "cre"), email = "mtharinga@gmail.com"))
Maintainer: Martin Haringa <mtharinga@gmail.com>
BugReports: https://github.com/mharinga/insurancerating/issues
Expand Down
2 changes: 0 additions & 2 deletions R/univariate.R
Expand Up @@ -93,14 +93,12 @@ univariate <- function(df, x, severity = NULL, nclaims = NULL, exposure = NULL,
stop("Define column names.", call. = FALSE)
}

#BY <- as.call(c(as.symbol("list"), substitute(x), byl))
BY <- as.call(c(as.symbol("list"), as.symbol(.xvar), byl))
dt <- eval(bquote(data.table(df)[, lapply(.SD, sum, na.rm = TRUE),
by = .(BY), .SDcols = .(COLS)]))

dt1 <- NULL
if (!missing(by)){
# BYx <- as.call(c(as.symbol("list"), substitute(x)))
BYx <- as.call(c(as.symbol("list"), as.symbol(.xvar)))
dt1 <- eval(bquote(
data.table::data.table(df)[, lapply(.SD, sum, na.rm = TRUE),
Expand Down
1 change: 1 addition & 0 deletions _pkgdown.yml
Expand Up @@ -31,6 +31,7 @@ reference:
Calculate and plot rating factors obtained from (multiple) (generalized) lineair model objects
contents:
- rating_factors
- rating_factors1
- autoplot.riskfactor
- title: "Data sets"
contents:
Expand Down
4 changes: 2 additions & 2 deletions cran-comments.md
@@ -1,8 +1,8 @@
## Resubmission
This is a resubmission. In this version:

* `smooth_coef()` now gives correct results for intervals with scientific notation
* `reduce()` now returns no errors anymore for columns with dates in POSIXt format
* `rotate_angle` in `autoplot.univariate()` is added to rotate x-labels
* `univariate()` now accepts external vectors for `x`; `vec_ext()` must be used

## Test environments
* local OS X install, R 4.2.0
Expand Down
4 changes: 2 additions & 2 deletions docs/404.html

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

8 changes: 4 additions & 4 deletions docs/authors.html

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

691 changes: 368 additions & 323 deletions docs/index.html

Large diffs are not rendered by default.

20 changes: 17 additions & 3 deletions docs/news/index.html

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

6 changes: 3 additions & 3 deletions docs/pkgdown.yml
@@ -1,6 +1,6 @@
pandoc: 2.14.0.3
pkgdown: 2.0.1
pandoc: 2.17.1.1
pkgdown: 2.0.6
pkgdown_sha: ~
articles: {}
last_built: 2021-12-11T16:21Z
last_built: 2022-09-06T07:09Z

6 changes: 3 additions & 3 deletions docs/reference/MTPL.html

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

6 changes: 3 additions & 3 deletions docs/reference/MTPL2.html

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

Binary file modified docs/reference/Rplot002.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/reference/Rplot003.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 22 additions & 11 deletions docs/reference/add_prediction.html

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

19 changes: 14 additions & 5 deletions docs/reference/autoplot.bootstrap_rmse.html

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

0 comments on commit feff999

Please sign in to comment.