The R Project SVN R

Rev

Rev 83699 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83699 Rev 84044
Line 97... Line 97...
97
packageDescription("stats")
97
packageDescription("stats")
98
packageDescription("stats", fields = c("Package", "Version"))
98
packageDescription("stats", fields = c("Package", "Version"))
99
 
99
 
100
packageDescription("stats", fields = "Version")
100
packageDescription("stats", fields = "Version")
101
packageDescription("stats", fields = "Version", drop = FALSE)
101
packageDescription("stats", fields = "Version", drop = FALSE)
102
 
-
 
103
if(packageVersion("MASS") < "7.3.29")
-
 
104
  message("you need to update 'MASS'")
-
 
105
}%dont
102
}%dont
-
 
103
if(requireNamespace("MASS") && packageVersion("MASS") < "7.3.29")
-
 
104
  message("you need to update 'MASS'")
-
 
105
 
106
pu <- packageDate("utils")
106
pu <- packageDate("utils")
107
\donttest{str(pu)}
107
\donttest{str(pu)}
108
stopifnot(identical(pu, packageDate(desc = packageDescription("utils"))),
108
stopifnot(identical(pu, packageDate(desc = packageDescription("utils"))),
109
          identical(pu, packageDate("stats"))) # as "utils" and "stats" are
109
          identical(pu, packageDate("stats"))) # as "utils" and "stats" are
110
                                   # both 'base R' and "Built" at same time
110
                                   # both 'base R' and "Built" at same time