File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,17 @@ jobs:
22
22
use-public-rspm : true
23
23
24
24
- name : Install lintr
25
- run : install.packages("lintr")
25
+ run : |
26
+ install.packages("lintr")
27
+ install.packages("devtools")
26
28
shell : Rscript {0}
27
29
30
+ # we must use devtools::load_all to all lintr to not consider
31
+ # all of the internal non exported functions as non declared globals
28
32
- name : Lint root directory
29
- run : lintr::lint_dir()
33
+ run : |
34
+ devtools::load_all()
35
+ lintr::lint_dir()
30
36
shell : Rscript {0}
31
37
env :
32
38
LINTR_ERROR_ON_LINT : true
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ test_that("can create hdf5", {
46
46
expect_equal(hdf5r :: readDataSet(tool ), " loupeR" )
47
47
48
48
extra <- hdf5r :: openGroup(metadata , " extra" )
49
- loupeR_seurat_version <- hdf5r :: openLocation(extra , " loupeR_seurat_version" )
50
- val <- hdf5r :: readDataSet(loupeR_seurat_version )
51
- expect(! is.null(hdf5r :: readDataSet(loupeR_seurat_version )), " extra field is missing" )
49
+ louper_seurat_version <- hdf5r :: openLocation(extra , " loupeR_seurat_version" )
50
+ val <- hdf5r :: readDataSet(louper_seurat_version )
51
+ expect(! is.null(hdf5r :: readDataSet(louper_seurat_version )), " extra field is missing" )
52
52
})
53
53
54
54
test_that(" can create hdf5 custom feature ids" , {
You can’t perform that action at this time.
0 commit comments