Skip to content

Commit cb4fac0

Browse files
committed
update various issues in preparation for release
1 parent 9e5fa82 commit cb4fac0

5 files changed

Lines changed: 52 additions & 56 deletions

File tree

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ on:
44
push:
55
branches: [main, master]
66
pull_request:
7-
branches: [main, master]
87

9-
name: R-CMD-check
8+
name: R-CMD-check.yaml
9+
10+
permissions: read-all
1011

1112
jobs:
1213
R-CMD-check:
@@ -29,7 +30,7 @@ jobs:
2930
R_KEEP_PKG_SOURCE: yes
3031

3132
steps:
32-
- uses: actions/checkout@v3
33+
- uses: actions/checkout@v5
3334

3435
- uses: r-lib/actions/setup-pandoc@v2
3536

@@ -47,3 +48,4 @@ jobs:
4748
- uses: r-lib/actions/check-r-package@v2
4849
with:
4950
upload-snapshots: true
51+
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'

.github/workflows/test-coverage.yaml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ on:
44
push:
55
branches: [main, master]
66
pull_request:
7-
branches: [main, master]
87

9-
name: test-coverage
8+
name: test-coverage.yaml
9+
10+
permissions: read-all
1011

1112
jobs:
1213
test-coverage:
@@ -15,36 +16,47 @@ jobs:
1516
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1617

1718
steps:
18-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v5
1920

2021
- uses: r-lib/actions/setup-r@v2
2122
with:
2223
use-public-rspm: true
2324

2425
- uses: r-lib/actions/setup-r-dependencies@v2
2526
with:
26-
extra-packages: any::covr
27+
extra-packages: any::covr, any::xml2
2728
needs: coverage
2829

