Back to Multiple platform build/check report for BioC 3.17:   simplified   long
ABCDEFGHIJKLMNOPQR[S]TUVWXYZ

This page was generated on 2023-10-16 11:35:46 -0400 (Mon, 16 Oct 2023).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo1Linux (Ubuntu 22.04.2 LTS)x86_644.3.1 (2023-06-16) -- "Beagle Scouts" 4626
palomino3Windows Server 2022 Datacenterx644.3.1 (2023-06-16 ucrt) -- "Beagle Scouts" 4379
merida1macOS 12.6.4 Montereyx86_644.3.1 (2023-06-16) -- "Beagle Scouts" 4395
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 1903/2230HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
SharedObject 1.14.1  (landing page)
Jiefei Wang
Snapshot Date: 2023-10-15 14:00:13 -0400 (Sun, 15 Oct 2023)
git_url: https://git.bioconductor.org/packages/SharedObject
git_branch: RELEASE_3_17
git_last_commit: 94088e3
git_last_commit_date: 2023-08-12 20:09:57 -0400 (Sat, 12 Aug 2023)
nebbiolo1Linux (Ubuntu 22.04.2 LTS) / x86_64  OK    OK    ERROR  
palomino3Windows Server 2022 Datacenter / x64  OK    OK    OK    OK  UNNEEDED, same version is already published
merida1macOS 12.6.4 Monterey / x86_64  OK    OK    OK    OK  UNNEEDED, same version is already published
kjohnson2macOS 12.6.1 Monterey / arm64see weekly results here

CHECK results for SharedObject on nebbiolo1


To the developers/maintainers of the SharedObject package:
- Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/SharedObject.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: SharedObject
Version: 1.14.1
Command: /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD check --install=check:SharedObject.install-out.txt --library=/home/biocbuild/bbs-3.17-bioc/R/site-library --timings SharedObject_1.14.1.tar.gz
StartedAt: 2023-10-16 01:04:53 -0400 (Mon, 16 Oct 2023)
EndedAt: 2023-10-16 01:06:19 -0400 (Mon, 16 Oct 2023)
EllapsedTime: 85.4 seconds
RetCode: 1
Status:   ERROR  
CheckDir: SharedObject.Rcheck
Warnings: NA

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD check --install=check:SharedObject.install-out.txt --library=/home/biocbuild/bbs-3.17-bioc/R/site-library --timings SharedObject_1.14.1.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/home/biocbuild/bbs-3.17-bioc/meat/SharedObject.Rcheck’
* using R version 4.3.1 (2023-06-16)
* using platform: x86_64-pc-linux-gnu (64-bit)
* R was compiled by
    gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
    GNU Fortran (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
* running under: Ubuntu 22.04.3 LTS
* using session charset: UTF-8
* checking for file ‘SharedObject/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘SharedObject’ version ‘1.14.1’
* 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 for sufficient/correct file permissions ... OK
* checking whether package ‘SharedObject’ can be installed ... OK
* used C++ compiler: ‘g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0’
* checking C++ specification ... NOTE
  Specified C++11: please drop specification unless essential
* checking installed package size ... NOTE
  installed size is  6.3Mb
  sub-directories of 1Mb or more:
    libs     2.2Mb
    usrlib   3.9Mb
* 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 R 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 loading without being on the library search path ... OK
* checking startup messages can be suppressed ... 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 ... NOTE
Package has both ‘src/Makevars.in’ and ‘src/Makevars’.
Installation with --no-configure' is unlikely to work.  If you intended
‘src/Makevars’ to be used on Windows, rename it to ‘src/Makevars.win’
otherwise remove it.  If ‘configure’ created ‘src/Makevars’, you need a
‘cleanup’ script.
* 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 compiled code ... NOTE
Note: information on .o files is not available
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
  > library(SharedObject)
  > 
  > test_check("SharedObject")
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 402 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_memory-management.R:27:5'): release a shared object when it is in a child process ──
  hasSharedMemory(info$dataId) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 402 ]
  Error: Test failures
  Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ...
  ‘quick_start_guide.Rmd’ using ‘UTF-8’... OK
  ‘quick_start_guide_Chinese.Rmd’ using ‘UTF-8’... OK
 NONE
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE

Status: 1 ERROR, 4 NOTEs
See
  ‘/home/biocbuild/bbs-3.17-bioc/meat/SharedObject.Rcheck/00check.log’
for details.


Installation output

SharedObject.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD INSTALL SharedObject
###
##############################################################################
##############################################################################


