Skip to content

Commit

Permalink
minor edits in preparation for 2.7-7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentvanhees committed Sep 17, 2022
1 parent 9df96be commit 8ebf4b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion man/GGIR-package.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Package: \tab GGIR\cr
Type: \tab Package\cr
Version: \tab 2.7-7\cr
Date: \tab 2022-09-07\cr
Date: \tab 2022-09-17\cr
License: \tab LGPL (>= 2.0, < 3)\cr
Discussion group: \tab https://groups.google.com/forum/#!forum/rpackageggir\cr
}
Expand Down
8 changes: 4 additions & 4 deletions prepareNewRelease.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ prepareNewRelease = function(version = c()) {
i = i + 1
}
# Check GGIR-package.Rd file
P = read.csv(file = "./man/GGIR-package.Rd",sep="\n")
P = read.csv(file = "./man/GGIR-package.Rd", sep = "\n")
i = 1
while (i <= nrow(P)) {
tmp = as.character(unlist(strsplit(as.character(P[i,]),"[: \\]")))
Expand All @@ -50,14 +50,14 @@ prepareNewRelease = function(version = c()) {
i = i + 1
}
# Check NEWs.rd file
NE = read.csv(file = "./inst/NEWS.Rd",sep="\n")
NE = read.csv(file = "./inst/NEWS.Rd", sep = "\n")
i = 1
versioninfile = dateinfile = c()
while (i <= nrow(NE)) {
tmp = as.character(unlist(strsplit(as.character(NE[3,]),"version ")))
if (length(tmp) > 1) {
tmp2 = as.character(unlist(strsplit(as.character(tmp[2])," ")))
versioninfile= tmp2[1]
versioninfile = tmp2[1]
if (length(tmp2) > 2) {
tmp3 = as.character(unlist(strsplit(as.character(tmp2[3]),":"))[2])
dateinfile = as.character(unlist(strsplit(as.character(tmp3),"[)]"))[1])
Expand All @@ -77,4 +77,4 @@ prepareNewRelease = function(version = c()) {
i = i + 1
}
if (errorfound == FALSE) cat(paste0("\nNo problem found. Package consistently uses version ",version," and release date ", dateReversed))
}
}

0 comments on commit 8ebf4b9

Please sign in to comment.