Skip to content

Commit a8284c7

Browse files
committed
fix: Correct formatting of images in CAS R recipe
1 parent 1c6d9b1 commit a8284c7

2 files changed

Lines changed: 4 additions & 15 deletions

File tree

rmarkdown/casc.Rmd

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,16 +182,10 @@ We now have a list of sub-lists of data corresponding to the CAS RNs.
182182
imgs <- lapply(list, function(x) {charToRaw(x$image)})
183183
184184
# Use 'image_read()' to read SVGs
185-
186-
# "Ethyl cyclohexanepropionate"
187185
image_read(imgs[[1]], density = 300)
188-
# "Ethyl 2-nonynoate"
189186
image_read(imgs[[2]], density = 300)
190-
# "Ethyl 1<em>H</em>-pyrazole-1-acetate"
191187
image_read(imgs[[3]], density = 300)
192-
# "Ethyl 3-(ethoxycarbonyl)benzenepropanoate"
193188
image_read(imgs[[4]], density = 300)
194-
# "Ethyl 1-cyclohexene-1-carboximidate"
195189
image_read(imgs[[5]], density = 300)
196190
```
197191

src/r/casc.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -340,39 +340,34 @@ imgs <- lapply(list, function(x) {charToRaw(x$image)})
340340

341341
# Use 'image_read()' to read SVGs
342342

343-
# "Ethyl cyclohexanepropionate"
344343
image_read(imgs[[1]], density = 300)
345344
```
346345

347346
![](_figures/casc/molecule-loop-1.png)<!-- -->
348347

349348
``` r
350-
# "Ethyl 2-nonynoate"
351349
image_read(imgs[[2]], density = 300)
352350
```
353351

354-
![](_figures/casc/molecule-loop-1.png)<!-- -->
352+
![](_figures/casc/molecule-loop-2.png)<!-- -->
355353

356354
``` r
357-
# "Ethyl 1<em>H</em>-pyrazole-1-acetate"
358355
image_read(imgs[[3]], density = 300)
359356
```
360357

361-
![](_figures/casc/molecule-loop-1.png)<!-- -->
358+
![](_figures/casc/molecule-loop-3.png)<!-- -->
362359

363360
``` r
364-
# "Ethyl 3-(ethoxycarbonyl)benzenepropanoate"
365361
image_read(imgs[[4]], density = 300)
366362
```
367363

368-
![](_figures/casc/molecule-loop-1.png)<!-- -->
364+
![](_figures/casc/molecule-loop-4.png)<!-- -->
369365

370366
``` r
371-
# "Ethyl 1-cyclohexene-1-carboximidate"
372367
image_read(imgs[[5]], density = 300)
373368
```
374369

375-
![](_figures/casc/molecule-loop-1.png)<!-- -->
370+
![](_figures/casc/molecule-loop-5.png)<!-- -->
376371

377372
### Select Specific Data
378373

0 commit comments

Comments
 (0)