Back to Multiple platform build/check report for BioC 3.20:   simplified   long
ABCDEFGHIJKLMNOPQ[R]STUVWXYZ

This page was generated on 2024-12-23 12:05 -0500 (Mon, 23 Dec 2024).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo2Linux (Ubuntu 24.04.1 LTS)x86_644.4.2 (2024-10-31) -- "Pile of Leaves" 4744
palomino8Windows Server 2022 Datacenterx644.4.2 (2024-10-31 ucrt) -- "Pile of Leaves" 4487
merida1macOS 12.7.5 Montereyx86_644.4.2 (2024-10-31) -- "Pile of Leaves" 4515
kjohnson1macOS 13.6.6 Venturaarm644.4.2 (2024-10-31) -- "Pile of Leaves" 4467
Click on any hostname to see more info about the system (e.g. compilers)      (*) as reported by 'uname -p', except on Windows and Mac OS X

Package 1694/2289HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
Rdisop 1.66.0  (landing page)
Steffen Neumann
Snapshot Date: 2024-12-19 13:00 -0500 (Thu, 19 Dec 2024)
git_url: https://git.bioconductor.org/packages/Rdisop
git_branch: RELEASE_3_20
git_last_commit: f99f401
git_last_commit_date: 2024-10-29 09:28:24 -0500 (Tue, 29 Oct 2024)
nebbiolo2Linux (Ubuntu 24.04.1 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version is already published
palomino8Windows Server 2022 Datacenter / x64  OK    OK    ERROR    OK  
merida1macOS 12.7.5 Monterey / x86_64  OK    OK    OK    OK  UNNEEDED, same version is already published
kjohnson1macOS 13.6.6 Ventura / arm64  OK    OK    OK    OK  UNNEEDED, same version is already published


CHECK results for Rdisop on palomino8

To the developers/maintainers of the Rdisop package:
- Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/Rdisop.git to reflect on this report. See Troubleshooting Build Report for more information.
- Use the following Renviron settings to reproduce errors and warnings.
- If 'R CMD check' started to fail recently on the Linux builder(s) over a missing dependency, add the missing dependency to 'Suggests:' in your DESCRIPTION file. See Renviron.bioc for more information.

raw results


Summary

Package: Rdisop
Version: 1.66.0
Command: F:\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:Rdisop.install-out.txt --library=F:\biocbuild\bbs-3.20-bioc\R\library --no-vignettes --timings Rdisop_1.66.0.tar.gz
StartedAt: 2024-12-20 05:04:38 -0500 (Fri, 20 Dec 2024)
EndedAt: 2024-12-20 05:05:37 -0500 (Fri, 20 Dec 2024)
EllapsedTime: 58.9 seconds
RetCode: 1
Status:   ERROR  
CheckDir: Rdisop.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   F:\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:Rdisop.install-out.txt --library=F:\biocbuild\bbs-3.20-bioc\R\library --no-vignettes --timings Rdisop_1.66.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'F:/biocbuild/bbs-3.20-bioc/meat/Rdisop.Rcheck'
* using R version 4.4.2 (2024-10-31 ucrt)
* using platform: x86_64-w64-mingw32
* R was compiled by
    gcc.exe (GCC) 13.3.0
    GNU Fortran (GCC) 13.3.0
* running under: Windows Server 2022 x64 (build 20348)
* using session charset: UTF-8
* using option '--no-vignettes'
* checking for file 'Rdisop/DESCRIPTION' ... OK
* this is package 'Rdisop' version '1.66.0'
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'Rdisop' can be installed ... OK
* used C++ compiler: 'G__~1.EXE (GCC) 13.3.0'
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking line endings in shell scripts ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking use of PKG_*FLAGS in Makefiles ... OK
* checking include directives in Makefiles ... OK
* checking compiled code ... NOTE
Note: information on .o files for x64 is not available
File 'F:/biocbuild/bbs-3.20-bioc/R/library/Rdisop/libs/x64/Rdisop.dll':
  Found '_exit', possibly from '_exit' (C)
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
  Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)
  Found 'rand', possibly from 'rand' (C)

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs nor [v]sprintf. The detected symbols are linked into
the code but might come from libraries and not actually be called.

