Skip to content

Commit e33ec61

Browse files
Migrated 'future' repo to 'futureverse' org
1 parent a11e239 commit e33ec61

27 files changed

+91
-111
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ labels: 'bug'
66
assignees: ''
77

88
---
9-
(Please use <https://github.com/HenrikBengtsson/future/discussions> for Q&A)
9+
(Please use <https://github.com/futureverse/future/discussions> for Q&A)
1010

1111

1212
**Describe the bug**

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
lank_issues_enabled: true
22
contact_links:
33
- name: Support & Discussions
4-
url: https://github.com/HenrikBengtsson/future/discussions/
4+
url: https://github.com/futureverse/future/discussions/
55
about: Got a question? Something is not working? Want to share an idea?

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ labels: 'feature request'
66
assignees: ''
77

88
---
9-
(Please use <https://github.com/HenrikBengtsson/future/discussions> for Q&A)
9+
(Please use <https://github.com/futureverse/future/discussions> for Q&A)
1010

1111
**Wish or feature request**
1212

.github/workflows/R-CMD-check.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ jobs:
4747
_R_COMPARE_LANG_OBJECTS: eqonly
4848
## R CMD check
4949
_R_CHECK_CRAN_INCOMING_: false
50-
_R_CHECK_LENGTH_1_CONDITION_: true
51-
_R_CHECK_LENGTH_1_LOGIC2_: true
5250
_R_CHECK_MATRIX_DATA_: true
5351
_R_CHECK_SUGGESTS_ONLY_: true
5452
_R_CHECK_THINGS_IN_TEMP_DIR_: true

.github/workflows/covr.yaml

Lines changed: 0 additions & 74 deletions
This file was deleted.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
on: [push]
2+
3+
name: test-coverage.yaml
4+
5+
permissions: read-all
6+
7+
jobs:
8+
test-coverage:
9+
runs-on: ubuntu-latest
10+
env:
11+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Assert CODECOV_TOKEN is set
17+
run: |
18+
if [[ -z "${{secrets.CODECOV_TOKEN}}" ]]; then
19+
>&2 echo "::error::ERROR: 'secrets.CODECOV_TOKEN' not set"
20+
exit 1
21+
fi
22+
23+
- uses: r-lib/actions/setup-r@v2
24+
with:
25+
use-public-rspm: true
26+
27+
- uses: r-lib/actions/setup-r-dependencies@v2
28+
with:
29+
extra-packages: any::covr, any::xml2
30+
needs: coverage
31+
32+
- name: Test coverage
33+
run: |
34+
cov <- covr::package_coverage(
35+
quiet = FALSE,
36+
clean = FALSE,
37+
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
38+
)
39+
print(cov)
40+
covr::to_cobertura(cov)
41+
shell: Rscript {0}
42+
43+
- uses: codecov/codecov-action@v4
44+
with:
45+
fail_ci_if_error: ${{ github.event_name != 'pull_request' && true || false }}
46+
file: ./cobertura.xml
47+
plugin: noop
48+
disable_search: true
49+
token: ${{ secrets.CODECOV_TOKEN }}
50+
51+
- name: Upload test results
52+
if: failure()
53+
uses: actions/upload-artifact@v4
54+
with:
55+
name: coverage-test-failures
56+
path: ${{ runner.temp }}/package

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
# Contributing to the 'future' package
33

4-
This Git repository uses the [Git Flow](https://nvie.com/posts/a-successful-git-branching-model/) branching model (the [`git flow`](https://github.com/petervanderdoes/gitflow-avh) extension is useful for this). The [`develop`](https://github.com/HenrikBengtsson/future/tree/develop) branch contains the latest contributions and other code that will appear in the next release, and the [`master`](https://github.com/HenrikBengtsson/future) branch contains the code of the latest release, which is exactly what is currently on [CRAN](https://cran.r-project.org/package=future).
4+
This Git repository uses the [Git Flow](https://nvie.com/posts/a-successful-git-branching-model/) branching model (the [`git flow`](https://github.com/petervanderdoes/gitflow-avh) extension is useful for this). The [`develop`](https://github.com/futureverse/future/tree/develop) branch contains the latest contributions and other code that will appear in the next release, and the [`master`](https://github.com/futureverse/future) branch contains the code of the latest release, which is exactly what is currently on [CRAN](https://cran.r-project.org/package=future).
55

6-
Contributing to this package is easy. Just send a [pull request](https://help.github.com/articles/using-pull-requests/). When you send your PR, make sure `develop` is the destination branch on the [future repository](https://github.com/HenrikBengtsson/future). Your PR should pass `R CMD check --as-cran`, which will also be checked by <a href="https://github.com/HenrikBengtsson/future/actions?query=workflow%3AR-CMD-check">GitHub Actions</a> and when the PR is submitted.
6+
Contributing to this package is easy. Just send a [pull request](https://help.github.com/articles/using-pull-requests/). When you send your PR, make sure `develop` is the destination branch on the [future repository](https://github.com/futureverse/future). Your PR should pass `R CMD check --as-cran`, which will also be checked by <a href="https://github.com/futureverse/future/actions?query=workflow%3AR-CMD-check">GitHub Actions</a> and when the PR is submitted.
77

88
We abide to the [Code of Conduct](https://www.contributor-covenant.org/version/2/0/code_of_conduct/) of Contributor Covenant.

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Description: The purpose of this package is to provide a lightweight and
3737
License: LGPL (>= 2.1)
3838
LazyLoad: TRUE
3939
ByteCompile: TRUE
40-
URL: https://future.futureverse.org, https://github.com/HenrikBengtsson/future
41-
BugReports: https://github.com/HenrikBengtsson/future/issues
40+
URL: https://future.futureverse.org, https://github.com/futureverse/future
41+
BugReports: https://github.com/futureverse/future/issues
4242
Encoding: UTF-8
4343
RoxygenNote: 7.3.2
4444
Roxygen: list(markdown = TRUE)

R/Future-class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ resolved.Future <- function(x, run = TRUE, ...) {
638638
#' Currently it is not possible to specify what type of nested
639639
#' futures to be used, meaning the above default will always be
640640
#' used.
641-
#' See \href{https://github.com/HenrikBengtsson/future/issues/37}{Issue #37}
641+
#' See \href{https://github.com/futureverse/future/issues/37}{Issue #37}
642642
#' for plans on adding support for custom nested future types.
643643
#'
644644
#' (*) Ideally we would set `mc.cores = 0` but that will unfortunately

R/MulticoreFuture-class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ result.MulticoreFuture <- function(future, ...) {
206206
## SPECIAL: Check for fallback 'fatal error in wrapper code'
207207
## try-error from parallel:::mcparallel(). If detected, then
208208
## turn into an error with a more informative error message, cf.
209-
## https://github.com/HenrikBengtsson/future/issues/35
209+
## https://github.com/futureverse/future/issues/35
210210
if (is.null(result) || identical(result, structure("fatal error in wrapper code", class = "try-error"))) {
211211
label <- future$label
212212
if (is.null(label)) label <- "<none>"

0 commit comments

Comments
 (0)