Skip to content

Commit

Permalink
Fill unnecessary linebreaks after code chunks from Rmarkdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Apr 29, 2024
1 parent 0774ef9 commit d593afb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/specifications/hdf5.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ if (.version == package_version("1.0")) {
where the strings are in the `YYYY-MM-DD` format or are equal to a missing placeholder value.
- `"date-time"`: a HDF5 string datatype that can be represented by a UTF-8 encoded string,
where the strings are Internet Date/Time format, or are equal to a missing placeholder value.')
} else {
cat(" <!--- -->")
}
```

Expand Down
6 changes: 6 additions & 0 deletions docs/specifications/json.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ The contents of `values` is subject to some constraints:
```{r, echo=FALSE, results="asis"}
if (.version == package_version("1.0")) {
cat(" Missing integers may also be represented by the special value -2147483648.")
} else {
cat(" <!--- -->")
}
```
- `"boolean"`: values should be JSON booleans or `null` (for missing values).
Expand Down Expand Up @@ -111,6 +113,8 @@ if (.version == package_version("1.0")) {
```{r, echo=FALSE, results="asis"}
if (.version == package_version("1.0")) {
cat(" Missing integers may also be represented by the special value -2147483648.")
} else {
cat(" <!--- -->")
}
```
- `levels`, an array of unique strings containing the levels for the indices in `values`.
Expand All @@ -119,6 +123,8 @@ if (.version == package_version("1.0")) {
if (.version >= package_version("1.1")) {
cat("- (optional) `ordered`, a boolean indicating whether to assume that the levels are ordered.
If absent, levels are assumed to be non-ordered.")
} else {
cat(" <!--- -->")
}
```

Expand Down

0 comments on commit d593afb

Please sign in to comment.