See 'Writing portable packages' in the 'Writing R Extensions' manual.
* checking files in 'vignettes' ... OK
* checking examples ... OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
  Running 'doRUnit.R'
 ERROR
Running the tests in 'tests/doRUnit.R' failed.
Last 13 lines of output:
  
  
  Executing test function test.minmaxElements5  ...  done successfully.
  
  
  
  Executing test function test.minmaxElements6  ...  done successfully.
  
  
  
  Executing test function test.minmaxElements7  ...  done successfully.
  
  
  
  Executing test function test.monoisotopicMasses  ... 
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: 1 ERROR, 1 NOTE
See
  'F:/biocbuild/bbs-3.20-bioc/meat/Rdisop.Rcheck/00check.log'
for details.


Installation output

Rdisop.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   F:\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD INSTALL Rdisop
###
##############################################################################
##############################################################################


* installing to library 'F:/biocbuild/bbs-3.20-bioc/R/library'
* installing *source* package 'Rdisop' ...
** using staged installation
** libs
using C++ compiler: 'G__~1.EXE (GCC) 13.3.0'
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c disop.cpp -o disop.o
In file included from ./imslib/src/ims/alphabet.h:8,
                 from disop.cpp:18:
./imslib/src/ims/element.h: In member function 'ims::Element::mass_type ims::Element::getMass(size_type) const':
./imslib/src/ims/element.h:166:37: warning: comparison of integer expressions of different signedness: 'int' and 'ims::IsotopeDistribution::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  166 |                     for (int i=0; i < IsotopeDistribution::SIZE; i++) {
      |                                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from disop.cpp:28:
./imslib/src/ims/decomp/decomputils.h: In function 'std::pair<typename DecompositionWeights::alphabet_mass_type, typename DecompositionWeights::alphabet_mass_type> ims::DecompUtils::getMinMaxWeightsRoundingErrors(const DecompositionWeights&)':
./imslib/src/ims/decomp/decomputils.h:92:60: warning: typedef 'weight_type' locally defined but not used [-Wunused-local-typedefs]
   92 |         typedef typename DecompositionWeights::weight_type weight_type;
      |                                                            ^~~~~~~~~~~
disop.cpp: In function 'bool isValidMyNitrogenRule(const ims::ComposedElement&, int)':
disop.cpp:106:8: warning: unused variable 'parityeven' [-Wunused-variable]
  106 |   bool parityeven = !parityodd;
      |        ^~~~~~~~~~
