SCM

SCM Repository

[matrix] Diff of /pkg/Matrix/R/zzz.R
ViewVC logotype

Diff of /pkg/Matrix/R/zzz.R

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3244, Thu Jan 11 17:11:27 2018 UTC revision 3245, Mon Jan 22 23:04:37 2018 UTC
# Line 33  Line 33 
33          if(is.null(wrn <- get0("warned.cBind", .MatrixEnv)) ||          if(is.null(wrn <- get0("warned.cBind", .MatrixEnv)) ||
34             isTRUE(getOption("Matrix.warn")) ||             isTRUE(getOption("Matrix.warn")) ||
35             isTRUE(getOption("Matrix.verbose"))) {             isTRUE(getOption("Matrix.verbose"))) {
36              if(is.null(wrn))              if(is.null(wrn)) {
37                  assign("warned.cBind", TRUE, envir=.MatrixEnv) ||                  assign("warned.cBind", TRUE, envir=.MatrixEnv)
38                      .Deprecated(msg = "'cBind' is deprecated.                      .Deprecated(msg = "'cBind' is deprecated.
39   Since R version 3.2.0, base's cbind() should work fine with S4 objects")   Since R version 3.2.0, base's cbind() should work fine with S4 objects")
40          }          }
# Line 45  Line 45 
45          if(is.null(wrn <- get0("warned.rBind", .MatrixEnv)) ||          if(is.null(wrn <- get0("warned.rBind", .MatrixEnv)) ||
46             isTRUE(getOption("Matrix.warn")) ||             isTRUE(getOption("Matrix.warn")) ||
47             isTRUE(getOption("Matrix.verbose"))) {             isTRUE(getOption("Matrix.verbose"))) {
48              if(is.null(wrn))              if(is.null(wrn)) {
49                  assign("warned.rBind", TRUE, envir=.MatrixEnv) ||                  assign("warned.rBind", TRUE, envir=.MatrixEnv)
50          .Deprecated(msg = "'rBind' is deprecated.          .Deprecated(msg = "'rBind' is deprecated.
51   Since R version 3.2.0, base's rbind() should work fine with S4 objects")   Since R version 3.2.0, base's rbind() should work fine with S4 objects")
52              }              }

Legend:
Removed from v.3244  
changed lines
  Added in v.3245

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge