Skip to content

Commit d71731e

Browse files
bschilderclaude
andcommitted
Skip epigenomics vignette on Windows: remote bigwig access unsupported
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0004865 commit d71731e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

vignettes/cell_type_specific_epigenomics.Rmd

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ has_internet <- tryCatch(
1717
!is.null(curl::nslookup("github.com", error = FALSE)),
1818
error = function(e) FALSE
1919
)
20+
## Epigenomic data functions require remote bigwig access (not available on Windows)
21+
can_run <- has_internet && .Platform$OS.type != "windows"
2022
```
2123

2224
```R
@@ -32,7 +34,7 @@ library(`r pkg`)
3234
3335
### Import data
3436

35-
```{r nott2019_import, eval=has_internet}
37+
```{r nott2019_import, eval=can_run}
3638
superenhancers <- echoannot::get_NOTT2019_superenhancer_interactome()
3739
enhancers_promoters <- echoannot::NOTT2019_get_promoter_interactome_data()
3840
peaks <- echoannot::NOTT2019_get_epigenomic_peaks()
@@ -41,15 +43,15 @@ peaks <- echoannot::NOTT2019_get_epigenomic_peaks()
4143

4244
### Plot
4345

44-
```{r nott2019_plot, eval=has_internet}
46+
```{r nott2019_plot, eval=can_run}
4547
dat <- echodata::BST1
4648
histo_out <- echoannot::NOTT2019_epigenomic_histograms(dat = dat)
4749
```
4850

4951
In addition to the plot object,
5052
tables of both raw read ranges and called peaks are included in the output list.
5153

52-
```{r nott2019_tables, eval=has_internet}
54+
```{r nott2019_tables, eval=can_run}
5355
knitr::kable(head(histo_out$data$raw))
5456
knitr::kable(head(histo_out$data$peaks))
5557
```
@@ -64,7 +66,7 @@ knitr::kable(head(histo_out$data$peaks))
6466
6567
### Import data
6668

67-
```{r corces2020_import, eval=has_internet}
69+
```{r corces2020_import, eval=can_run}
6870
bulkATACseq_peaks <- echoannot::get_CORCES2020_bulkATACseq_peaks()
6971
cicero_coaccessibility <- echoannot::get_CORCES2020_cicero_coaccessibility()
7072
hichip_fithichip_loop_calls <- echoannot::get_CORCES2020_hichip_fithichip_loop_calls()

0 commit comments

Comments
 (0)