disop.cpp: In function 'SEXPREC* decomposeIsotopes(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)':
disop.cpp:228:50: warning: comparison of integer expressions of different signedness: 'std::vector<ims::IsotopeDistribution::Peak>::size_type' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  228 |         for (peaks_container::size_type i = 0; i < abundances.size(); ++i) {
      |                                                ~~^~~~~~~~~~~~~~~~~~~
disop.cpp:231:50: warning: comparison of integer expressions of different signedness: 'std::vector<ims::IsotopeDistribution::Peak>::size_type' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  231 |         for (peaks_container::size_type i = 0; i < abundances.size(); ++i) {
      |                                                ~~^~~~~~~~~~~~~~~~~~~
disop.cpp:239:53: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  239 |         for (masses_container::size_type mi = 0; mi < masses.size() && mi < abundances.size(); ++mi) {
      |                                                  ~~~^~~~~~~~~~~~~~~
disop.cpp:239:75: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  239 |         for (masses_container::size_type mi = 0; mi < masses.size() && mi < abundances.size(); ++mi) {
      |                                                                        ~~~^~~~~~~~~~~~~~~~~~~
disop.cpp:191:13: warning: unused variable 'number_molecules_shown' [-Wunused-variable]
  191 |         int number_molecules_shown = 100;
      |             ^~~~~~~~~~~~~~~~~~~~~~
disop.cpp:169:39: warning: typedef 'mass_type' locally defined but not used [-Wunused-local-typedefs]
  169 |     typedef distribution_t::mass_type mass_type;
      |                                       ^~~~~~~~~
disop.cpp:171:47: warning: typedef 'nominal_mass_type' locally defined but not used [-Wunused-local-typedefs]
  171 |     typedef distribution_t::nominal_mass_type nominal_mass_type;
      |                                               ^~~~~~~~~~~~~~~~~
disop.cpp:174:42: warning: typedef 'decomposition_type' locally defined but not used [-Wunused-local-typedefs]
  174 |     typedef decompositions_t::value_type decomposition_type;
      |                                          ^~~~~~~~~~~~~~~~~~
disop.cpp: In function 'SEXPREC* calculateScore(SEXP, SEXP, SEXP, SEXP)':
disop.cpp:390:53: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  390 |         for (masses_container::size_type mi = 0; mi < masses.size() && mi < abundances.size(); ++mi)
      |                                                  ~~~^~~~~~~~~~~~~~~
disop.cpp:390:75: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  390 |         for (masses_container::size_type mi = 0; mi < masses.size() && mi < abundances.size(); ++mi)
      |                                                                        ~~~^~~~~~~~~~~~~~~~~~~
disop.cpp:407:50: warning: comparison of integer expressions of different signedness: 'std::vector<ims::IsotopeDistribution::Peak>::size_type' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  407 |         for (peaks_container::size_type i = 0; i < abundances.size(); ++i) {
      |                                                ~~^~~~~~~~~~~~~~~~~~~
disop.cpp:410:50: warning: comparison of integer expressions of different signedness: 'std::vector<ims::IsotopeDistribution::Peak>::size_type' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  410 |         for (peaks_container::size_type i = 0; i < abundances.size(); ++i) {
      |                                                ~~^~~~~~~~~~~~~~~~~~~
disop.cpp:414:53: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  414 |         for (masses_container::size_type mi = 0; mi < masses.size() && mi < abundances.size(); ++mi)
      |                                                  ~~~^~~~~~~~~~~~~~~
disop.cpp:414:75: warning: comparison of integer expressions of different signedness: 'std::vector<double>::size_type' {aka 'long long unsigned int'} and 'R_xlen_t' {aka 'long long int'} [-Wsign-compare]
  414 |         for (masses_container::size_type mi = 0; mi < masses.size() && mi < abundances.size(); ++mi)
      |                                                                        ~~~^~~~~~~~~~~~~~~~~~~
disop.cpp:377:43: warning: typedef 'mass_type' locally defined but not used [-Wunused-local-typedefs]
  377 |         typedef distribution_t::mass_type mass_type;
      |                                           ^~~~~~~~~
disop.cpp: In function 'SEXPREC* rlistScores(std::multimap<score_type, ims::ComposedElement, std::greater<score_type> >, int)':
disop.cpp:626:43: warning: typedef 'scorer_type' locally defined but not used [-Wunused-local-typedefs]
  626 |     typedef DistributionProbabilityScorer scorer_type;
      |                                           ^~~~~~~~~~~
disop.cpp: In function 'void initializeCHNOPS(alphabet_t&, int)':
disop.cpp:709:39: warning: typedef 'elements_type' locally defined but not used [-Wunused-local-typedefs]
  709 |         typedef alphabet_t::container elements_type;
      |                                       ^~~~~~~~~~~~~
disop.cpp: In function 'void initializeAlphabet(SEXP, alphabet_t&, int)':
disop.cpp:814:33: warning: typedef 'elements_type' locally defined but not used [-Wunused-local-typedefs]
  814 |   typedef alphabet_t::container elements_type;
      |                                 ^~~~~~~~~~~~~
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/element.cpp -o imslib/src/ims/element.o
In file included from imslib/src/ims/element.cpp:6:
./imslib/src/ims/element.h: In member function 'ims::Element::mass_type ims::Element::getMass(size_type) const':
./imslib/src/ims/element.h:166:37: warning: comparison of integer expressions of different signedness: 'int' and 'ims::IsotopeDistribution::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  166 |                     for (int i=0; i < IsotopeDistribution::SIZE; i++) {
      |                                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/composedelement.cpp -o imslib/src/ims/composedelement.o
In file included from ./imslib/src/ims/composedelement.h:7,
                 from imslib/src/ims/composedelement.cpp:8:
./imslib/src/ims/element.h: In member function 'ims::Element::mass_type ims::Element::getMass(size_type) const':
./imslib/src/ims/element.h:166:37: warning: comparison of integer expressions of different signedness: 'int' and 'ims::IsotopeDistribution::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  166 |                     for (int i=0; i < IsotopeDistribution::SIZE; i++) {
      |                                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/isotopedistribution.cpp -o imslib/src/ims/isotopedistribution.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/alphabet.cpp -o imslib/src/ims/alphabet.o
In file included from ./imslib/src/ims/alphabet.h:8,
                 from imslib/src/ims/alphabet.cpp:6:
./imslib/src/ims/element.h: In member function 'ims::Element::mass_type ims::Element::getMass(size_type) const':
./imslib/src/ims/element.h:166:37: warning: comparison of integer expressions of different signedness: 'int' and 'ims::IsotopeDistribution::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  166 |                     for (int i=0; i < IsotopeDistribution::SIZE; i++) {
      |                                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/weights.cpp -o imslib/src/ims/weights.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/distributedalphabet.cpp -o imslib/src/ims/distributedalphabet.o
In file included from ./imslib/src/ims/alphabet.h:8,
                 from ./imslib/src/ims/distributedalphabet.h:7,
                 from imslib/src/ims/distributedalphabet.cpp:7:
./imslib/src/ims/element.h: In member function 'ims::Element::mass_type ims::Element::getMass(size_type) const':
./imslib/src/ims/element.h:166:37: warning: comparison of integer expressions of different signedness: 'int' and 'ims::IsotopeDistribution::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  166 |                     for (int i=0; i < IsotopeDistribution::SIZE; i++) {
      |                                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/transformation.cpp -o imslib/src/ims/transformation.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/isotopespecies.cpp -o imslib/src/ims/isotopespecies.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/base/parser/alphabettextparser.cpp -o imslib/src/ims/base/parser/alphabettextparser.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/base/parser/distributedalphabettextparser.cpp -o imslib/src/ims/base/parser/distributedalphabettextparser.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/base/parser/massestextparser.cpp -o imslib/src/ims/base/parser/massestextparser.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/base/parser/moleculesequenceparser.cpp -o imslib/src/ims/base/parser/moleculesequenceparser.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/base/parser/standardmoleculesequenceparser.cpp -o imslib/src/ims/base/parser/standardmoleculesequenceparser.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/base/parser/keggligandcompoundsparser.cpp -o imslib/src/ims/base/parser/keggligandcompoundsparser.o
imslib/src/ims/base/parser/keggligandcompoundsparser.cpp: In member function 'virtual void ims::KeggLigandCompoundsParser::parse(const ims::AbstractMoleculeSequenceParser::sequence_type&)':
imslib/src/ims/base/parser/keggligandcompoundsparser.cpp:53:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   53 |         for (;  letter_pos < last_pos &&
      |                 ~~~~~~~~~~~~~~~~~~~~~~^~
   54 |                         ( std::isalpha(sequence[letter_pos]) && std::isupper(sequence[letter_pos])) ||
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/base/parser/moleculeionchargemodificationparser.cpp -o imslib/src/ims/base/parser/moleculeionchargemodificationparser.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/calib/linepairstabber.cpp -o imslib/src/ims/calib/linepairstabber.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/calib/matchmatrix.cpp -o imslib/src/ims/calib/matchmatrix.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/calib/linearpointsetmatcher.cpp -o imslib/src/ims/calib/linearpointsetmatcher.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/decomp/realmassdecomposer.cpp -o imslib/src/ims/decomp/realmassdecomposer.o
In file included from ./imslib/src/ims/alphabet.h:8,
                 from ./imslib/src/ims/decomp/decomputils.h:12,
                 from imslib/src/ims/decomp/realmassdecomposer.cpp:9:
./imslib/src/ims/element.h: In member function 'ims::Element::mass_type ims::Element::getMass(size_type) const':
./imslib/src/ims/element.h:166:37: warning: comparison of integer expressions of different signedness: 'int' and 'ims::IsotopeDistribution::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  166 |                     for (int i=0; i < IsotopeDistribution::SIZE; i++) {
      |                                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
./imslib/src/ims/decomp/decomputils.h: In function 'std::pair<typename DecompositionWeights::alphabet_mass_type, typename DecompositionWeights::alphabet_mass_type> ims::DecompUtils::getMinMaxWeightsRoundingErrors(const DecompositionWeights&)':
./imslib/src/ims/decomp/decomputils.h:92:60: warning: typedef 'weight_type' locally defined but not used [-Wunused-local-typedefs]
   92 |         typedef typename DecompositionWeights::weight_type weight_type;
      |                                                            ^~~~~~~~~~~
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/utils/distribution.cpp -o imslib/src/ims/utils/distribution.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/distributionprobabilityscorer.cpp -o imslib/src/ims/distributionprobabilityscorer.o
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/characteralphabet.cpp -o imslib/src/ims/characteralphabet.o
In file included from ./imslib/src/ims/alphabet.h:8,
                 from ./imslib/src/ims/characteralphabet.h:6,
                 from imslib/src/ims/characteralphabet.cpp:3:
./imslib/src/ims/element.h: In member function 'ims::Element::mass_type ims::Element::getMass(size_type) const':
./imslib/src/ims/element.h:166:37: warning: comparison of integer expressions of different signedness: 'int' and 'ims::IsotopeDistribution::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  166 |                     for (int i=0; i < IsotopeDistribution::SIZE; i++) {
      |                                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"F:/biocbuild/bbs-3.20-bioc/R/include" -DNDEBUG  -I'F:/biocbuild/bbs-3.20-bioc/R/library/Rcpp/include'   -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include"  -I./imslib/src/   -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c imslib/src/ims/nitrogenrulefilter.cpp -o imslib/src/ims/nitrogenrulefilter.o
In file included from ./imslib/src/ims/composedelement.h:7,
                 from ./imslib/src/ims/nitrogenrulefilter.h:4,
                 from imslib/src/ims/nitrogenrulefilter.cpp:5:
./imslib/src/ims/element.h: In member function 'ims::Element::mass_type ims::Element::getMass(size_type) const':
./imslib/src/ims/element.h:166:37: warning: comparison of integer expressions of different signedness: 'int' and 'ims::IsotopeDistribution::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
  166 |                     for (int i=0; i < IsotopeDistribution::SIZE; i++) {
      |                                   ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -shared -s -static-libgcc -o Rdisop.dll tmp.def disop.o imslib/src/ims/element.o imslib/src/ims/composedelement.o imslib/src/ims/isotopedistribution.o imslib/src/ims/alphabet.o imslib/src/ims/weights.o imslib/src/ims/distributedalphabet.o imslib/src/ims/transformation.o imslib/src/ims/isotopespecies.o imslib/src/ims/base/parser/alphabettextparser.o imslib/src/ims/base/parser/distributedalphabettextparser.o imslib/src/ims/base/parser/massestextparser.o imslib/src/ims/base/parser/moleculesequenceparser.o imslib/src/ims/base/parser/standardmoleculesequenceparser.o imslib/src/ims/base/parser/keggligandcompoundsparser.o imslib/src/ims/base/parser/moleculeionchargemodificationparser.o imslib/src/ims/calib/linepairstabber.o imslib/src/ims/calib/matchmatrix.o imslib/src/ims/calib/linearpointsetmatcher.o imslib/src/ims/decomp/realmassdecomposer.o imslib/src/ims/utils/distribution.o imslib/src/ims/distributionprobabilityscorer.o imslib/src/ims/characteralphabet.o imslib/src/ims/nitrogenrulefilter.o -LC:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/rtools44/x86_64-w64-mingw32.static.posix/lib -LF:/biocbuild/bbs-3.20-bioc/R/bin/x64 -lR
installing to F:/biocbuild/bbs-3.20-bioc/R/library/00LOCK-Rdisop/00new/Rdisop/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (Rdisop)

Tests output

Rdisop.Rcheck/tests/doRUnit.Rout.fail


R version 4.4.2 (2024-10-31 ucrt) -- "Pile of Leaves"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64

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.

> ## unit tests will not be done if RUnit is not available
> if(require("RUnit", quietly=TRUE)) {
+ 
+   ## --- Setup ---
+ 
+   pkg <- "Rdisop" # <-- Change to package name!
+   if(Sys.getenv("RCMDCHECK") == "FALSE") {
+     ## Path to unit tests for standalone running under Makefile (not R CMD check)
+     ## PKG/tests/../inst/unitTests
+     path <- file.path(getwd(), "..", "inst", "unitTests")
+   } else {
+     ## Path to unit tests for R CMD check
+     ## PKG.Rcheck/tests/../PKG/unitTests
+     path <- system.file(package=pkg, "unitTests")
+   }
+   cat("\nRunning unit tests\n")
+   print(list(pkg=pkg, getwd=getwd(), pathToUnitTests=path))
+ 
+   library(package=pkg, character.only=TRUE)
+ ##  attr(faahko, "filepaths") <- sapply(as.list(basename(attr(faahko, "filepaths"))), 
+ ##    function(x) system.file("cdf", if (length(grep("ko",x)) > 0) "KO" else  "WT" ,x, package = "faahKO"))
+ 
+   ## If desired, load the name space to allow testing of private functions
+   ## if (is.element(pkg, loadedNamespaces()))
+   ##     attach(loadNamespace(pkg), name=paste("namespace", pkg, sep=":"), pos=3)
+   ##
+   ## or simply call PKG:::myPrivateFunction() in tests
+ 
+   ## --- Testing ---
+ 
+   ## Define tests
+   testSuite <- defineTestSuite(name=paste(pkg, "unit testing"), dirs=path)
+   ## Run
+   tests <- runTestSuite(testSuite)
+ 
+   ## Default report name
+   pathReport <- file.path(path, "report")
+ 
+   ## Report to stdout and text files
+   cat("------------------- UNIT TEST SUMMARY ---------------------\n\n")
+   printTextProtocol(tests, showDetails=FALSE)
+   printTextProtocol(tests, showDetails=FALSE, fileName=paste(pathReport, "Summary.txt", sep=""))
+   printTextProtocol(tests, showDetails=TRUE, fileName=paste(pathReport, ".txt", sep=""))
+ 
+   ## Report to HTML file
+   printHTMLProtocol(tests, fileName=paste(pathReport, ".html", sep=""))
+ 
+   ## Return stop() to cause R CMD check stop in case of
+   ##  - failures i.e. FALSE to unit tests or
+   ##  - errors i.e. R errors
+   tmp <- getErrors(tests)
+   if(tmp$nFail > 0 | tmp$nErr > 0) {
+     stop(paste("\n\nunit testing failed (#test failures: ", tmp$nFail,
+                ", #R errors: ",  tmp$nErr, ")\n\n", sep=""))
+   }
+ } else {
+   warning("cannot run unit tests -- package RUnit is not available")
+ }

Running unit tests
$pkg
[1] "Rdisop"

$getwd
[1] "F:/biocbuild/bbs-3.20-bioc/meat/Rdisop.Rcheck/tests"

$pathToUnitTests
[1] "F:/biocbuild/bbs-3.20-bioc/tmpdir/Rtmpiaz5KG/RLIBS_366449f6408d/Rdisop/unitTests"

Loading required package: Rcpp


Executing test function test.addformula1  ...  done successfully.



Executing test function test.addformula2  ...  done successfully.



Executing test function test.subformula1  ...  done successfully.



Executing test function test.subformula2  ...  done successfully.



Executing test function test.cid24892761  ... You specified a charge z different from 0. Please read the details part of the documentation.
 done successfully.



Executing test function test.cid46173807  ...  done successfully.



Executing test function test.empty  ...  done successfully.



Executing test function test.exact  ...  done successfully.



Executing test function test.remove  ...  done successfully.



Executing test function test.minmaxElements1  ...  done successfully.



Executing test function test.minmaxElements2  ...  done successfully.



Executing test function test.minmaxElements3  ...  done successfully.



Executing test function test.minmaxElements4  ...  done successfully.



Executing test function test.minmaxElements5  ...  done successfully.



Executing test function test.minmaxElements6  ...  done successfully.



Executing test function test.minmaxElements7  ...  done successfully.



Executing test function test.monoisotopicMasses  ... 

Example timings

Rdisop.Rcheck/Rdisop-Ex.timings

nameusersystemelapsed
addMolecules0.010.000.01
decomposeIsotopes0.020.000.02
getMolecule000
initializeElements000