Skip to content

Commit 3e20494

Browse files
committed
Fill unnecessary linebreaks after code chunks from Rmarkdown.
1 parent b4147d6 commit 3e20494

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/specifications/hdf5.Rmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ if (.version == package_version("1.0")) {
103103
where the strings are in the `YYYY-MM-DD` format or are equal to a missing placeholder value.
104104
- `"date-time"`: a HDF5 string datatype that can be represented by a UTF-8 encoded string,
105105
where the strings are Internet Date/Time format, or are equal to a missing placeholder value.')
106+
} else {
107+
cat("<!--- -->")
106108
}
107109
```
108110

docs/specifications/json.Rmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ The contents of `values` is subject to some constraints:
7373
```{r, echo=FALSE, results="asis"}
7474
if (.version == package_version("1.0")) {
7575
cat(" Missing integers may also be represented by the special value -2147483648.")
76+
} else {
77+
cat("<!--- -->")
7678
}
7779
```
7880
- `"boolean"`: values should be JSON booleans or `null` (for missing values).
@@ -111,6 +113,8 @@ if (.version >= package_version("1.0")) {
111113
```{r, echo=FALSE, results="asis"}
112114
if (.version == package_version("1.0")) {
113115
cat(" Missing integers may also be represented by the special value -2147483648.")
116+
} else {
117+
cat("<!--- -->")
114118
}
115119
```
116120
- `levels`, an array of unique strings containing the levels for the indices in `values`.
@@ -119,6 +123,8 @@ if (.version == package_version("1.0")) {
119123
if (.version >= package_version("1.1")) {
120124
cat("- (optional) `ordered`, a boolean indicating whether to assume that the levels are ordered.
121125
If absent, levels are assumed to be non-ordered.")
126+
} else {
127+
cat("<!--- -->")
122128
}
123129
```
124130

0 commit comments

Comments
 (0)