Skip to content

Commit

Permalink
reducing examples by ~25%
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonNowakowski committed Jan 31, 2023
1 parent 3a1a2d4 commit 42511c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 28 deletions.
13 changes: 0 additions & 13 deletions R/DMRnet.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,6 @@
#' coef(m1, df = g$df.min)
#' ypr <- predict(m1, newx = Xte, df = g$df.min)
#'
#' ## PDMR for logistic regression
#' data(promoter)
#' ytr <- factor(promoter[1:70,1])
#' Xtr <- promoter[1:70,-1]
#' Xte <- promoter[71:106,-1]
#' m2 <- DMRnet(Xtr, ytr, family = "binomial", algorithm="PDMR")
#' print(m2)
#' plot(m2)
#' g <- gic.DMR(m2, c = 2)
#' plot(g)
#' coef(m2, df = g$df.min)
#' ypr <- predict(m2, newx = Xte, df = g$df.min)
#'
#' @export DMRnet

DMRnet <- function(X, y, family = "gaussian", clust.method = "complete", o = 5, nlambda = 100, lam = 10^(-7), interc = TRUE, maxp = ifelse(family == "gaussian", ceiling(length(y)/2), ceiling(length(y)/4)), lambda = NULL, algorithm="DMRnet") {
Expand Down
12 changes: 10 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# This is a resubmission of 0.3.4
# This is a 2nd resubmission of 0.3.4

The following NOTE from WINDOWS precheck **has been corrected**:
- The following NOTE from WINDOWS precheck **has been corrected**:

* checking CRAN incoming feasibility ... [15s] NOTE
Maintainer: 'Szymon Nowakowski <[email protected]>'
Expand All @@ -10,6 +10,14 @@ The following NOTE from WINDOWS precheck **has been corrected**:
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to citEntry(), citHeader() or
citFooter(). Please use bibentry() instead.

- The folowing NOTE from precheck **has been corrected** by reducing examples by roughly 25%:

Flavor: r-devel-windows-x86_64
Check: examples, Result: NOTE
Examples with CPU (user + system) or elapsed time > 10s
user system elapsed
DMRnet 10 0.17 10.21

# Local checks

Expand Down
13 changes: 0 additions & 13 deletions man/DMRnet.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 42511c1

Please sign in to comment.