Skip to content

Commit

Permalink
Fix R CMD CHECK
Browse files Browse the repository at this point in the history
  • Loading branch information
grst committed Jan 19, 2024
1 parent e89be7c commit f9a9a1b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 20 deletions.
17 changes: 8 additions & 9 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
Package: MAEio
Title: Read Various Data Sources into MultiAssayExperiment objects
Version: 0.0.0.9000
Version: 0.1.9000
Authors@R:
person("Gregor", "Sturm", , "[email protected]", role = c("aut", "cre"))
Description: Read Various Data Sources into MultiAssayExperiment objects
Description: This package provides convenience functions for reading real-world evidence data provided by Personalis into Bioconductor MultiAssayExperiment objects.
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Suggests:
knitr,
rmarkdown,
purrr,
conflicted,
testthat (>= 3.0.0)
RoxygenNote: 7.3.0
Depends:
SummarizedExperiment,
readxl,
Expand All @@ -24,6 +18,11 @@ Depends:
dplyr,
BumpyMatrix,
rvest
Suggests:
knitr,
rmarkdown,
conflicted,
testthat (>= 3.0.0)
Config/testthat/edition: 3
biocViews:
VignetteBuilder: knitr
Expand Down
10 changes: 0 additions & 10 deletions Jenkinsfile

This file was deleted.

2 changes: 1 addition & 1 deletion R/util.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ catch_file_not_found <- function(path, callback, ...) {
warn_missing_samples <- function(sample_list, sample_paths, mod_name) {
failed_sample_mask <- vapply(sample_list, is.null, logical(1))
lapply(sample_paths[failed_sample_mask], function(path) {
message(sprintf("⚠️ No gene %s found for %s. Sample ignored.", mod_name, basename(path)))
message(sprintf("\u26A0\uFE0F No gene %s found for %s. Sample ignored.", mod_name, basename(path)))
})
if (sum(failed_sample_mask)) {
warning(sprintf("%i %s sample(s) were not found. Please check the log for details.", sum(failed_sample_mask), mod_name))
Expand Down
3 changes: 3 additions & 0 deletions tests/testthat/test_TODO.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
test_that("this is a placeholder to be filled in case we end up having test data that can be publicly shared", {
print("foo")
})

0 comments on commit f9a9a1b

Please sign in to comment.