From 9352118265c3c3980c0c2bca059f49c8cbec8bea Mon Sep 17 00:00:00 2001
From: "Brian M. Schilder" <34280215+bschilder@users.noreply.github.com>
Date: Thu, 1 Feb 2024 11:09:41 +0000
Subject: [PATCH] update readme cran badge [skip ci]
---
.Rhistory | 46 ++++++++++++++++----------------
README.Rmd | 4 ++-
README.md | 19 ++++++-------
tests/testthat/test-check_cont.R | 8 +++---
4 files changed, 41 insertions(+), 36 deletions(-)
diff --git a/.Rhistory b/.Rhistory
index 5dfdbe65..fc99a7ec 100644
--- a/.Rhistory
+++ b/.Rhistory
@@ -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(
@@ -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")
diff --git a/README.Rmd b/README.Rmd
index f8f01eff..44a29445 100644
--- a/README.Rmd
+++ b/README.Rmd
@@ -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: "
README updated: `r format( Sys.Date(), '%b-%d-%Y')`
"
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]
```
diff --git a/README.md b/README.md
index 73704c86..dad2b3a2 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,5 @@
[![](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:
@@ -24,9 +22,12 @@ status](https://github.com/neurogenomics/rworkflows/workflows/rworkflows_dev/bad
Authors: Brian Schilder, Alan Murphy, Nathan Skene
-README updated: Jan-02-2024
+README updated: Feb-01-2024
+[![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:
@@ -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
@@ -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:
@@ -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
diff --git a/tests/testthat/test-check_cont.R b/tests/testthat/test-check_cont.R
index c3b8e54e..94b7129d 100644
--- a/tests/testthat/test-check_cont.R
+++ b/tests/testthat/test-check_cont.R
@@ -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")
@@ -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")
)