File: deprecated.R

package info (click to toggle)
gtools 2.6.2-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 328 kB
  • ctags: 5
  • sloc: asm: 127; ansic: 69; makefile: 1
file content (6 lines) | stat: -rw-r--r-- 172 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
## useful function, raises an error if the FLAG expression is FALSE
assert <- function( FLAG )
  {
    .Deprecated(new="stopifnot", package="base")
    stopifnot(FLAG)
  }