Skip to content

Commit

Permalink
update readme cran badge [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Feb 1, 2024
1 parent c6b397b commit 9352118
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 36 deletions.
46 changes: 23 additions & 23 deletions .Rhistory
Original file line number Diff line number Diff line change
@@ -1,26 +1,3 @@
)
)
customizations
jsn$customizations
customizations=list(
vscode=list(
settings=list(),
extensions=
list("reditorsupport.r",
"visualstudioexptteam.vscodeintellicode",
"ionutvmi.path-autocomplete")
)
)
customizations
jsn$customizations
cat(paste(readLines(path),collapse ="\n"))
devtools::check_man()
library(rworkflows)
usethis::use_test()
library(rworkflows)
path <- use_codespace(save_dir=tempdir())
testthat::expect_true(file.exists(path))
jsonlite::read_json(path)
jsn <- jsonlite::read_json(path)
names(jsn)
testthat::expect_true(
Expand Down Expand Up @@ -510,3 +487,26 @@ testthat::expect_true(length(deps)>10)
2500/3
devtools::check_man()
library(rworkflows)
testthat::skip_on_cran()
?testthat::skip_on_cran()
testthat::skip_if_offline()
devtools::check_man()
library(rworkflows)
devtools::build_manual()
devtools::build_manual(path = "inst/")
?rworkflows::construct_runners()
?rworkflows::construct_runners( bioc = list("release", "release", "release"),
)
rworkflows::construct_runners( bioc = list("release", "release", "release"),
)
rworkflows::construct_cont()
rworkflows::construct_cont(default_tag = "release")
devtools::test_coverage()
devtools::test_coverage()
devtools::test_coverage()
devtools::test_coverage()
devtools::test_coverage()
library(rworkflows)
?testthat::skip_on_cran()
testthat::skip_if_offline()
readLines("https://hub.docker.com/v2/repositories//bioconductor/bioconductor_docker/tags?page_size=1000")
4 changes: 3 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
---
title: ""
author: "`r rworkflows::use_badges(add_actions=c('rworkflows','rworkflows_static','rworkflows_dev'), add_cran_release = TRUE, add_cran_checks = TRUE, add_cran_download_month=TRUE, add_cran_download_total=TRUE, add_codecov_graphs='icicle', hex_height=350, add_doi='https://doi.org/10.5281/zenodo.10048573')`"
author: "`r rworkflows::use_badges(add_actions=c('rworkflows','rworkflows_static','rworkflows_dev'), add_cran_release = TRUE, add_cran_checks = FALSE, add_cran_download_month=TRUE, add_cran_download_total=TRUE, add_codecov_graphs='icicle', hex_height=350, add_doi='https://doi.org/10.5281/zenodo.10048573')`"
date: "<h4>README updated: <i>`r format( Sys.Date(), '%b-%d-%Y')`</i></h4>"
output:
github_document
---

[![CRAN checks](https://badges.cranchecks.info/worst/rworkflows.svg)](https://cran.r-project.org/web/checks/check_results_rworkflows.html)

```{r setup, include=FALSE}
pkg <- read.dcf("DESCRIPTION", fields = "Package")[1]
```
Expand Down
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<img src='https://github.com/neurogenomics/rworkflows/raw/master/inst/hex/hex.png' title='Hex sticker for rworkflows' height='350'><br>
[![](https://www.r-pkg.org/badges/version/rworkflows?color=black)](https://cran.r-project.org/package=rworkflows)
[![CRAN
checks](https://badges.cranchecks.info/summary/rworkflows.svg)](https://cran.r-project.org/web/checks/check_results_rworkflows.html)
[![](http://cranlogs.r-pkg.org/badges/last-month/rworkflows?color=black)](https://cran.r-project.org/package=rworkflows)
[![](http://cranlogs.r-pkg.org/badges/grand-total/rworkflows?color=black)](https://cran.r-project.org/package=rworkflows)
[![License:
Expand All @@ -24,9 +22,12 @@ status](https://github.com/neurogenomics/rworkflows/workflows/rworkflows_dev/bad
Authors: <i>Brian Schilder, Alan Murphy, Nathan Skene</i>
</h4>
<h4>
README updated: <i>Jan-02-2024</i>
README updated: <i>Feb-01-2024</i>
</h4>

[![CRAN
checks](https://badges.cranchecks.info/worst/rworkflows.svg)](https://cran.r-project.org/web/checks/check_results_rworkflows.html)

## Citation

If you use `rworkflows`, please cite:
Expand Down Expand Up @@ -288,7 +289,7 @@ utils::sessionInfo()

## R version 4.3.1 (2023-06-16)
## Platform: aarch64-apple-darwin20 (64-bit)
## Running under: macOS Sonoma 14.2.1
## Running under: macOS Sonoma 14.3
##
## Matrix products: default
## BLAS: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRblas.0.dylib
Expand All @@ -297,7 +298,7 @@ utils::sessionInfo()
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
##
## time zone: America/New_York
## time zone: Europe/London
## tzcode source: internal
##
## attached base packages:
Expand All @@ -309,15 +310,15 @@ utils::sessionInfo()
## [7] tidyselect_1.2.0 rvcheck_0.2.1 scales_1.3.0
## [10] yaml_2.3.8 fastmap_1.1.1 here_1.0.1
## [13] ggplot2_3.4.4 R6_2.5.1 generics_0.1.3
## [16] knitr_1.45 yulab.utils_0.1.2 tibble_3.2.1
## [16] knitr_1.45 yulab.utils_0.1.3 tibble_3.2.1
## [19] desc_1.4.3 dlstats_0.1.7 rprojroot_2.0.4
## [22] munsell_0.5.0 pillar_1.9.0 RColorBrewer_1.1-3
## [25] rlang_1.1.2 utf8_1.2.4 cachem_1.0.8
## [25] rlang_1.1.3 utf8_1.2.4 cachem_1.0.8
## [28] badger_0.2.3 xfun_0.41 fs_1.6.3
## [31] memoise_2.0.1.9000 cli_3.6.2 magrittr_2.0.3
## [34] rworkflows_1.0.1 digest_0.6.33 grid_4.3.1
## [34] rworkflows_1.0.1 digest_0.6.34 grid_4.3.1
## [37] rstudioapi_0.15.0 lifecycle_1.0.4 vctrs_0.6.5
## [40] data.table_1.14.10 evaluate_0.23 glue_1.6.2
## [40] data.table_1.14.10 evaluate_0.23 glue_1.7.0
## [43] fansi_1.0.6 colorspace_2.1-0 rmarkdown_2.25
## [46] tools_4.3.1 pkgconfig_2.0.3 htmltools_0.5.7

Expand Down
8 changes: 5 additions & 3 deletions tests/testthat/test-check_cont.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
test_that("check_cont works", {
## Don't run on CRAN servers due to ongoing internet connectivity issues
if(!is_gha()) testthat::skip_if_offline()
if(!is_gha()) {
testthat::skip_if_offline()
testthat::skip_on_cran()
}

testthat::expect_no_warning(
check_cont(cont = "bioconductor/bioconductor_docker:devel")
Expand All @@ -23,8 +26,7 @@ test_that("check_cont works", {
#### Include registry ####
testthat::expect_no_warning(
check_cont(cont = "ghcr.io/bioconductor/bioconductor_docker")
)

)
testthat::expect_no_warning(
check_cont(cont = "docker.io/bioconductor/bioconductor_docker:devel")
)
Expand Down

0 comments on commit 9352118

Please sign in to comment.