biocthis

Automate package and project setup for Bioconductor packages

https://github.com/lcolladotor/biocthis

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 14 committers (21.4%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.1%) to scientific vocabulary

Keywords

actions bioconductor biocthis github rstats styler usethis

Keywords from Contributors

bioconductor-package transcriptomics bioinformatics core-package gene u24ca289073 core-services single-cell genomics shiny
Last synced: 6 months ago · JSON representation

Repository

Automate package and project setup for Bioconductor packages

Basic Info
Statistics
  • Stars: 54
  • Watchers: 7
  • Forks: 17
  • Open Issues: 12
  • Releases: 0
Topics
actions bioconductor biocthis github rstats styler usethis
Created almost 6 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog Contributing Code of conduct Support

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
    collapse = TRUE,
    comment = "#>",
    fig.path = "man/figures/README-",
    out.width = "100%"
)
```

# biocthis


[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![Bioc release status](http://www.bioconductor.org/shields/build/release/bioc/biocthis.svg)](https://bioconductor.org/checkResults/release/bioc-LATEST/biocthis)
[![Bioc devel status](http://www.bioconductor.org/shields/build/devel/bioc/biocthis.svg)](https://bioconductor.org/checkResults/devel/bioc-LATEST/biocthis)
[![Bioc downloads rank](https://bioconductor.org/shields/downloads/release/biocthis.svg)](http://bioconductor.org/packages/stats/bioc/biocthis/)
[![Bioc support](https://bioconductor.org/shields/posts/biocthis.svg)](https://support.bioconductor.org/tag/biocthis)
[![Bioc history](https://bioconductor.org/shields/years-in-bioc/biocthis.svg)](https://bioconductor.org/packages/release/bioc/html/biocthis.html#since)
[![Bioc last commit](https://bioconductor.org/shields/lastcommit/devel/bioc/biocthis.svg)](http://bioconductor.org/checkResults/devel/bioc-LATEST/biocthis/)
[![Bioc dependencies](https://bioconductor.org/shields/dependencies/release/biocthis.svg)](https://bioconductor.org/packages/release/bioc/html/biocthis.html#since)
[![Codecov test coverage](https://codecov.io/gh/lcolladotor/biocthis/branch/devel/graph/badge.svg)](https://codecov.io/gh/lcolladotor/biocthis?branch=devel)
[![R build status](https://github.com/lcolladotor/biocthis/actions/workflows/check-bioc.yml/badge.svg)](https://github.com/lcolladotor/biocthis/actions/workflows/check-bioc.yml)
[![GitHub issues](https://img.shields.io/github/issues/lcolladotor/biocthis)](https://github.com/lcolladotor/biocthis/issues)
[![GitHub pulls](https://img.shields.io/github/issues-pr/lcolladotor/biocthis)](https://github.com/lcolladotor/biocthis/pulls)


`r BiocStyle::Githubpkg("lcolladotor/biocthis")` is an R package that expands `r BiocStyle::CRANpkg("usethis")` with Bioconductor-friendly templates. These templates will help you quickly create an R package that either has Bioconductor dependencies or that you are thinking of submitting to Bioconductor one day. `r BiocStyle::Githubpkg("lcolladotor/biocthis")`  has functions that can also enhance your current R packages that either are already distributed by Bioconductor or have Bioconductor dependencies. `r BiocStyle::Githubpkg("lcolladotor/biocthis")` also includes a Bioconductor-friendly [GitHub Actions](https://github.com/features/actions) workflow for your R package(s).

Note that `r BiocStyle::Githubpkg("lcolladotor/biocthis")` is not a Bioconductor-core package and as such it is not a Bioconductor official package. It was made by and for Leonardo Collado-Torres so he could more easily maintain and create Bioconductor packages as listed at [lcolladotor.github.io/pkgs/](https://lcolladotor.github.io/pkgs/). Hopefully `r BiocStyle::Githubpkg("lcolladotor/biocthis")`  will be helpful for you too.

## Installation instructions

Get the latest stable `R` release from [CRAN](http://cran.r-project.org/). Then install `biocthis` from [Bioconductor](http://bioconductor.org/) using the following code:

```{r 'install', eval = FALSE}
if (!requireNamespace("BiocManager", quietly = TRUE)) {
    install.packages("BiocManager")
}

BiocManager::install("biocthis")
```

And the development version from [GitHub](https://github.com/lcolladotor/biocthis) with:

```{r 'install_dev', eval = FALSE}
BiocManager::install("lcolladotor/biocthis")
```

## Example

Here is how you can use `r BiocStyle::Githubpkg("lcolladotor/biocthis")` to create a new Bioconductor-friendly R package (illustrated using a temporary directory):

```{r example, eval = requireNamespace('biocthis')}
## Load biocthis
library("biocthis")

## Create an example package for illustrative purposes.
## Note: you do not need to run this for your own package!
pkgdir <- biocthis_example_pkg()

