Skip to content

Commit 316c831

Browse files
committed
Added package doi
1 parent 058296c commit 316c831

File tree

410 files changed

+40276
-23931
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

410 files changed

+40276
-23931
lines changed

.DS_Store

2 KB
Binary file not shown.

.github/workflows/R-CMD-check.yaml

Lines changed: 41 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,52 @@
1-
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
2-
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
1+
name: R-CMD-check
2+
33
on:
44
push:
5-
branches:
6-
- main
7-
- master
5+
branches: [ main, master ]
86
pull_request:
9-
branches:
10-
- main
11-
- master
12-
13-
name: R-CMD-check
7+
branches: [ main, master ]
148

159
jobs:
1610
R-CMD-check:
17-
runs-on: macOS-latest
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu-latest, macos-latest, windows-latest]
16+
r: ['devel', 'release', 'oldrel-1']
17+
1818
env:
1919
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
20+
R_KEEP_PKG_SOURCE: yes
21+
NOT_CRAN: true
22+
2023
steps:
21-
- uses: actions/checkout@v2
22-
- uses: r-lib/actions/setup-r@v1
24+
- uses: actions/checkout@v4
25+
26+
- name: Set up Pandoc
27+
uses: r-lib/actions/setup-pandoc@v2
28+
29+
- name: Set up R ${{ matrix.r }}
30+
uses: r-lib/actions/setup-r@v2
31+
with:
32+
r-version: ${{ matrix.r }}
33+
use-public-rspm: true
34+
2335
- name: Install dependencies
24-
run: |
25-
install.packages(c("remotes", "rcmdcheck"))
26-
remotes::install_deps(dependencies = TRUE)
27-
shell: Rscript {0}
36+
uses: r-lib/actions/setup-r-dependencies@v2
37+
with:
38+
extra-packages: any::rcmdcheck
39+
needs: check
40+
2841
- name: Check
29-
run: |
30-
options(crayon.enabled = TRUE)
31-
rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
32-
shell: Rscript {0}
42+
uses: r-lib/actions/check-r-package@v2
43+
with:
44+
args: 'c("--no-manual", "--as-cran")'
45+
upload-snapshots: true
46+
47+
- name: Upload check results
48+
if: failure()
49+
uses: actions/upload-artifact@v4
50+
with:
51+
name: r-cmd-check-results-${{ runner.os }}-r${{ matrix.r }}
52+
path: check

