From 9af839588e0e69aad9a5450eaa8d573be9b19481 Mon Sep 17 00:00:00 2001
From: Reinhold Kainhofer <reinhold@kainhofer.com>
Date: Tue, 7 Nov 2023 00:48:45 +0100
Subject: [PATCH] CRAN_V0.0.6: Final submission to CRAN to deprecate the
 LifeInsuranceContracts package in favour of LifeInsureR

---
 .Rbuildignore     |  2 ++
 CRAN-SUBMISSION   |  3 +++
 LifeInsureR.Rproj | 22 ++++++++++++++++++++++
 cran-comments.md  | 14 ++++++++++++++
 4 files changed, 41 insertions(+)
 create mode 100644 CRAN-SUBMISSION
 create mode 100644 LifeInsureR.Rproj
 create mode 100644 cran-comments.md

diff --git a/.Rbuildignore b/.Rbuildignore
index 75d241a..6e21356 100644
--- a/.Rbuildignore
+++ b/.Rbuildignore
@@ -8,3 +8,5 @@
 ^Examples
 .Rbuildignore$
 
+^CRAN-SUBMISSION$
+^cran-comments\.md$
diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION
new file mode 100644
index 0000000..59aa442
--- /dev/null
+++ b/CRAN-SUBMISSION
@@ -0,0 +1,3 @@
+Version: 0.0.6
+Date: 2023-11-06 23:47:54 UTC
+SHA: dd74d09e84d3ab09e237c46cb884e7cb204d6ffa
diff --git a/LifeInsureR.Rproj b/LifeInsureR.Rproj
new file mode 100644
index 0000000..8e76292
--- /dev/null
+++ b/LifeInsureR.Rproj
@@ -0,0 +1,22 @@
+Version: 1.0
+
+RestoreWorkspace: Default
+SaveWorkspace: Default
+AlwaysSaveHistory: Default
+
+EnableCodeIndexing: Yes
+UseSpacesForTab: Yes
+NumSpacesForTab: 4
+Encoding: UTF-8
+
+RnwWeave: knitr
+LaTeX: pdfLaTeX
+
+AutoAppendNewline: Yes
+StripTrailingWhitespace: Yes
+
+BuildType: Package
+PackageUseDevtools: Yes
+PackageInstallArgs: --no-multiarch --with-keep.source
+PackageCheckArgs: --as-cran
+PackageRoxygenize: rd,collate,namespace,vignette
diff --git a/cran-comments.md b/cran-comments.md
new file mode 100644
index 0000000..5c46963
--- /dev/null
+++ b/cran-comments.md
@@ -0,0 +1,14 @@
+## R CMD check results
+
+0 errors | 0 warnings | 1 note
+
+* Sunsetting the LifeInsuranceContracts packge in favor of LifeInsureR.
+This version ensures a seamless transition path for existing code using the 
+LifeInsuranceContracts package. It will automatically install the new LifeInsureR
+package, load it on loading and in addition print out a warning (on loading) to
+use the new name instead.
+
+Since the LifeInsureR package will export the same names as the previous 
+LifeInsuranceContracts package, almost all code will continue to work. The only 
+exception is when (internal) functions are explicitly called like 
+LifeInsuranceContracts:::internalFuntion(...)
-- 
GitLab