Skip to content

Commit 00896ae

Browse files
committed
new version on R cran
1 parent d43ab4e commit 00896ae

9 files changed

+21
-20
lines changed

R-package/DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: abess
22
Type: Package
33
Title: Fast Best Subset Selection
4-
Version: 0.4.8
5-
Date: 2023-09-19
4+
Version: 0.4.9
5+
Date: 2024-09-09
66
Authors@R: c(
77
person(given = "Jin", family = "Zhu", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-8550-5822")),
88
person(given = "Zezhi", family = "Wang", email = "[email protected]", role = c("aut")),

R-package/NEWS.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# abess 0.4.9
2+
* Fix bug in Cpp level
3+
* Fix error in: https://www.stats.ox.ac.uk/pub/bdr/clang19/abess.log
4+
* Fix notes in https://cran.r-project.org/web/checks/check_results_abess.html
5+
16
# abess 0.4.8
27
* Support no-intercept GLM model by param 'fit.intercept'.
38
* Allow to restrict the range of estimation for beta by param 'beta.high' and 'beta.low'.

R-package/R/abess.R

+4-4
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ abess <- function(x, ...) UseMethod("abess")
174174
#'
175175
#' \code{abess} support some well-known advanced statistical methods to analyze data, including
176176
#' \itemize{
177-
#' \item{sure independent screening: } {helpful for ultra-high dimensional predictors (i.e., \eqn{p \gg n}). Use the parameter \code{screening.num} to retain the marginally most important predictors. See Fan et al (2008) for more details. }
178-
#' \item{best subset of group selection: } {helpful when predictors have group structure. Use the parameter \code{group.index} to specify the group structure of predictors. See Zhang et al (2021) for more details. }
179-
#' \item{\eqn{l_2} regularization best subset selection: } {helpful when signal-to-ratio is relatively small. Use the parameter \code{lambda} to control the magnitude of the regularization term.}
180-
#' \item{nuisance selection: } {helpful when the prior knowledge of important predictors is available. Use the parameter \code{always.include} to retain the important predictors.}
177+
#' \item sure independent screening: helpful for ultra-high dimensional predictors (i.e., \eqn{p \gg n}). Use the parameter \code{screening.num} to retain the marginally most important predictors. See Fan et al (2008) for more details.
178+
#' \item best subset of group selection: helpful when predictors have group structure. Use the parameter \code{group.index} to specify the group structure of predictors. See Zhang et al (2021) for more details.
179+
#' \item \eqn{l_2} regularization best subset selection: helpful when signal-to-ratio is relatively small. Use the parameter \code{lambda} to control the magnitude of the regularization term.
180+
#' \item nuisance selection: helpful when the prior knowledge of important predictors is available. Use the parameter \code{always.include} to retain the important predictors.
181181
#' }
182182
#' The arbitrary combination of the four methods are definitely support.
183183
#' Please see [online vignettes](https://abess-team.github.io/abess/articles/v07-advancedFeatures.html) for more details about the advanced features support by \code{abess}.

R-package/R/coef.abesspca.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
#' the coefficient fitted at given \code{support.size}.
1010
#' If \code{support.size = NULL}, then all coefficients would be returned.
1111
#' Default: \code{support.size = NULL}.
12-
#' This parameter is omitted if {sparse.type = "kpc"}.
12+
#' This parameter is omitted if \code{sparse.type = "kpc"}.
1313
#' @param kpc An integer vector specifies
1414
#' the coefficient fitted at given principal component.
1515
#' If \code{kpc = NULL}, then all coefficients would be returned.
1616
#' Default: \code{kpc = NULL}.
17-
#' This parameter is omitted if {sparse.type = "fpc"}.
17+
#' This parameter is omitted if \code{sparse.type = "fpc"}.
1818
#'
1919
#' @param sparse A logical value, specifying whether the coefficients should be
2020
#' presented as sparse matrix or not. Default: \code{sparse = TRUE}.

R-package/R/generate.data.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#' where the covariance matrix has \eqn{(i,j)} entry equals \eqn{I(i \neq j)}.
2323
#' \code{cortype = 2} denotes the exponential structure,
2424
#' where the covariance matrix has \eqn{(i,j)} entry equals \eqn{rho^{|i-j|}}.
25-
#' code{cortype = 3} denotes the constant structure,
25+
#' \code{cortype = 3} denotes the constant structure,
2626
#' where the non-diagonal entries of covariance
2727
#' matrix are \eqn{rho} and diagonal entries are 1.
2828
#' @param snr A numerical value controlling the signal-to-noise ratio (SNR). The SNR is defined as

R-package/cran-comments.md

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
## Comment
2-
3-
`abess` is remove from CRAN because incorrect C++ flags in configure scripts. This submission has address this incorrectness.
4-
51
## Test environments
62
* local R installation, R 4.1.0
73
* win-builder (devel)

R-package/man/abess.Rd

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

R-package/man/coef.abesspca.Rd

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

R-package/man/generate.data.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)