Skip to content

Commit

Permalink
Release v0.8.1: Hotfix CRAN errors
Browse files Browse the repository at this point in the history
* Fix importing issue after package lubridate does no longer use Rcpp
  • Loading branch information
pschil authored Oct 22, 2021
2 parents 6582677 + d9e273e commit d8709cc
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
13 changes: 7 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: CLVTools
Title: Tools for Customer Lifetime Value Estimation
Version: 0.8.0
Date: 2021-03-22
Version: 0.8.1
Date: 2021-10-13
Authors@R: c(
person(given="Patrick", family="Bachmann", email = "[email protected]", role = c("cre","aut")),
person(given="Niels", family="Kuebler", email = "[email protected]", role = "aut"),
Expand Down Expand Up @@ -34,10 +34,11 @@ Description:
Imports:
data.table (>= 1.12.0),
ggplot2 (>= 3.2.0),
lubridate (>= 1.7.8),
Matrix (>= 1.2-17),
lubridate (>= 1.7.8),
Matrix (>= 1.2-17),
MASS,
optimx (>= 2019-12.02),
Rcpp(>= 0.12.12),
stats,
utils
Suggests:
Expand All @@ -51,7 +52,7 @@ URL: https://github.com/bachmannpatrick/CLVTools
BugReports: https://github.com/bachmannpatrick/CLVTools/issues
NeedsCompilation: yes
SystemRequirements: C++11
LinkingTo: Rcpp(>= 0.12.12), RcppArmadillo (>= 0.9.500.2.0), RcppGSL (>= 0.3.7)
LinkingTo: Rcpp, RcppArmadillo (>= 0.9.500.2.0), RcppGSL (>= 0.3.7)
LazyLoad: yes
Encoding: UTF-8
Collate:
Expand Down Expand Up @@ -141,5 +142,5 @@ Collate:
'pnbd_dyncov_expectation.R'
'pnbd_dyncov_makewalks.R'
'pnbd_dyncov_palive.R'
RoxygenNote: 7.1.1
RoxygenNote: 7.1.2
VignetteBuilder: knitr
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import(data.table)
import(optimx)
importFrom(MASS,ginv)
importFrom(Matrix,nearPD)
importFrom(Rcpp,evalCpp)
importFrom(ggplot2,aes)
importFrom(ggplot2,element_blank)
importFrom(ggplot2,element_line)
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# CLVTools 0.8.1

### BUG FIXES
* Fix importing issue after package lubridate does no longer use Rcpp



# CLVTools 0.8.0

### NEW FEATURES
Expand Down
1 change: 1 addition & 0 deletions R/CLVTools.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#'
#' @docType package
#' @useDynLib CLVTools, .registration=TRUE
#' @importFrom Rcpp evalCpp
#' @import data.table
#' @importFrom methods setClass
"_PACKAGE"
Expand Down
3 changes: 1 addition & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Comment from the authors
This is version 0.8 of the CLVTools package. We drastically reduce runtime for the extended Pareto/NBD model by refactoring part of the log-likelihood in Rcpp. A bug was fixed which would not allow to use the optimization methods "nlm" and "nlminb" in optimx for our methods
Further, documentation was improved.
This is version 0.8.1 of the CLVTools package. It fixes an import issue with Rcpp after package lubridate does no longer use Rcpp. This caused the package to fail tests on CRAN and threatens to remove it from CRAN in the coming days. The changes in this version address this.



Expand Down

0 comments on commit d8709cc

Please sign in to comment.