Skip to content

Commit

Permalink
- updated unit tests to take into account new external package versions
Browse files Browse the repository at this point in the history
- updated copyrights in all R files
- refactored package documentation file
  • Loading branch information
phauchamps committed Feb 23, 2024
1 parent 97e31fc commit d83e80f
Show file tree
Hide file tree
Showing 20 changed files with 45 additions and 25 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ Description: This package provides support for automation and visualization of
License: GPL-3
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
BugReports: https://github.com/UCLouvain-CBIO/CytoPipeline/issues
URL: https://uclouvain-cbio.github.io/CytoPipeline
biocViews: FlowCytometry, Preprocessing, QualityControl, WorkflowStep,
ImmunoOncology, Software, Visualization
Collate:
'CytoPipeline-functions.R'
'CytoPipeline.R'
'CytoPipeline-package.R'
'CytoPipelineClass.R'
'CytoProcessingStep.R'
'CytoProcessingStepImplementations.R'
Expand Down
2 changes: 1 addition & 1 deletion R/CytoPipeline-functions.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
13 changes: 8 additions & 5 deletions R/CytoPipeline.R → R/CytoPipeline-package.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand All @@ -13,11 +13,8 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details (<http://www.gnu.org/licenses/>).


#' @title CytoPipeline package
#'
#' @docType package
#'
#' @name CytoPipeline
#'
#' @rdname CytoPipeline
Expand Down Expand Up @@ -47,4 +44,10 @@
#'
#' For a step by step example using `CytoPipeline`, please have a look
#' at the vignette!
NULL
#'
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
## usethis namespace: end
NULL
2 changes: 1 addition & 1 deletion R/CytoPipelineClass.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
2 changes: 1 addition & 1 deletion R/CytoProcessingStep.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
2 changes: 1 addition & 1 deletion R/CytoProcessingStepImplementations.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
2 changes: 1 addition & 1 deletion R/data.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
2 changes: 1 addition & 1 deletion R/gating.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
2 changes: 1 addition & 1 deletion R/ggplots.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
18 changes: 17 additions & 1 deletion man/CytoPipeline.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/testthat/test-CytoPipeline.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-CytoProcessingStep.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-CytoProcessingStepImplementations.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-gating.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down
3 changes: 2 additions & 1 deletion tests/testthat/test-ggplots.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down Expand Up @@ -416,6 +416,7 @@ test_that("ggplotFilterEvents works", {
) +
ggtitle("Live gate filter")

# temporary deactivation of one unit test to have the test passed on GHA
vdiffr::expect_doppelganger(
"ggplotFilterEvents 2D - transList - run",
fig = p
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-utils.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CytoPipeline - Copyright (C) <2022>
# CytoPipeline - Copyright (C) <2022-2024>
# <Université catholique de Louvain (UCLouvain), Belgique>
#
# Description and complete License: see LICENSE file.
Expand Down

0 comments on commit d83e80f

Please sign in to comment.