Skip to content

Commit

Permalink
Merge with master
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Jan 23, 2025
2 parents 7d708b7 + 59ca487 commit f98baf1
Show file tree
Hide file tree
Showing 43 changed files with 670 additions and 184 deletions.
83 changes: 83 additions & 0 deletions .Rhistory
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<<<<<<< HEAD
"visualstudioexptteam.vscodeintellicode",
"ionutvmi.path-autocomplete")
)
Expand Down Expand Up @@ -75,6 +76,8 @@ if(grepl(":",co)){
info <- bioc_r_versions(bioc_version = bioc_version)
return(
paste0(splt[[1]],":RELEASE_",gsub("[.]","_",info$bioc))
=======
>>>>>>> master
)
} else {
return(co)
Expand Down Expand Up @@ -510,3 +513,83 @@ deps
testthat::expect_true(length(deps)>10)
?BiocManager::install()
2500/3
<<<<<<< HEAD
=======
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")
devtools::check_man()
devtools::install_dev_deps()
devtools::install_dev_deps()
gh::gh_token()
file.edit("~/.Renviron")
credentials::set_github_pat()
gh::gh_token()
devtools::install_dev_deps()
credentials::set_github_pat()
devtools::install_dev_deps()
devtools::build()
devtools::check_man()
version
version
install.packages("devtools")
install.packages("BiocManager")
install.packages("devtools")
devtools::install_dev_deps()
devtools::check_man()
install.packages("roxygen2")
devtools::check_man()
devtools::install_dev_deps()
packageVersion("roxygen2")
version
version
version()
version()
version
rworkflows::use_workflow()
rworkflows::use_workflow(force_new = T)
gh::gh_token()
credentials::set_github_pat()
a1 <- construct_authors()
library()
library(rworkflows)
a1 <- construct_authors()
testthat::expect_equal(as.character(a1), "yourGivenName yourFamilyName <yourEmail@email.com> [cre] (yourOrcidId)")
a2 <- construct_authors(authors = "Test 1, Test1")
testthat::expect_equal(as.character(a2), "Test 1, Test1")
testthat::expect_equal(as.character(a1), "yourGivenName yourFamilyName <yourEmail@email.com> [cre] (yourOrcidId)")
testthat::expect_true(as.character(a1) %in%
c("yourGivenName yourFamilyName <yourEmail@email.com> [cre] (ORCID: yourOrcidId)",
"yourGivenName yourFamilyName <yourEmail@email.com> [cre] (yourOrcidId)"))
installed.packages()
names(installed.packages())
rownames(installed.packages())
"reticulate" %in% rownames(installed.packages())
credentials::set_github_pat()
remotes::install_github("r-lib/remotes")
devtools::check_man()
devtools::check_man()
path <- use_issue_template(save_dir=tempdir())
>>>>>>> master
6 changes: 0 additions & 6 deletions .Rprofile

This file was deleted.

52 changes: 0 additions & 52 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

104 changes: 104 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
name: 🐛 Bug Report
description: File a bug report
labels: [bug, no-bot]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this issue! :hugs:
However note the following before opening an issue:
:warning: **IF YOU DON'T FILL IN THE TEMPLATE, YOUR ISSUE IS LIABLE TO BE CLOSED.** :warning:
- type: checkboxes
id: checklist
attributes:
label: "Checklist"
options:
- label: "I am able to reproduce the bug with the latest version"
required: true
- label: "I checked, but didn't find any duplicates (open OR closed) of this issue in the repo"
required: true

- type: input
id: version
attributes:
label: Affected version
description: "What version are you currently using?"
placeholder: "x.y.z (check with the `packageVersion()` R function)"
validations:
required: true

- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce the bug
description: |
Please add **ALL** the code necessary to reproduce the bug here (step-by-step).
By 'reproduce', we mean that someone else can copy and paste the exact same code into their R console, execute it, and get the exact same output as you.
This means you need to define all variables *within* the example, including data.
You can upload a small sample of your data by dragging-and-dropping it into this Issue.
Alternatively, you can include code to create some dummy data that reproduces the error.
If that's not possible, please at least include a screenshot of your data and other relevant details.
See [here](https://www.r-bloggers.com/2020/10/how-to-make-a-reprex/) for an intro to making a reproducible example (i.e. reprex) and why they're important!
placeholder: |
# For example:
df <- data.frame(list(a=rep(2,3), b=rep(1,3)))
df["bTYPO"]
validations:
required: true

- type: textarea
id: actual-behavior
attributes:
label: Actual behavior
description: |
Copy and paste the R console output.
placeholder: |
# For example:
Error in `[.data.frame`(df, "bTYPO") : undefined columns selected
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: |
Tell us what you expect to happen.
placeholder: |
The values of the data.frame column are printed.
validations:
required: true

- type: textarea
id: session-info
validations:
required: true
attributes:
label: Session info
description: |
Copy and paste the output of the `sessionInfo() R function.
placeholder: |
R version 4.4.1 (2024-06-14)
Platform: aarch64-apple-darwin20
Running under: macOS 15.0
Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0
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: Europe/London
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
...
...
...
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: ⭐ Feature Request
description: Submit a feature request
labels: [enhancement, no-bot]
body:
- type: markdown
attributes:
value: |
Thanks for submitting a feature request!
- type: textarea
id: the-feature-request
attributes:
label: The feature request
description:
Write a clear and concise description of what the feature or problem is.
placeholder: |
I think it could be improved by adding [...]
validations:
required: true

- type: textarea
id: proposed-solution
attributes:
label: Proposed solution
description: Share how this will benefit its users.
placeholder: |
- One idea would be to add an [...], similar to how this package did [LINK].
- An alternative solution might be [...]
validations:
required: true

- type: textarea
id: additional-context
attributes:
label: Additional context
description:
Please include any other context, like screenshots or mockups, if
applicable.
placeholder: |
Our lab studies [...] and thought it would be cool to try [...]
15 changes: 11 additions & 4 deletions .github/workflows/rworkflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
matrix:
config:
- os: ubuntu-latest
r: devel
bioc: devel
cont: ghcr.io/bioconductor/bioconductor_docker:devel
r: auto
bioc: release
cont: ghcr.io/bioconductor/bioconductor_docker:RELEASE_3_19
python-version: 3.11
- os: macOS-latest
r: latest
Expand All @@ -46,9 +46,16 @@ jobs:
run_covr: ${{ true }}
run_pkgdown: ${{ true }}
has_runit: ${{ false }}
has_latex: ${{ true }}
# has_latex: ${{ true }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run_docker: ${{ true }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
<<<<<<< HEAD
free_diskspace: ${{ true }}
miniforge_variant: false
=======
runner_os: ${{ runner.os }}
cache_version: cache-v1
# free_diskspace: ${{ true }}
# miniforge_variant: false
>>>>>>> master
6 changes: 3 additions & 3 deletions .github/workflows/rworkflows_static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
matrix:
config:
- os: ubuntu-latest
bioc: devel
r: auto
cont: ghcr.io/bioconductor/bioconductor_docker:devel
bioc: release
cont: ghcr.io/bioconductor/bioconductor_docker:RELEASE_3_18
rspm: ~
- os: macOS-latest
bioc: release
Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:
token: ${{ env.GITHUB_TOKEN }}
- name: ⏫ Upload check results
if: failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}-biocversion-${{ matrix.config.bioc }}-r-${{ matrix.config.r
}}-results
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: rworkflows
Type: Package
Title: Test, Document, Containerise, and Deploy R Packages
Version: 1.0.2
Version: 1.0.7
Authors@R:
c(person(given = "Brian",
family = "Schilder",
Expand Down Expand Up @@ -65,4 +65,4 @@ VignetteBuilder: knitr
License: GPL-3
Config/testthat/edition: 3
LazyData: true
RoxygenNote: 7.2.3
RoxygenNote: 7.3.2
Loading

0 comments on commit f98baf1

Please sign in to comment.