2930
- name: Test coverage
3031
run: |
31-
covr::codecov(
32+
cov <- covr::package_coverage(
3233
quiet = FALSE,
3334
clean = FALSE,
34-
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
35+
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
3536
)
37+
print(cov)
38+
covr::to_cobertura(cov)
3639
shell: Rscript {0}
3740

41+
- uses: codecov/codecov-action@v5
42+
with:
43+
# Fail if error if not on PR, or if on PR and token is given
44+
fail_ci_if_error: ${{ github.event_name != 'pull_request' || secrets.CODECOV_TOKEN }}
45+
files: ./cobertura.xml
46+
plugins: noop
47+
disable_search: true
48+
token: ${{ secrets.CODECOV_TOKEN }}
49+
3850
- name: Show testthat output
3951
if: always()
4052
run: |
4153
## --------------------------------------------------------------------
42-
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
54+
find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true
4355
shell: bash
4456

4557
- name: Upload test results
4658
if: failure()
47-
uses: actions/upload-artifact@v3
59+
uses: actions/upload-artifact@v4
4860
with:
4961
name: coverage-test-failures
5062
path: ${{ runner.temp }}/package

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ Description: Provides functionality to infer trajectories from single-cell data,
55
represent them into a common format, and adapt them. Other biological information
66
can also be added, such as cellular grouping, RNA velocity and annotation.
77
Saelens et al. (2019) <doi:10.1038/s41587-019-0071-9>.
8-
Version: 1.2.4
8+
Version: 1.2.5
99
Authors@R: c(
1010
person(
1111
"Robrecht",
1212
"Cannoodt",
1313
email = "rcannood@gmail.com",
1414
role = c("aut", "cre"),
15-
comment = c(ORCID = "0000-0003-3641-729X", github = "rcannood")
15+
comment = c(ORCID = "0000-0003-3641-729X")
1616
),
1717
person(
1818
"Wouter",
1919
"Saelens",
2020
email = "wouter.saelens@gmail.com",
2121
role = c("aut"),
22-
comment = c(ORCID = "0000-0002-7114-6248", github = "zouter")
22+
comment = c(ORCID = "0000-0002-7114-6248")
2323
)
2424
)
2525
URL: https://github.com/dynverse/dynwrap

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ library(tidyverse)
1414
```
1515
<!-- badges: start -->
1616
[![R-CMD-check](https://github.com/dynverse/dynwrap/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/dynverse/dynwrap/actions/workflows/R-CMD-check.yaml)
17-
[![Codecov test coverage](https://codecov.io/gh/dynverse/dynwrap/branch/master/graph/badge.svg)](https://app.codecov.io/gh/dynverse/dynwrap?branch=master)
17+
[![Codecov test coverage](https://codecov.io/gh/dynverse/dynwrap/graph/badge.svg)](https://app.codecov.io/gh/dynverse/dynwrap)
1818
[**Tutorials**](https://dynverse.org)
1919
[**Reference documentation**](https://dynverse.org/reference/dynwrap/)
2020
<!-- badges: end -->

README.md

Lines changed: 23 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dynwrap: Representing and Inferring Single-Cell Trajectories
66

77
[![R-CMD-check](https://github.com/dynverse/dynwrap/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/dynverse/dynwrap/actions/workflows/R-CMD-check.yaml)
88
[![Codecov test
9-
coverage](https://codecov.io/gh/dynverse/dynwrap/branch/master/graph/badge.svg)](https://app.codecov.io/gh/dynverse/dynwrap?branch=master)
9+
coverage](https://codecov.io/gh/dynverse/dynwrap/graph/badge.svg)](https://app.codecov.io/gh/dynverse/dynwrap)
1010
[**Tutorials**](https://dynverse.org) [**Reference
1111
documentation**](https://dynverse.org/reference/dynwrap/)
1212
<!-- badges: end -->
@@ -16,15 +16,15 @@ documentation**](https://dynverse.org/reference/dynwrap/)
1616
**dynwrap** contains the code for a common model of single-cell
1717
trajectories. The package can:
1818

19-
- Wrap the input data of a trajectory inference method, such as
20-
expression and prior information
21-
- Run a trajectory inference method in R, in a docker container or a
22-
singularity container
23-
- Wrap the output of a trajectory inference method, such as the
24-
pseudotime, a clustering or a branch network, and convert it into a
25-
common trajectory model
26-
- Further postprocess and adapt the trajectory model, such as
27-
labelling the milestones and rooting the trajectory
19+
- Wrap the input data of a trajectory inference method, such as
20+
expression and prior information
21+
- Run a trajectory inference method in R, in a docker container or a
22+
singularity container
23+
- Wrap the output of a trajectory inference method, such as the
24+
pseudotime, a clustering or a branch network, and convert it into a
25+
common trajectory model
26+
- Further postprocess and adapt the trajectory model, such as labelling
27+
the milestones and rooting the trajectory
2828

2929
![](man/figures/trajectory_model.png)
3030

@@ -38,13 +38,13 @@ containers in [dynmethods](https://github.com/dynverse/dynmethods).
3838

3939
The advantage of using a common model is that it allows:
4040

41-
- Comparison between a prediction and a gold standard, eg. using
42-
[dyneval](https://github.com/dynverse/dyneval)
43-
- Comparing two predictions
44-
- Easily visualise the trajectory, eg. using
45-
[dynplot](https://github.com/dynverse/dynplot)
46-
- Extracting relevant features/genes, eg. using
47-
[dynfeature](https://github.com/dynverse/dynfeature)
41+
- Comparison between a prediction and a gold standard, eg. using
42+
[dyneval](https://github.com/dynverse/dyneval)
43+
- Comparing two predictions
44+
- Easily visualise the trajectory, eg. using
45+
[dynplot](https://github.com/dynverse/dynplot)
46+
- Extracting relevant features/genes, eg. using
47+
[dynfeature](https://github.com/dynverse/dynfeature)
4848

4949
## Latest changes
5050

@@ -53,34 +53,16 @@ list of changes.
5353

5454
<!-- This section gets automatically generated from inst/NEWS.md -->
5555

56-
### Recent changes in dynwrap 1.2.3
56+
### Recent changes in dynwrap 1.2.5
5757

58-
- MINOR CHANGE: Fixes to metadata (documentation, citation entry,
59-
broken links).
58+
- BUG FIX `convert_definition()`: Fix for purrr having deprecated
59+
`invoke` in favour of `exec` (PR \#166).
6060

61-
### Recent changes in dynwrap 1.2.2
61+
### Recent changes in dynwrap 1.2.4
6262

63-
- MAJOR CHANGE `convert_milestone_percentages_to_progressions()`:
64-
Rewrite implementation to attain significant speedup.
63+
- Resubmission after babelwhale was removed from CRAN.
6564

66-
- MINOR CHANGE `infer_trajectory()`: Infer command (Rscript/python)
67-
from file extension if possible and avoid using shebang to execute
68-
script, because R CMD check for R 4.0 puts Rscript and R dummy
69-
executables on the path before R CMD check. This means
70-
`#!/usr/bin/env Rscript` does not work anymore.
71-
72-
- MINOR CHANGE `add_feature_importance()`: Add a function for adding
73-
feature importance scores to a trajectory.
74-
75-
- BUG FIX `project_waypoints()`: Rename milestone waypoints such that
76-
the names are unique.
77-
78-
- BUG FIX `infer_trajectory()`: Fix error message printing.
79-
80-
- BUG FIX: `dyndimred` is used conditionally.
81-
82-
- BUG FIX: `wrap_expression()` and `add_expression()`: Do not override
83-
feature_info when it already exists in dataset.
65+
- MINOR CHANGE: Added `@return` documentation to all functions.
8466

8567
## Dynverse dependencies
8668

0 commit comments

Comments
 (0)