* installing to library ‘/home/biocbuild/bbs-3.17-bioc/R/site-library’
* installing *source* package ‘SharedObject’ ...
** using staged installation
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for shm_open in -lrt... yes
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C++ compiler: ‘g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0’
using C++11
mkdir -p ../inst/include&&\
 mkdir -p ../inst/include/SharedObject&&\
 mkdir -p ../inst/usrlib
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/Rcpp/include' -I/usr/local/include    -fpic  -g -O2  -Wall -c C_interface.cpp -o C_interface.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/Rcpp/include' -I/usr/local/include    -fpic  -g -O2  -Wall -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/Rcpp/include' -I/usr/local/include    -fpic  -g -O2  -Wall -c altrep.cpp -o altrep.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/Rcpp/include' -I/usr/local/include    -fpic  -g -O2  -Wall -c altrepRegistration.cpp -o altrepRegistration.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/Rcpp/include' -I/usr/local/include    -fpic  -g -O2  -Wall -c numericAltrepOperations.cpp -o numericAltrepOperations.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/Rcpp/include' -I/usr/local/include    -fpic  -g -O2  -Wall -c sharedMemory.cpp -o sharedMemory.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/Rcpp/include' -I/usr/local/include    -fpic  -g -O2  -Wall -c sharedObjectClass.cpp -o sharedObjectClass.o
sharedObjectClass.cpp: In function ‘void validate_shared_memory(std::string, boost::interprocess::shared_memory_object*)’:
sharedObjectClass.cpp:73:14: warning: comparison of integer expressions of different signedness: ‘boost::interprocess::offset_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
   73 |     if (size > free_size)
      |         ~~~~~^~~~~~~~~~~
sharedObjectClass.cpp: In member function ‘void SharedObjectClass::openSharedMemoryHandle()’:
sharedObjectClass.cpp:29:12: warning: ‘size’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   29 |     return size;
      |            ^~~~
sharedObjectClass.cpp:27:14: note: ‘size’ was declared here
   27 |     offset_t size;
      |              ^~~~
sharedObjectClass.cpp: In member function ‘size_t SharedObjectClass::getSharedMemorySize()’:
sharedObjectClass.cpp:29:12: warning: ‘size’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   29 |     return size;
      |            ^~~~
sharedObjectClass.cpp:27:14: note: ‘size’ was declared here
   27 |     offset_t size;
      |              ^~~~
sharedObjectClass.cpp:29:12: warning: ‘size’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   29 |     return size;
      |            ^~~~
sharedObjectClass.cpp:27:14: note: ‘size’ was declared here
   27 |     offset_t size;
      |              ^~~~
sharedObjectClass.cpp: In member function ‘void SharedObjectClass::allocateSharedMemory()’:
sharedObjectClass.cpp:29:12: warning: ‘size’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   29 |     return size;
      |            ^~~~
sharedObjectClass.cpp:27:14: note: ‘size’ was declared here
   27 |     offset_t size;
      |              ^~~~
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/Rcpp/include' -I/usr/local/include    -fpic  -g -O2  -Wall -c stringAltrepOperations.cpp -o stringAltrepOperations.o
g++ -std=gnu++11 -I"/home/biocbuild/bbs-3.17-bioc/R/include" -DNDEBUG  -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/BH/include' -I'/home/biocbuild/bbs-3.17-bioc/R/site-library/Rcpp/include' -I/usr/local/include    -fpic  -g -O2  -Wall -c utils.cpp -o utils.o
g++ -std=gnu++11 -shared -L/home/biocbuild/bbs-3.17-bioc/R/lib -L/usr/local/lib -o SharedObject.so C_interface.o RcppExports.o altrep.o altrepRegistration.o numericAltrepOperations.o sharedMemory.o sharedObjectClass.o stringAltrepOperations.o utils.o -lrt -L/home/biocbuild/bbs-3.17-bioc/R/lib -lR
ar -crv SharedObject.a *.o
a - C_interface.o
a - RcppExports.o
a - altrep.o
a - altrepRegistration.o
a - numericAltrepOperations.o
a - sharedMemory.o
a - sharedObjectClass.o
a - stringAltrepOperations.o
a - utils.o
cp "sharedMemory.h" "../inst/include/SharedObject/"&&\
 cp "SharedObject.a" "../inst/usrlib/"
installing to /home/biocbuild/bbs-3.17-bioc/R/site-library/00LOCK-SharedObject/00new/SharedObject/libs
** 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
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (SharedObject)

Tests output

SharedObject.Rcheck/tests/testthat.Rout.fail


R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (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(SharedObject)
> 
> test_check("SharedObject")
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 402 ]

══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_memory-management.R:27:5'): release a shared object when it is in a child process ──
hasSharedMemory(info$dataId) is not TRUE

`actual`:   FALSE
`expected`: TRUE 

[ FAIL 1 | WARN 2 | SKIP 0 | PASS 402 ]
Error: Test failures
Execution halted

Example timings

SharedObject.Rcheck/SharedObject-Ex.timings

nameusersystemelapsed
SharedObject0.0050.0000.005
developer-API0.0020.0000.001
is.shared0.0060.0000.006
listSharedObjects0.0040.0040.007
pkgconfig0.0010.0000.001
share0.0840.0000.283
sharedObjectPkgOptions0.0020.0000.002
sharedObjectProperties0.0040.0000.003
unshare0.0000.0010.001