Spectra.Rcheck/tests_i386/testthat.Rout
R version 4.0.5 (2021-03-31) -- "Shake and Throw"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library("testthat")
> library("Spectra")
Loading required package: S4Vectors
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which.max, which.min
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Loading required package: BiocParallel
Loading required package: ProtGenerics
Attaching package: 'ProtGenerics'
The following object is masked from 'package:stats':
smooth
>
> register(SerialParam())
>
> sciex_file <- normalizePath(
+ dir(system.file("sciex", package = "msdata"), full.names = TRUE))
> cdf_file <- normalizePath(
+ dir(system.file("cdf", package = "msdata"), full.names = TRUE))
>
> sciex_mzr <- backendInitialize(MsBackendMzR(), files = sciex_file)
> sciex_pks <- peaksData(sciex_mzr)
> fl <- normalizePath(
+ dir(system.file("proteomics", package = "msdata"), full.names = TRUE))
> tmt_mzr <- backendInitialize(MsBackendMzR(), files = fl[5])
>
> sciex_hd5 <- backendInitialize(MsBackendHdf5Peaks(),
+ data = spectraData(sciex_mzr),
+ hdf5path = tempdir())
>
> test_check("Spectra")
MsBackendDataFrame with 0 spectra
Error in .h5_read_bare(fid, "/header/modcount") :
HDF5. Dataset. Can't open object.
Error in try(.Call("_H5Fopen", x, 0L, fapl@ID, PACKAGE = "rhdf5")) :
HDF5. File accessibilty. Unable to open file.
Error in try(.Call("_H5Fopen", x, 0L, fapl@ID, PACKAGE = "rhdf5")) :
HDF5. File accessibilty. Unable to open file.
Error in try(.Call("_H5Fopen", x, 0L, fapl@ID, PACKAGE = "rhdf5")) :
HDF5. File accessibilty. Unable to open file.
Error in try(.Call("_H5Fopen", x, 0L, fapl@ID, PACKAGE = "rhdf5")) :
HDF5. File accessibilty. Unable to open file.
MsBackendHdf5Peaks with 3 spectra
msLevel rtime scanIndex
<integer> <numeric> <integer>
1 1 NA 1
2 2 NA 1
3 2 NA 2
... 16 more variables/columns.
file(s):
c
d
MsBackendMzR with 0 spectra
MsBackendMzR with 1862 spectra
msLevel rtime scanIndex
<integer> <numeric> <integer>
1 1 0.280 1
2 1 0.559 2
3 1 0.838 3
4 1 1.117 4
5 1 1.396 5
... ... ... ...
1858 1 258.636 927
1859 1 258.915 928
1860 1 259.194 929
1861 1 259.473 930
1862 1 259.752 931
... 33 more variables/columns.
file(s):
20171016_POOL_POS_1_105-134.mzML
20171016_POOL_POS_3_105-134.mzML
MSn data (Spectra) with 0 spectra in a MsBackendDataFrame backend:
Lazy evaluation queue: 2 processing step(s)
MSn data (Spectra) with 1862 spectra in a MsBackendMzR backend:
msLevel rtime scanIndex
<integer> <numeric> <integer>
1 1 0.280 1
2 1 0.559 2
3 1 0.838 3
4 1 1.117 4
5 1 1.396 5
... ... ... ...
1858 1 258.636 927
1859 1 258.915 928
1860 1 259.194 929
1861 1 259.473 930
1862 1 259.752 931
... 33 more variables/columns.
file(s):
20171016_POOL_POS_1_105-134.mzML
20171016_POOL_POS_3_105-134.mzML
== Skipped tests ===============================================================
* Skipping on CRAN (15)
* empty test (2)
[ FAIL 0 | WARN 11 | SKIP 17 | PASS 1549 ]
>
> proc.time()
user system elapsed
227.12 10.29 237.57
|
Spectra.Rcheck/tests_x64/testthat.Rout
R version 4.0.5 (2021-03-31) -- "Shake and Throw"
Copyright (C) 2021 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library("testthat")
> library("Spectra")
Loading required package: S4Vectors
Loading required package: stats4
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colnames, dirname, do.call,
duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
tapply, union, unique, unsplit, which.max, which.min
Attaching package: 'S4Vectors'
The following object is masked from 'package:base':
expand.grid
Loading required package: BiocParallel
Loading required package: ProtGenerics
Attaching package: 'ProtGenerics'
The following object is masked from 'package:stats':
smooth
>
> register(SerialParam())
>
> sciex_file <- normalizePath(
+ dir(system.file("sciex", package = "msdata"), full.names = TRUE))
> cdf_file <- normalizePath(
+ dir(system.file("cdf", package = "msdata"), full.names = TRUE))
>
> sciex_mzr <- backendInitialize(MsBackendMzR(), files = sciex_file)
> sciex_pks <- peaksData(sciex_mzr)
> fl <- normalizePath(
+ dir(system.file("proteomics", package = "msdata"), full.names = TRUE))
> tmt_mzr <- backendInitialize(MsBackendMzR(), files = fl[5])
>
> sciex_hd5 <- backendInitialize(MsBackendHdf5Peaks(),
+ data = spectraData(sciex_mzr),
+ hdf5path = tempdir())
>
> test_check("Spectra")
MsBackendDataFrame with 0 spectra
Error in .h5_read_bare(fid, "/header/modcount") :
HDF5. Dataset. Can't open object.
Error in try(.Call("_H5Fopen", x, 0L, fapl@ID, PACKAGE = "rhdf5")) :
HDF5. File accessibilty. Unable to open file.
Error in try(.Call("_H5Fopen", x, 0L, fapl@ID, PACKAGE = "rhdf5")) :
HDF5. File accessibilty. Unable to open file.
Error in try(.Call("_H5Fopen", x, 0L, fapl@ID, PACKAGE = "rhdf5")) :
HDF5. File accessibilty. Unable to open file.
Error in try(.Call("_H5Fopen", x, 0L, fapl@ID, PACKAGE = "rhdf5")) :
HDF5. File accessibilty. Unable to open file.
MsBackendHdf5Peaks with 3 spectra
msLevel rtime scanIndex
<integer> <numeric> <integer>
1 1 NA 1
2 2 NA 1
3 2 NA 2
... 16 more variables/columns.
file(s):
c
d
MsBackendMzR with 0 spectra
MsBackendMzR with 1862 spectra
msLevel rtime scanIndex
<integer> <numeric> <integer>
1 1 0.280 1
2 1 0.559 2
3 1 0.838 3
4 1 1.117 4
5 1 1.396 5
... ... ... ...
1858 1 258.636 927
1859 1 258.915 928
1860 1 259.194 929
1861 1 259.473 930
1862 1 259.752 931
... 33 more variables/columns.
file(s):
20171016_POOL_POS_1_105-134.mzML
20171016_POOL_POS_3_105-134.mzML
MSn data (Spectra) with 0 spectra in a MsBackendDataFrame backend:
Lazy evaluation queue: 2 processing step(s)
MSn data (Spectra) with 1862 spectra in a MsBackendMzR backend:
msLevel rtime scanIndex
<integer> <numeric> <integer>
1 1 0.280 1
2 1 0.559 2
3 1 0.838 3
4 1 1.117 4
5 1 1.396 5
... ... ... ...
1858 1 258.636 927
1859 1 258.915 928
1860 1 259.194 929
1861 1 259.473 930
1862 1 259.752 931
... 33 more variables/columns.
file(s):
20171016_POOL_POS_1_105-134.mzML
20171016_POOL_POS_3_105-134.mzML
== Skipped tests ===============================================================
* Skipping on CRAN (15)
* empty test (2)
[ FAIL 0 | WARN 11 | SKIP 17 | PASS 1549 ]
>
> proc.time()
user system elapsed
252.18 5.84 257.57
|