Skip to content

Commit f54692b

Browse files
fix non-ascii characters in code comments
1 parent e7d5d8d commit f54692b

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

R/readParmayMatrix.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ readParmayMatrix = function(filename, output = c("all", "sf", "dynrange")[1],
9898
# The C++ function assumes length(rawTime) == nrow(raw)
9999
n_raw = min(length(ts_num), nrow(data))
100100
if (n_raw < 2L) {
101-
# Not enough data to interpolate return all NA
101+
# Not enough data to interpolate -> return all NA
102102
out = matrix(NA_real_, nrow = length(grid_num), ncol = ncol(data))
103103
colnames(out) = colnames(data)
104104
return(out)
@@ -109,7 +109,7 @@ readParmayMatrix = function(filename, output = c("all", "sf", "dynrange")[1],
109109
t0 = ts_num[1]
110110
t1 = ts_num[n_raw]
111111

112-
## ---- 5. Clip the grid to the sensors valid range ----------------------
112+
## ---- 5. Clip the grid to the sensor s valid range ----------------------
113113
# Only pass grid points within [t0, t1] to C++ for interpolation.
114114
# The rest will be filled with NA later.
115115
inside = (grid_num >= t0) & (grid_num <= t1)

prepareNewRelease.R

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,15 @@ prepareNewRelease = function(version = c()) {
4949
}
5050
i = i + 1
5151
}
52+
53+
Q1 = menu(c("Yes", "No"), title = paste0("\nDo you want to check the package with manual, remote and incoming?"))
54+
if (Q1 == 1) {
55+
devtools::check(
56+
manual = TRUE,
57+
remote = TRUE,
58+
incoming = TRUE
59+
)
60+
}
61+
5262
if (errorfound == FALSE) cat(paste0("\nNo problem found. Package consistently uses version ",version," and release date ", dateReversed))
5363
}

0 commit comments

Comments
 (0)