Skip to content

Commit

Permalink
Fixed Warnings and some Notes happening during check()
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRegnier committed Sep 23, 2024
1 parent 20bfc64 commit b6ebba8
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description: PICAFlow (Pipeline for Integrative and Comprehensive Analysis of Fl
License: GPL (>= 3)
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.1
RoxygenNote: 7.3.2
Imports:
parallel,
doSNOW,
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export(UMAP_downsampledDataset)
export(analyzePeaks)
export(applyClusterModel)
export(bindData)
export(checkNewVersion)
export(clustersPercentagesHeatmap)
export(clustersPhenotypesHeatmap)
export(collapseCloseClusters)
Expand Down
10 changes: 6 additions & 4 deletions R/0_Preprocessing.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

checkNewVersion = function()
{
latestRelease = gh("GET /repos/{owner}/{repo}/releases", owner = "PaulRegnier", repo = "PICAFlow")
latestRelease = as.character(releases[[1]][["tag_name"]])
installedRelease = as.character(packageVersion("PICAFlow"))
latestRelease = gh::gh("GET /repos/{owner}/{repo}/releases", owner = "PaulRegnier", repo = "PICAFlow")
latestRelease = as.character(latestRelease[[1]][["tag_name"]])
installedRelease = as.character(utils::packageVersion("PICAFlow"))

if(installedRelease != latestRelease)
{
Expand Down Expand Up @@ -107,7 +107,7 @@ convertToRDS = function(conversionTable = NULL)
if (is.null(conversionTable) == FALSE)
{

foreach(t = 1:ncol(conversionTable)) %do%
foreach::foreach(t = 1:ncol(conversionTable)) %do%
{
currentColumnData = conversionTable[, t]

Expand Down Expand Up @@ -434,6 +434,8 @@ subsetData = function(parametersToKeep = NULL, customNames = NULL)
#'
#' @param maxEventsNumber The maximum number of events to use for data displaying. Defaults to `10000`.
#'
#' @param options A list containing any desired parameter to pass to the Shiny application
#'
#' @importFrom foreach %do%
#'
#' @export
Expand Down
2 changes: 2 additions & 0 deletions R/1_Transformation.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ mergeSamples = function(suffix = NULL, useStructureFromReferenceSample = 0)
#'
#' @param fs_shiny A flowSet generated using `mergeData()` function. Defaults to `NULL`.
#'
#' @param options A list containing any desired parameter to pass to the Shiny application
#'
#' @importFrom foreach %do%
#'
#' @export
Expand Down
11 changes: 11 additions & 0 deletions man/checkNewVersion.Rd

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

8 changes: 7 additions & 1 deletion man/launchCompensationTuningShinyApp.Rd

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

4 changes: 3 additions & 1 deletion man/launchTransformationTuningShinyApp.Rd

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

0 comments on commit b6ebba8

Please sign in to comment.