DESCRIPTION

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
Package: plsRglm
2-
Version: 1.5.1
3-
Date: 2023-03-14
2+
Version: 1.6.0
3+
Date: 2025-09-11
44
Depends: R (>= 2.10)
55
Imports: mvtnorm, boot, bipartite, car, MASS
66
Enhances: pls
7-
Suggests: plsdof, R.rsp, chemometrics, plsdepot
7+
Suggests: chemometrics, plsdof, plsdepot, plspm, plsRcox, R.rsp, testthat (>= 3.0.0)
88
Title: Partial Least Squares Regression for Generalized Linear Models
99
Authors@R: c(
10-
person(given = "Frederic", family= "Bertrand", role = c("cre", "aut"), email = "frederic.bertrand@utt.fr", comment = c(ORCID = "0000-0002-0837-8281")),
11-
person(given = "Myriam", family= "Maumy-Bertrand", role = c("aut"), email = "myriam.maumy@utt.fr", comment = c(ORCID = "0000-0002-4615-1512")))
10+
person(given = "Frederic", family= "Bertrand", role = c("cre", "aut"), email = "frederic.bertrand@lecnam.net", comment = c(ORCID = "0000-0002-0837-8281")),
11+
person(given = "Myriam", family= "Maumy-Bertrand", role = c("aut"), email = "myriam.maumy@ehesp.fr", comment = c(ORCID = "0000-0002-4615-1512")))
1212
Author: Frederic Bertrand [cre, aut] (<https://orcid.org/0000-0002-0837-8281>), Myriam Maumy-Bertrand [aut] (<https://orcid.org/0000-0002-4615-1512>)
13-
Maintainer: Frederic Bertrand <frederic.bertrand@utt.fr>
14-
Description: Provides (weighted) Partial least squares Regression for generalized linear models and repeated k-fold cross-validation of such models using various criteria <arXiv:1810.01005>. It allows for missing data in the explanatory variables. Bootstrap confidence intervals constructions are also available.
13+
Maintainer: Frederic Bertrand <frederic.bertrand@lecnam.net>
14+
Description: Provides (weighted) Partial least squares Regression for generalized linear models and repeated k-fold cross-validation of such models using various criteria <doi:10.48550/arXiv.1810.01005>. It allows for missing data in the explanatory variables. Bootstrap confidence intervals constructions are also available.
1515
License: GPL-3
1616
Encoding: UTF-8
1717
URL: https://fbertran.github.io/plsRglm/, https://github.com/fbertran/plsRglm/
1818
BugReports: https://github.com/fbertran/plsRglm/issues/
1919
VignetteBuilder: R.rsp
2020
Classification/MSC: 62J12, 62J99
21-
RoxygenNote: 7.2.1
21+
RoxygenNote: 7.3.2
22+
Config/testthat/edition: 3

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# plsRglm 1.6.0
2+
3+
* Maintainer email update.
4+
* Added unit tests.
5+
* Fix package to get rid of CRAN check notes
6+
17
# plsRglm 1.5.1
28

39
Fix to methods as requested by CRAN and remove escaped latex characters.

R/AICpls.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#' @param weights Weights of observations
1010
#' @return \item{real}{AIC value}
1111
#' @author Frédéric Bertrand\cr
12-
#' \email{frederic.bertrand@@utt.fr}\cr
12+
#' \email{frederic.bertrand@@lecnam.net}\cr
1313
#' \url{https://fbertran.github.io/homepage/}
1414
#' @seealso \code{\link{loglikpls}} for loglikelihood computations for plsR
1515
#' models and \code{\link{AIC}} for AIC computation for a linear models

R/PLS_glm_wvc.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
#' \code{ncol(dataX) * 1} matrix of the coefficients of the the eXplanatory
9797
#' variables}
9898
#' @author Frédéric Bertrand\cr
99-
#' \email{frederic.bertrand@@utt.fr}\cr
99+
#' \email{frederic.bertrand@@lecnam.net}\cr
100100
#' \url{https://fbertran.github.io/homepage/}
101101
#' @seealso \code{\link{PLS_glm}} for more detailed results,
102102
#' \code{\link{PLS_glm_kfoldcv}} for cross-validating models and
@@ -106,7 +106,7 @@
106106
#' logistic PLS regression with qualitative predictors: application to
107107
#' allelotyping data. \emph{Journal de la Societe Francaise de Statistique},
108108
#' 151(2), pages 1-18.
109-
#' \url{http://publications-sfds.math.cnrs.fr/index.php/J-SFdS/article/view/47}
109+
#' \url{https://www.numdam.org/item/JSFS_2010__151_2_1_0/}
110110
#' @keywords models regression
111111
#' @examples
112112
#'

R/PLS_lm_wvc.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#' @note Use \code{\link{PLS_lm_kfoldcv}} for a wrapper in view of
4141
#' cross-validation.
4242
#' @author Frédéric Bertrand\cr
43-
#' \email{frederic.bertrand@@utt.fr}\cr
43+
#' \email{frederic.bertrand@@lecnam.net}\cr
4444
#' \url{https://fbertran.github.io/homepage/}
4545
#' @seealso \code{\link{PLS_lm}} for more detailed results,
4646
#' \code{\link{PLS_lm_kfoldcv}} for cross-validating models and
@@ -50,7 +50,7 @@
5050
#' logistic PLS regression with qualitative predictors: application to
5151
#' allelotyping data. \emph{Journal de la Societe Francaise de Statistique},
5252
#' 151(2), pages 1-18.
53-
#' \url{http://publications-sfds.math.cnrs.fr/index.php/J-SFdS/article/view/47}
53+
#' \url{https://www.numdam.org/item/JSFS_2010__151_2_1_0/}
5454
#' @keywords models regression
5555
#' @examples
5656
#'

R/aic.dof.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#' same as the length of \code{sigmahat}.
2020
#' @return \item{vector}{numerical values of the requested AIC, BIC or GMDL.}
2121
#' @author Frédéric Bertrand\cr
22-
#' \email{frederic.bertrand@@utt.fr}\cr
22+
#' \email{frederic.bertrand@@lecnam.net}\cr
2323
#' \url{https://fbertran.github.io/homepage/}
2424
#' @seealso \code{\link{plsR.dof}} for degrees of freedom computation and
2525
#' \code{\link{infcrit.dof}} for computing information criteria directly from a

R/bootpls.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#' @return An object of class \code{"boot"}. See the Value part of the help of
4242
#' the function \code{\link[boot:boot]{boot}}.
4343
#' @author Frédéric Bertrand\cr
44-
#' \email{frederic.bertrand@@utt.fr}\cr
44+
#' \email{frederic.bertrand@@lecnam.net}\cr
4545
#' \url{https://fbertran.github.io/homepage/}
4646
#' @seealso \code{\link[boot:boot]{boot}}
4747
#' @references A. Lazraq, R. Cleroux, and J.-P. Gauchi. (2003). Selecting both

R/bootplsglm.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#' @return An object of class \code{"boot"}. See the Value part of the help of
4242
#' the function \code{\link[boot:boot]{boot}}.
4343
#' @author Frédéric Bertrand\cr
44-
#' \email{frederic.bertrand@@utt.fr}\cr
44+
#' \email{frederic.bertrand@@lecnam.net}\cr
4545
#' \url{https://fbertran.github.io/homepage/}
4646
#' @seealso \code{\link[boot:boot]{boot}}
4747
#' @references A. Lazraq, R. Cleroux, and J.-P. Gauchi. (2003). Selecting both

0 commit comments

Comments
 (0)