## Create the bioc templates
biocthis::use_bioc_pkg_templates()
```

The template `dev` scripts include comments and steps you can follow for making your Bioconductor-friendly R package or updating a current package. In particular, you might
want to use a Bioconductor-friendly GitHub Actions workflow. If this is your first time seeings this words, we highly recommend that you watch [Jim Hester's `rstudio::conf(2020)` talk on this subject](https://www.jimhester.com/talk/2020-rsc-github-actions/).

```{r 'bioc_github_action', eval = FALSE}
## Create a GitHub Actions workflow that is Bioconductor-friendly
biocthis::use_bioc_github_action()
```

```{r 'bioc_github_action_alternatives', eval = FALSE}
## Alternatively, use the general GitHub Actions workflow maintained by
## r-lib/actions
usethis::use_github_action("check-standard")
```


## Citation

Below is the citation output from using `citation('biocthis')` in R. Please
run this yourself to check for any updates on how to cite __biocthis__.

```{r 'citation', eval = requireNamespace('biocthis')}
print(citation("biocthis"), bibtex = TRUE)
```

Please note that the `biocthis` was only made possible thanks to many other R and bioinformatics software authors, which are cited either in the vignettes and/or the paper(s) describing this package.

## Code of Conduct

Please note that the `biocthis` project is released with a [Contributor Code of Conduct](http://bioconductor.org/about/code-of-conduct/). By contributing to this project, you agree to abide by its terms.

## Development tools

* Continuous code testing is possible thanks to [GitHub actions](https://www.tidyverse.org/blog/2020/04/usethis-1-6-0/)  through `r BiocStyle::CRANpkg('usethis')`, `r BiocStyle::CRANpkg('remotes')`, and `r BiocStyle::CRANpkg('rcmdcheck')` customized to use [Bioconductor's docker containers](https://www.bioconductor.org/help/docker/) and `r BiocStyle::Biocpkg('BiocCheck')`.
* Code coverage assessment is possible thanks to [codecov](https://codecov.io/gh) and `r BiocStyle::CRANpkg('covr')`.
* The [documentation website](http://lcolladotor.github.io/biocthis) is automatically updated thanks to `r BiocStyle::CRANpkg('pkgdown')`.
* The code is styled automatically thanks to `r BiocStyle::CRANpkg('styler')`.
* The documentation is formatted thanks to `r BiocStyle::CRANpkg('devtools')` and `r BiocStyle::CRANpkg('roxygen2')`.

For more details, check the `dev` directory.

This package was developed using `r BiocStyle::Biocpkg('biocthis')`.


Owner

  • Name: Leonardo Collado-Torres
  • Login: lcolladotor
  • Kind: user
  • Location: Baltimore, USA
  • Company: @LieberInstitute

Find more information about myself at my website where I post my recent publications, talks, blog posts and other updates.

GitHub Events

Total
  • Issues event: 2
  • Watch event: 3
  • Issue comment event: 2
  • Push event: 74
  • Fork event: 1
Last Year
  • Issues event: 2
  • Watch event: 3
  • Issue comment event: 2
  • Push event: 74
  • Fork event: 1

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 248
  • Total Committers: 14
  • Avg Commits per committer: 17.714
  • Development Distribution Score (DDS): 0.198
Past Year
  • Commits: 6
  • Committers: 2
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.333
Top Committers
Name Email Commits
Leonardo Collado Torres l****r@g****m 199
LiNk-NY m****z@r****g 15
J Wokaty j****y@s****u 10
Nitesh Turaga n****a@g****m 8
Milan Malfait m****4@g****m 3
Gregor Sturm m****l@g****e 2
Kayla-Morrell K****l@r****g 2
Kevin Rue-Albrecht k****7@g****m 2
Sergio Oller s****r@g****m 2
Ben Laufer b****r@u****u 1
Chengyang Ji 1****a 1
Mervin Fansler m****5@m****u 1
gbrsales g****s@g****m 1
xec-cm f****a@i****s 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 43
  • Total pull requests: 19
  • Average time to close issues: 3 months
  • Average time to close pull requests: about 2 months
  • Total issue authors: 24
  • Total pull request authors: 11
  • Average comments per issue: 2.77
  • Average comments per pull request: 2.63
  • Merged pull requests: 19
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • lcolladotor (10)
  • bschilder (3)
  • LiNk-NY (2)
  • xec-cm (2)
  • sa-lee (2)
  • lmweber (2)
  • kevinrue (1)
  • nekramer (1)
  • mdozmorov (1)
  • mblue9 (1)
  • milanmlft (1)
  • FelixErnst (1)
  • llrs (1)
  • vjcitn (1)
  • lshep (1)
Pull Request Authors
  • LiNk-NY (3)
  • zeehio (2)
  • milanmlft (2)
  • kevinrue (2)
  • mfansler (1)
  • lcolladotor (1)
  • ben-laufer (1)
  • grst (1)
  • gbrsales (1)
  • Takkoona (1)
  • xec-cm (1)
Top Labels
Issue Labels
enhancement (10) help wanted (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • bioconductor 25,875 total
  • Total dependent packages: 2
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
bioconductor.org: biocthis

Automate package and project setup for Bioconductor packages

  • Versions: 5
  • Dependent Packages: 2
  • Dependent Repositories: 0
  • Downloads: 25,875 Total
Rankings
Dependent repos count: 0.0%
Dependent packages count: 0.0%
Stargazers count: 2.3%
Forks count: 3.4%
Average: 13.9%
Downloads: 63.9%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • BiocManager * imports
  • fs * imports
  • glue * imports
  • rlang * imports
  • styler * imports
  • usethis >= 2.0.1 imports
  • BiocStyle * suggests
  • RefManageR * suggests
  • covr * suggests
  • devtools * suggests
  • knitr * suggests
  • pkgdown * suggests
  • rmarkdown * suggests
  • sessioninfo * suggests
  • testthat * suggests
  • utils * suggests
.github/workflows/check-bioc.yml actions
  • JamesIves/github-pages-deploy-action releases/v4 composite
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/upload-artifact master composite
  • docker/build-push-action v1 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite