Skip to content

Commit 73f1b62

Browse files
renaming Pt.1
1 parent f581354 commit 73f1b62

File tree

10 files changed

+53
-53
lines changed

10 files changed

+53
-53
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
src/*.o
66
src/*.so
77
src/*.dll
8-
ESGtoolkit.Rcheck/
9-
ESGtoolkit*.tar.gz
10-
ESGtoolkit*.tgz
8+
esgtoolkit.Rcheck/
9+
esgtoolkit*.tar.gz
10+
esgtoolkit*.tgz
1111
docs

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# `ESGtoolkit` Code of Conduct
1+
# `esgtoolkit` Code of Conduct
22

33
## 1. Purpose
44

DESCRIPTION

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
Package: ESGtoolkit
1+
Package: esgtoolkit
22
Type: Package
33
Title: Toolkit for Monte Carlo Simulations
4-
Version: 0.6.0
5-
Date: 2023-09-16
4+
Version: 1.0.0
5+
Date: 2023-10-09
66
Authors@R: c(
77
person("T.", "Moudiki", , "thierry.moudiki@gmail.com", role = c("aut", "cre")
88
)
99
)
10-
URL: https://techtonique.github.io/ESGtoolkit/
11-
BugReports: https://github.com/Techtonique/ESGtoolkit/issues
10+
URL: https://github.com/Techtonique/esgtoolkit
11+
BugReports: https://github.com/Techtonique/esgtoolkit/issues
1212
Maintainer: T. Moudiki <thierry.moudiki@gmail.com>
1313
Description: A toolkit for Monte Carlo Simulations in Finance, Economics, Insurance, Physics. Multiple simulation models can be created by combining building blocks provided in the package.
1414
License: BSD_3_clause Clear + file LICENSE

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ importFrom("graphics", "abline", "lines", "matplot", "par", "plot",
2727
importFrom("stats", "cor", "cor.test", "deltat", "end", "is.ts", "pt",
2828
"qnorm", "qt", "quantile", "sd", "start", "t.test", "time",
2929
"ts", "tsp", "window")
30-
useDynLib("ESGtoolkit")
30+
useDynLib("esgtoolkit")
3131

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
- Use [VineCopula](http://tnagler.github.io/VineCopula/) package instead of CDVine (archived) for dependency simulation (means there's also now VineCopula's R-Vine Copulas simulation)
1818
- Remove roxygen2 comments
19-
- Create website with pkgdown, including docs --> https://techtonique.github.io/ESGtoolkit/
19+
- Create website with pkgdown, including docs --> https://techtonique.github.io/esgtoolkit/
2020

2121

2222
# version 0.2.0

R/RcppExports.R

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,38 +2,38 @@
22
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
33

44
rnormESGcpp <- function(N, M) {
5-
.Call('_ESGtoolkit_rnormESGcpp', PACKAGE = 'ESGtoolkit', N, M)
5+
.Call('_esgtoolkit_rnormESGcpp', PACKAGE = 'esgtoolkit', N, M)
66
}
77

88
rOUESGcpp <- function(N, horizon, Delta, x0, theta, eps) {
9-
.Call('_ESGtoolkit_rOUESGcpp', PACKAGE = 'ESGtoolkit', N, horizon, Delta, x0, theta, eps)
9+
.Call('_esgtoolkit_rOUESGcpp', PACKAGE = 'esgtoolkit', N, horizon, Delta, x0, theta, eps)
1010
}
1111

1212
rOUESGcppexact <- function(N, horizon, Delta, x0, theta, eps) {
13-
.Call('_ESGtoolkit_rOUESGcppexact', PACKAGE = 'ESGtoolkit', N, horizon, Delta, x0, theta, eps)
13+
.Call('_esgtoolkit_rOUESGcppexact', PACKAGE = 'esgtoolkit', N, horizon, Delta, x0, theta, eps)
1414
}
1515

1616
rCIRESGcpp <- function(N, horizon, Delta, x0, theta, eps) {
17-
.Call('_ESGtoolkit_rCIRESGcpp', PACKAGE = 'ESGtoolkit', N, horizon, Delta, x0, theta, eps)
17+
.Call('_esgtoolkit_rCIRESGcpp', PACKAGE = 'esgtoolkit', N, horizon, Delta, x0, theta, eps)
1818
}
1919

2020
rCIRESGcppexact <- function(N, horizon, Delta, x0, theta, eps) {
21-
.Call('_ESGtoolkit_rCIRESGcppexact', PACKAGE = 'ESGtoolkit', N, horizon, Delta, x0, theta, eps)
21+
.Call('_esgtoolkit_rCIRESGcppexact', PACKAGE = 'esgtoolkit', N, horizon, Delta, x0, theta, eps)
2222
}
2323

2424
rGBMESGcpp <- function(N, horizon, Delta, x0, theta1, theta2, eps) {
25-
.Call('_ESGtoolkit_rGBMESGcpp', PACKAGE = 'ESGtoolkit', N, horizon, Delta, x0, theta1, theta2, eps)
25+
.Call('_esgtoolkit_rGBMESGcpp', PACKAGE = 'esgtoolkit', N, horizon, Delta, x0, theta1, theta2, eps)
2626
}
2727

2828
rGBMjumpsnormESGcpp <- function(N, horizon, Delta, x0, theta1, theta2, lambda, mu, sigma, eps) {
29-
.Call('_ESGtoolkit_rGBMjumpsnormESGcpp', PACKAGE = 'ESGtoolkit', N, horizon, Delta, x0, theta1, theta2, lambda, mu, sigma, eps)
29+
.Call('_esgtoolkit_rGBMjumpsnormESGcpp', PACKAGE = 'esgtoolkit', N, horizon, Delta, x0, theta1, theta2, lambda, mu, sigma, eps)
3030
}
3131

3232
rGBMjumpskouESGcpp <- function(N, horizon, Delta, x0, theta1, theta2, lambda, eta_up, eta_down, p, eps) {
33-
.Call('_ESGtoolkit_rGBMjumpskouESGcpp', PACKAGE = 'ESGtoolkit', N, horizon, Delta, x0, theta1, theta2, lambda, eta_up, eta_down, p, eps)
33+
.Call('_esgtoolkit_rGBMjumpskouESGcpp', PACKAGE = 'esgtoolkit', N, horizon, Delta, x0, theta1, theta2, lambda, eta_up, eta_down, p, eps)
3434
}
3535

3636
TAGcorecpp <- function(sim, sj_down, sj_up, n, p) {
37-
.Call('_ESGtoolkit_TAGcorecpp', PACKAGE = 'ESGtoolkit', sim, sj_down, sj_up, n, p)
37+
.Call('_esgtoolkit_TAGcorecpp', PACKAGE = 'esgtoolkit', sim, sj_down, sj_up, n, p)
3838
}
3939

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
ESGtoolkit | <a class="github-button" href="https://github.com/Techtonique/esgtoolkit/stargazers" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Star esgtoolkit/esgtoolkit on GitHub">Star</a>
1+
esgtoolkit | <a class="github-button" href="https://github.com/Techtonique/esgtoolkit/stargazers" data-color-scheme="no-preference: light; light: light; dark: dark;" data-size="large" aria-label="Star esgtoolkit/esgtoolkit on GitHub">Star</a>
22
==========
33

4-
[![Downloads](https://cranlogs.r-pkg.org/badges/ESGtoolkit)](https://cran.r-project.org/package=ESGtoolkit) (Not on CRAN anymore, so this is certainly not accurate... )
4+
[![Downloads](https://cranlogs.r-pkg.org/badges/esgtoolkit)](https://cran.r-project.org/package=esgtoolkit) (Not on CRAN anymore, so this is certainly not accurate... )
55

6-
[![Last Commit](https://img.shields.io/github/last-commit/Techtonique/ESGtoolkit)](https://github.com/Techtonique/ESGtoolkit)
6+
[![Last Commit](https://img.shields.io/github/last-commit/Techtonique/esgtoolkit)](https://github.com/Techtonique/esgtoolkit)
77

88

99
A toolkit for Monte Carlo Simulations in Finance, Economics, Insurance, Physics. Multiple simulation models can be created by combining building blocks provided in the package.
1010

1111
For __more details__, you can read the package [vignette on
12-
ResearchGate](https://www.researchgate.net/publication/338549100_ESGtoolkit_a_tool_for_stochastic_simulation_v020). Functions' documentation can be found in section 'Reference' of the [website](https://techtonique.github.io/ESGtoolkit/).
12+
ResearchGate](https://www.researchgate.net/publication/338549100_esgtoolkit_a_tool_for_stochastic_simulation_v020). Functions' documentation can be found in section 'Reference' of the [website](https://techtonique.github.io/esgtoolkit/).
1313

1414
# Table of Contents
1515

@@ -25,7 +25,7 @@ ResearchGate](https://www.researchgate.net/publication/338549100_ESGtoolkit_a_to
2525

2626
```r
2727
library(devtools)
28-
devtools::install_github("Techtonique/ESGtoolkit")
28+
devtools::install_github("Techtonique/esgtoolkit")
2929
```
3030

3131
- From R universe:
@@ -37,19 +37,19 @@ options(repos = c(
3737
CRAN = 'https://cloud.r-project.org'))
3838

3939
# Install some packages
40-
install.packages('ESGtoolkit')
40+
install.packages('esgtoolkit')
4141
```
4242

4343
# Quickstart
4444

4545
In addition to the example below, you can read:
4646
- [this blog](https://thierrymoudiki.wordpress.com/)'s archives
47-
- the functions' examples in section 'Reference' on [the website](https://techtonique.github.io/ESGtoolkit/)
47+
- the functions' examples in section 'Reference' on [the website](https://techtonique.github.io/esgtoolkit/)
4848
contain code + a lot graphs
4949

5050

5151
```r
52-
library(ESGtoolkit)
52+
library(esgtoolkit)
5353

5454
# Geometric Brownian Motion (https://en.wikipedia.org/wiki/Geometric_Brownian_motion)
5555

@@ -72,7 +72,7 @@ If you're not comfortable with Git/Version Control yet, please use [this form](h
7272

7373
# License
7474

75-
[BSD 3-Clause Clear](https://techtonique.github.io/ESGtoolkit/LICENSE-text.html) © Thierry Moudiki, 2014.
75+
[BSD 3-Clause Clear](https://techtonique.github.io/esgtoolkit/LICENSE-text.html) © Thierry Moudiki, 2014.
7676

7777

7878
<script async defer src="https://buttons.github.io/buttons.js"></script>

_pkgdown.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ template:
22
params:
33
bootswatch: darkly
44
ganalytics: UA-146345113-2
5-
url: https://techtonique.github.io/ESGtoolkit/
5+
url: https://techtonique.github.io/esgtoolkit/
66
home:
77
title: A Toolkit for Monte Carlo Simulations
88
description: >
@@ -14,8 +14,8 @@ authors:
1414
repo:
1515
url:
1616
home: https://github.com/Techtonique/
17-
source: https://github.com/Techtonique/ESGtoolkit/
18-
issue: https://github.com/Techtonique/ESGtoolkit/issues
17+
source: https://github.com/Techtonique/esgtoolkit/
18+
issue: https://github.com/Techtonique/esgtoolkit/issues
1919
user: https://github.com/Techtonique/
2020
navbar:
2121
structure:

man/esgplotbands.Rd

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

src/RcppExports.cpp

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
1212

1313
// rnormESGcpp
1414
NumericMatrix rnormESGcpp(const int N, const int M);
15-
RcppExport SEXP _ESGtoolkit_rnormESGcpp(SEXP NSEXP, SEXP MSEXP) {
15+
RcppExport SEXP _esgtoolkit_rnormESGcpp(SEXP NSEXP, SEXP MSEXP) {
1616
BEGIN_RCPP
1717
Rcpp::RObject rcpp_result_gen;
1818
Rcpp::RNGScope rcpp_rngScope_gen;
@@ -24,7 +24,7 @@ END_RCPP
2424
}
2525
// rOUESGcpp
2626
NumericMatrix rOUESGcpp(const int N, const int horizon, const double Delta, const double x0, NumericVector theta, NumericMatrix eps);
27-
RcppExport SEXP _ESGtoolkit_rOUESGcpp(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP thetaSEXP, SEXP epsSEXP) {
27+
RcppExport SEXP _esgtoolkit_rOUESGcpp(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP thetaSEXP, SEXP epsSEXP) {
2828
BEGIN_RCPP
2929
Rcpp::RObject rcpp_result_gen;
3030
Rcpp::RNGScope rcpp_rngScope_gen;
@@ -40,7 +40,7 @@ END_RCPP
4040
}
4141
// rOUESGcppexact
4242
NumericMatrix rOUESGcppexact(const int N, const int horizon, const double Delta, const double x0, NumericVector theta, NumericMatrix eps);
43-
RcppExport SEXP _ESGtoolkit_rOUESGcppexact(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP thetaSEXP, SEXP epsSEXP) {
43+
RcppExport SEXP _esgtoolkit_rOUESGcppexact(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP thetaSEXP, SEXP epsSEXP) {
4444
BEGIN_RCPP
4545
Rcpp::RObject rcpp_result_gen;
4646
Rcpp::RNGScope rcpp_rngScope_gen;
@@ -56,7 +56,7 @@ END_RCPP
5656
}
5757
// rCIRESGcpp
5858
NumericMatrix rCIRESGcpp(const int N, const int horizon, const double Delta, const double x0, NumericVector theta, NumericMatrix eps);
59-
RcppExport SEXP _ESGtoolkit_rCIRESGcpp(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP thetaSEXP, SEXP epsSEXP) {
59+
RcppExport SEXP _esgtoolkit_rCIRESGcpp(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP thetaSEXP, SEXP epsSEXP) {
6060
BEGIN_RCPP
6161
Rcpp::RObject rcpp_result_gen;
6262
Rcpp::RNGScope rcpp_rngScope_gen;
@@ -72,7 +72,7 @@ END_RCPP
7272
}
7373
// rCIRESGcppexact
7474
NumericMatrix rCIRESGcppexact(const int N, const int horizon, const double Delta, const double x0, NumericVector theta, NumericMatrix eps);
75-
RcppExport SEXP _ESGtoolkit_rCIRESGcppexact(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP thetaSEXP, SEXP epsSEXP) {
75+
RcppExport SEXP _esgtoolkit_rCIRESGcppexact(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP thetaSEXP, SEXP epsSEXP) {
7676
BEGIN_RCPP
7777
Rcpp::RObject rcpp_result_gen;
7878
Rcpp::RNGScope rcpp_rngScope_gen;
@@ -88,7 +88,7 @@ END_RCPP
8888
}
8989
// rGBMESGcpp
9090
NumericMatrix rGBMESGcpp(const int N, const int horizon, const double Delta, const double x0, NumericMatrix theta1, NumericMatrix theta2, NumericMatrix eps);
91-
RcppExport SEXP _ESGtoolkit_rGBMESGcpp(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP theta1SEXP, SEXP theta2SEXP, SEXP epsSEXP) {
91+
RcppExport SEXP _esgtoolkit_rGBMESGcpp(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP theta1SEXP, SEXP theta2SEXP, SEXP epsSEXP) {
9292
BEGIN_RCPP
9393
Rcpp::RObject rcpp_result_gen;
9494
Rcpp::RNGScope rcpp_rngScope_gen;
@@ -105,7 +105,7 @@ END_RCPP
105105
}
106106
// rGBMjumpsnormESGcpp
107107
NumericMatrix rGBMjumpsnormESGcpp(const int N, const int horizon, const double Delta, const double x0, NumericMatrix theta1, NumericMatrix theta2, const double lambda, const double mu, const double sigma, NumericMatrix eps);
108-
RcppExport SEXP _ESGtoolkit_rGBMjumpsnormESGcpp(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP theta1SEXP, SEXP theta2SEXP, SEXP lambdaSEXP, SEXP muSEXP, SEXP sigmaSEXP, SEXP epsSEXP) {
108+
RcppExport SEXP _esgtoolkit_rGBMjumpsnormESGcpp(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP theta1SEXP, SEXP theta2SEXP, SEXP lambdaSEXP, SEXP muSEXP, SEXP sigmaSEXP, SEXP epsSEXP) {
109109
BEGIN_RCPP
110110
Rcpp::RObject rcpp_result_gen;
111111
Rcpp::RNGScope rcpp_rngScope_gen;
@@ -125,7 +125,7 @@ END_RCPP
125125
}
126126
// rGBMjumpskouESGcpp
127127
NumericMatrix rGBMjumpskouESGcpp(const int N, const int horizon, const double Delta, const double x0, NumericMatrix theta1, NumericMatrix theta2, const double lambda, const double eta_up, const double eta_down, const double p, NumericMatrix eps);
128-
RcppExport SEXP _ESGtoolkit_rGBMjumpskouESGcpp(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP theta1SEXP, SEXP theta2SEXP, SEXP lambdaSEXP, SEXP eta_upSEXP, SEXP eta_downSEXP, SEXP pSEXP, SEXP epsSEXP) {
128+
RcppExport SEXP _esgtoolkit_rGBMjumpskouESGcpp(SEXP NSEXP, SEXP horizonSEXP, SEXP DeltaSEXP, SEXP x0SEXP, SEXP theta1SEXP, SEXP theta2SEXP, SEXP lambdaSEXP, SEXP eta_upSEXP, SEXP eta_downSEXP, SEXP pSEXP, SEXP epsSEXP) {
129129
BEGIN_RCPP
130130
Rcpp::RObject rcpp_result_gen;
131131
Rcpp::RNGScope rcpp_rngScope_gen;
@@ -146,7 +146,7 @@ END_RCPP
146146
}
147147
// TAGcorecpp
148148
NumericVector TAGcorecpp(NumericVector sim, NumericVector sj_down, NumericVector sj_up, const int n, const int p);
149-
RcppExport SEXP _ESGtoolkit_TAGcorecpp(SEXP simSEXP, SEXP sj_downSEXP, SEXP sj_upSEXP, SEXP nSEXP, SEXP pSEXP) {
149+
RcppExport SEXP _esgtoolkit_TAGcorecpp(SEXP simSEXP, SEXP sj_downSEXP, SEXP sj_upSEXP, SEXP nSEXP, SEXP pSEXP) {
150150
BEGIN_RCPP
151151
Rcpp::RObject rcpp_result_gen;
152152
Rcpp::RNGScope rcpp_rngScope_gen;
@@ -161,19 +161,19 @@ END_RCPP
161161
}
162162

163163
static const R_CallMethodDef CallEntries[] = {
164-
{"_ESGtoolkit_rnormESGcpp", (DL_FUNC) &_ESGtoolkit_rnormESGcpp, 2},
165-
{"_ESGtoolkit_rOUESGcpp", (DL_FUNC) &_ESGtoolkit_rOUESGcpp, 6},
166-
{"_ESGtoolkit_rOUESGcppexact", (DL_FUNC) &_ESGtoolkit_rOUESGcppexact, 6},
167-
{"_ESGtoolkit_rCIRESGcpp", (DL_FUNC) &_ESGtoolkit_rCIRESGcpp, 6},
168-
{"_ESGtoolkit_rCIRESGcppexact", (DL_FUNC) &_ESGtoolkit_rCIRESGcppexact, 6},
169-
{"_ESGtoolkit_rGBMESGcpp", (DL_FUNC) &_ESGtoolkit_rGBMESGcpp, 7},
170-
{"_ESGtoolkit_rGBMjumpsnormESGcpp", (DL_FUNC) &_ESGtoolkit_rGBMjumpsnormESGcpp, 10},
171-
{"_ESGtoolkit_rGBMjumpskouESGcpp", (DL_FUNC) &_ESGtoolkit_rGBMjumpskouESGcpp, 11},
172-
{"_ESGtoolkit_TAGcorecpp", (DL_FUNC) &_ESGtoolkit_TAGcorecpp, 5},
164+
{"_esgtoolkit_rnormESGcpp", (DL_FUNC) &_esgtoolkit_rnormESGcpp, 2},
165+
{"_esgtoolkit_rOUESGcpp", (DL_FUNC) &_esgtoolkit_rOUESGcpp, 6},
166+
{"_esgtoolkit_rOUESGcppexact", (DL_FUNC) &_esgtoolkit_rOUESGcppexact, 6},
167+
{"_esgtoolkit_rCIRESGcpp", (DL_FUNC) &_esgtoolkit_rCIRESGcpp, 6},
168+
{"_esgtoolkit_rCIRESGcppexact", (DL_FUNC) &_esgtoolkit_rCIRESGcppexact, 6},
169+
{"_esgtoolkit_rGBMESGcpp", (DL_FUNC) &_esgtoolkit_rGBMESGcpp, 7},
170+
{"_esgtoolkit_rGBMjumpsnormESGcpp", (DL_FUNC) &_esgtoolkit_rGBMjumpsnormESGcpp, 10},
171+
{"_esgtoolkit_rGBMjumpskouESGcpp", (DL_FUNC) &_esgtoolkit_rGBMjumpskouESGcpp, 11},
172+
{"_esgtoolkit_TAGcorecpp", (DL_FUNC) &_esgtoolkit_TAGcorecpp, 5},
173173
{NULL, NULL, 0}
174174
};
175175

176-
RcppExport void R_init_ESGtoolkit(DllInfo *dll) {
176+
RcppExport void R_init_esgtoolkit(DllInfo *dll) {
177177
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
178178
R_useDynamicSymbols(dll, FALSE);
179179
}

0 commit comments

Comments
 (0)