### Name: readNEWS ### Title: Read R's NEWS file or a similar one ### Aliases: readNEWS checkNEWS ### Keywords: file documentation ### ** Examples NEWStr <- readNEWS(trace = TRUE)# chop = "first" ( = "first non-empty") ## keep the full NEWS entry text i.e. "no chopping": NEWStrA <- readNEWS(chop = "keepAll") object.size(NEWStr) object.size(NEWStrA) ## (no chopping) ==> about double the size str(NEWStr, max.level = 3) str(NEWStr[[c("2.3", "2.3.1")]], max.level=2, vec.len=1) NEWStr [[c("2.3", "2.3.1", "NEW FEATURES")]] NEWStrA[[c("2.4", "2.4.0", "NEW FEATURES")]] # Check the current NEWS file stopifnot(checkNEWS())