Re: [R-pkg-devel] [CRAN-pretest-archived] CRAN submission RIBMDB 0.1.0
Hi Team, Based on the logs shared below, I need your help: 1) Windows: Error: D:/RCompile/recent/R/library/RIBMDB_CLI/clidriver/bin/db2app64.dll: file not recognized: file format not recognized Question: why is the windows environment unable to recognize the file? What could be the issue? 2) Debian: Error: package or namespace load failed for 'RIBMDB' in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/srv/hornik/tmp/CRAN/RIBMDB.Rcheck/00LOCK-RIBMDB/00new/RIBMDB/libs/RIBMDB.so': libdb2.so.1: cannot open shared object file: No such file or directory Question: My package requires the clidriver component and as the same is downloaded in temp location the same will not be found. IN my local system there are two ways to have a workaround i.e. --no-test-load during package installation (OR) --no-staged-install during installation. Is there any other way that I can stop the folder being created be stopped from deleting or how to fix the test load issue. In my local system the package works fine even though test load fails. Please let me know if you need additional details on my package RIBMDB. Thanks & Regards, Binit Kumar Software Engineer, DB2 Connect Rocket Software, Inc.(INDIA) Karle Towers, HUB-I, NAGAVARA, BANGALORE-45, KARNATAKA(INDIA) T: +91 80 6745(7478) Mob(IN): +91 9980233664 E: bku...@rocketsoftware.com<mailto:bku...@rocketsoftware.com> W: www.rocketsoftware.com<http://www.rocketsoftware.com> Please Keep your Mobile in Silent Mode at Work. Respect others. -Original Message- From: lig...@statistik.tu-dortmund.de<mailto:lig...@statistik.tu-dortmund.de> mailto:lig...@statistik.tu-dortmund.de>> Sent: Friday, May 1, 2020 10:50 AM To: Binit Kumar mailto:bku...@rocketsoftware.com>> Cc: cran-submissi...@r-project.org<mailto:cran-submissi...@r-project.org> Subject: [CRAN-pretest-archived] CRAN submission RIBMDB 0.1.0 EXTERNAL EMAIL Dear maintainer, package RIBMDB_0.1.0.tar.gz does not pass the incoming checks automatically, please see the following pre-tests: Windows: <https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwin-builder.r-project.org%2Fincoming_pretest%2FRIBMDB_0.1.0_20200501_050641%2FWindows%2F00check.log&data=02%7C01%7C%7Cbae8f0ae88314c20cc8508d7ed8f3d9d%7C79544c1eed224879a082b67a9a672aae%7C0%7C0%7C637239071803367430&sdata=5Gm%2BMHgedqbrj5X5s9DNmlhGiZAgiB9E2eXlfBzD1DM%3D&reserved=0> Status: 1 ERROR, 1 NOTE Debian: <https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwin-builder.r-project.org%2Fincoming_pretest%2FRIBMDB_0.1.0_20200501_050641%2FDebian%2F00check.log&data=02%7C01%7C%7Cbae8f0ae88314c20cc8508d7ed8f3d9d%7C79544c1eed224879a082b67a9a672aae%7C0%7C0%7C637239071803367430&sdata=nKOtsZKmQIDqod13kAw4qs4wiYlGTvVTQ4rvzqJH4J0%3D&reserved=0> Status: 1 ERROR, 1 NOTE Please fix all problems and resubmit a fixed version via the webform. If you are not sure how to fix the problems shown, please ask for help on the R-package-devel mailing list: <https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-package-devel&data=02%7C01%7C%7Cbae8f0ae88314c20cc8508d7ed8f3d9d%7C79544c1eed224879a082b67a9a672aae%7C0%7C0%7C637239071803367430&sdata=JfEmwtIL%2Bzh0Geu1PhKe4LwCTHTOiuN754ImpvjCooQ%3D&reserved=0> If you are fairly certain the rejection is a false positive, please reply-all to this message and explain. More details are given in the directory: <https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwin-builder.r-project.org%2Fincoming_pretest%2FRIBMDB_0.1.0_20200501_050641%2F&data=02%7C01%7C%7Cbae8f0ae88314c20cc8508d7ed8f3d9d%7C79544c1eed224879a082b67a9a672aae%7C0%7C0%7C637239071803367430&sdata=iI15In5Z8%2FPRTQ54pdzhN3x0I8GbHhM0dGlzhFFKZx4%3D&reserved=0> The files will be removed after roughly 7 days. No strong reverse dependencies to be checked. Best regards, CRAN teams' auto-check service Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
[R-pkg-devel] Unable to post messages to this group
Hi Team, I am unable to post messages to this group and keep getting "waiting for moderator" message from bounce email i.e. "R-package-devel ". Is there any criteria of sending the message to devel group? Thanks & Regards, Binit Kumar Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
[R-pkg-devel] FW: [CRAN-pretest-archived] CRAN submission RIBMDB 1.0.0
Hi Team, I uploaded a package in CRAN and it failed with the attached error. My question: 1. Windows: Error: Ld:/Compiler/gcc-4.9.3/local330/lib -LD:/RCompile/recent/R/bin/i386 -lR clidriver/bin/db2app64.dll: file not recognized: file format not recognized Why is db2app64.dll a non recognized file? What is the problem exactly if someone can explain please. 1. Debian: Error: ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for 'RIBMDB' in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/srv/hornik/tmp/CRAN/RIBMDB.Rcheck/00LOCK-RIBMDB/00new/RIBMDB/libs/RIBMDB.so': libdb2.so.1: cannot open shared object file: No such file or directory Error: loading failed Execution halted ERROR: loading failed Not sure why this error comes even though the file libdb2.so.1 is present in "clidriver" folder. Can someone please let me know how to fix this? Thanks & Regards, Binit Kumar From: lig...@statistik.tu-dortmund.de Sent: 17 February 2021 20:29 To: Binit Kumar Cc: cran-submissi...@r-project.org Subject: [CRAN-pretest-archived] CRAN submission RIBMDB 1.0.0 EXTERNAL EMAIL Dear maintainer, package RIBMDB_1.0.0.tar.gz does not pass the incoming checks automatically, please see the following pre-tests: Windows: <https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0.0_20210217_154816/Windows/00check.log<https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0.0_20210217_154816/Windows/00check.log>> Status: 1 ERROR, 1 NOTE Debian: <https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0.0_20210217_154816/Debian/00check.log<https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0.0_20210217_154816/Debian/00check.log>> Status: 1 ERROR, 1 NOTE Please fix all problems and resubmit a fixed version via the webform. If you are not sure how to fix the problems shown, please ask for help on the R-package-devel mailing list: <https://stat.ethz.ch/mailman/listinfo/r-package-devel<https://stat.ethz.ch/mailman/listinfo/r-package-devel>> If you are fairly certain the rejection is a false positive, please reply-all to this message and explain. More details are given in the directory: <https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0.0_20210217_154816/<https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0.0_20210217_154816>> The files will be removed after roughly 7 days. No strong reverse dependencies to be checked. Best regards, CRAN teams' auto-check service Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. Flavor: r-devel-windows-ix86+x86_64 Check: CRAN incoming feasibility, Result: NOTE Maintainer: 'ROCKET SOFTWARE ' New submission Possibly mis-spelled words in DESCRIPTION: ODBC (8:17) Found the following (possibly) invalid URLs: URL: http://msdn.microsoft.com/en-us/library/ms711683(VS.85).aspx From: man/sqlColumns.Rd Status: 403 Message: Forbidden URL: http://msdn.microsoft.com/en-us/library/ms714602(VS.85).aspx From: man/sqlColumns.Rd Status: 403 Message: Forbidden URL: http://msdn.microsoft.com/en-us/library/ms714632(VS.85).aspx From: man/sqlTypeInfo.Rd Status: 403 Message: Forbidden URL: https://cran.r-project.org/web/packages/RODBCDBI/index.html From: README.md Status: 200 Message: OK CRAN URL not in canonical form URL: https://github.com/ibmdb/RIBMDB/blob/master/contributing/CONTRIBUTING.md From: README.md Status: 404 Message: Not Found The canonical URL of the CRAN page for a package is https://CRAN.R-project.org/package=pkgname The Date field is over a month old. Size of tarball: 51165800 bytes Flavor: r-devel-windows-ix86+x86_64 Check: whether package can be installed, Result: ERROR Installation failed. See 'd:/RCompile/CRANincoming/R-devel/RIBMDB.Rcheck/00install.out' for details. Flavor: r-devel-linux-x86_64-debian-gcc Check: CRAN incoming feasibility, Result: NOTE Maintainer: 'ROCKET SOFTWARE ' New submission Possi
Re: [R-pkg-devel] FW: [CRAN-pretest-archived] CRAN submission RIBMDB 1.0.0
Hi Ivan, Thanks for the response. Appreciate. But, 1. Windows: As I can see in the logs of the machine: platform = windows , arch = x64 , R_Version = R Under development (unstable) (2021-02-16 r80015) So that means the architecture on CRAN machine is 64 bit and not 32 bit. This is extracted by my code using: platform = .Platform$OS.type arch = .Platform$r_arch The dll is selected based on the architecture, it is not hardcoded. Please let me know if my understanding is wrong. 2) Linux: I have already used "configure" and that copies the requisite file using "CLIDriver_installer.R" but problem is that R does everything in tmp file and then copy to the library folder of R. As you mentioned, "This still may be insufficient as you might have to instruct the dynamic linker to look for libdb2.so in the same directory when the package shared object is loaded by R; on some compilers this may be done by passing the -rpath='$ORIGIN' argument to the linker, but this is very platform-dependent (no idea whether it's going to work on Solaris, for example)." So the part that is failing is loading. I want to exclude test loading using "-c -no-test-load". I tested in my local system and it works fine. Can you suggest how to move ahead? Also the CRAN upload has a limitation of 100MB. I have some executables for multiple platforms and they together constitute more than 100MB. How to resolve this? Can you please help? Thanks & Regards, Binit Kumar From: Ivan Krylov Sent: 18 February 2021 01:53 To: Binit Kumar Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] FW: [CRAN-pretest-archived] CRAN submission RIBMDB 1.0.0 EXTERNAL EMAIL Hello Binit Kumar, On Wed, 17 Feb 2021 15:12:53 + Binit Kumar mailto:bku...@rocketsoftware.com>> wrote: > Error: Ld:/Compiler/gcc-4.9.3/local330/lib > -LD:/RCompile/recent/R/bin/i386 -lR clidriver/bin/db2app64.dll: file > not recognized: file format not recognized > > Why is db2app64.dll a non recognized file? The package is being built for i386 (32-bit) subarchitecture, but the 64-bit dll is being linked to it. I think that the correct way to identify the target sub-architecture is to inspect the R_ARCH environment variable from configure.win (in R code, use getenv()). This is described in WRE 1.2: <https://cran.r-project.org/doc/manuals/R-exts.html#Configure-and-cleanup<https://cran.r-project.org/doc/manuals/R-exts.html#Configure-and-cleanup>>. > Error: ** testing if installed package can be loaded from temporary > location > > Error: package or namespace load failed for 'RIBMDB' in > dyn.load(file, DLLpath = DLLpath, ...): > > unable to load shared object > '/srv/hornik/tmp/CRAN/RIBMDB.Rcheck/00LOCK-RIBMDB/00new/RIBMDB/libs/RIBMDB.so': > > libdb2.so.1: cannot open shared object file: No such file or > directory The bigger problem is trying to manually write under R.home() during installation. This is not allowed by the CRAN policy and may lead to problems. (Imagine what would happen if two different packages tried to write to file.path(R.home(), 'clidriver') and for some reason succeeded despite it's usually not writable for the end-user on Unix-alikes...) Instead, you could try to (1) use ./configure to extract the library to src/ and link to it from there and (2) provide a src/install.libs.R file to copy libdb2.so from src/ to the same directory where the package shared object is installed. This still may be insufficient as you might have to instruct the dynamic linker to look for libdb2.so in the same directory when the package shared object is loaded by R; on some compilers this may be done by passing the -rpath='$ORIGIN' argument to the linker, but this is very platform-dependent (no idea whether it's going to work on Solaris, for example). See WRE 1.1.5 for more info on install.libs.R: https://cran.r-project.org/doc/manuals/R-exts.html#Package-subdirectories<https://cran.r-project.org/doc/manuals/R-exts.html#Package-subdirectories> In short, linking an R package to a binary dependency not provided by a system package is painful, but not explicitly prohibited by CRAN policy ("Source packages may not contain any form of binary executable code", and yours downloads binaries when it's built, but doesn't contain any; "Downloads of additional software <...> as part of package installation <...> should only use secure download mechanisms", which yours does). -- Best regards, Ivan Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www
[R-pkg-devel] FW: CRAN submission RIBMDB 1.0-21
Hi Team, I uploaded a package to CRAN but didn’t get any response on success or failure. How to know the status of the same? Thanks & Regards, Binit Kumar From: CRAN submission Sent: 22 February 2021 20:53 To: CRAN Subject: CRAN submission RIBMDB 1.0-21 EXTERNAL EMAIL [This was generated from CRAN.R-project.org/submit.html<http://CRAN.R-project.org/submit.html>] The following package was uploaded to CRAN: === Package Information: Package: RIBMDB Version: 1.0-21 Title: DB2 Database Access Author(s): ROCKET SOFTWARE [aut, cre] Maintainer: ROCKET SOFTWARE mailto:bku...@rocketsoftware.com>> Depends: R (>= 3.0.0),httr Description: An ODBC database interface for DB2. License: GPL-2 | GPL-3 Imports: methods, DBI, stats The maintainer confirms that he or she has read and agrees to the CRAN policies. = Original content of DESCRIPTION file: Package: RIBMDB Version: 1.0-21 Revision: $Rev: 3500 $ Date: 2021-02-21 Authors@R: c(person("ROCKET", "SOFTWARE", role = c("aut", "cre"), email = "bku...@rocketsoftware.com<mailto:bku...@rocketsoftware.com>")) Title: DB2 Database Access Description: An ODBC database interface for DB2. SystemRequirements: An ODBC3 driver manager and drivers. Depends: R (>= 3.0.0),httr Imports: methods, DBI, stats Collate: 'RODBCDBI.R' 'RODBC.R' 'ODBCConnection.R' 'ODBCDriver.R' 'ODBCResult.R' 'TypeInfo.R' 'sql.R' 'win.R' 'CLIDriver_installer.R' LazyLoad: yes Biarch: yes License: GPL-2 | GPL-3 NeedsCompilation: yes Packaged: 2021-02-22 15:16:58 UTC; bkumar Author: ROCKET SOFTWARE [aut, cre] Maintainer: ROCKET SOFTWARE mailto:bku...@rocketsoftware.com>> Repository: CRAN Date/Publication: 2020-01-23 05:28:45 UTC Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
[R-pkg-devel] FW: [CRAN-pretest-archived] CRAN submission RIBMDB 1.0-21
Hi Team, I mentioned some comment before uploading the package for publishing i.e. "My package RIBMDB has a dependency on CLI driver which has some IBM proprietary C code due to which it cannot be included as part of package and needs executables i.e. dll or .so file depending on the platform i.e. WINDOWS or DEBIAN. However there is a script i.e. CLIDriverInstaller.R which downloads the executable based on platform.". My understanding is that there is some manual intervention in testing the packages and hence is it is possible for the manual testers testing the package to set the IBM_DB_HOME and then install the RIBMDB package as this is the intended way of use of RIBMDB package. Not sure if the testers are part of this DL(r-package-devel@r-project.org<mailto:r-package-devel@r-project.org>). I guess yes. If so kindly let me know if the above approach is possible. Thanks & Regards, Binit Kumar From: lig...@statistik.tu-dortmund.de Sent: 30 March 2021 12:24 To: Binit Kumar Cc: cran-submissi...@r-project.org Subject: [CRAN-pretest-archived] CRAN submission RIBMDB 1.0-21 Dear maintainer, package RIBMDB_1.0-21.tar.gz does not pass the incoming checks automatically, please see the following pre-tests: Windows: <https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0-21_20210330_064301/Windows/00check.log<https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0-21_20210330_064301/Windows/00check.log>> Status: 1 ERROR, 1 NOTE Debian: <https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0-21_20210330_064301/Debian/00check.log<https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0-21_20210330_064301/Debian/00check.log>> Status: 1 ERROR, 1 NOTE Please fix all problems and resubmit a fixed version via the webform. If you are not sure how to fix the problems shown, please ask for help on the R-package-devel mailing list: <https://stat.ethz.ch/mailman/listinfo/r-package-devel<https://stat.ethz.ch/mailman/listinfo/r-package-devel>> If you are fairly certain the rejection is a false positive, please reply-all to this message and explain. More details are given in the directory: <https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0-21_20210330_064301/<https://win-builder.r-project.org/incoming_pretest/RIBMDB_1.0-21_20210330_064301>> The files will be removed after roughly 7 days. No strong reverse dependencies to be checked. Best regards, CRAN teams' auto-check service Rocket Software, Inc. and subsidiaries ? 77 Fourth Avenue, Waltham MA 02451 ? Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. Flavor: r-devel-windows-ix86+x86_64 Check: CRAN incoming feasibility, Result: NOTE Maintainer: 'ROCKET SOFTWARE ' New submission Possibly mis-spelled words in DESCRIPTION: ODBC (8:17) Found the following (possibly) invalid URLs: URL: http://msdn.microsoft.com/en-us/library/ms711683(VS.85).aspx From: man/sqlColumns.Rd Status: 403 Message: Forbidden URL: http://msdn.microsoft.com/en-us/library/ms714602(VS.85).aspx From: man/sqlColumns.Rd Status: 403 Message: Forbidden URL: http://msdn.microsoft.com/en-us/library/ms714632(VS.85).aspx From: man/sqlTypeInfo.Rd Status: 403 Message: Forbidden URL: https://cran.r-project.org/web/packages/RODBCDBI/index.html From: README.md Status: 200 Message: OK CRAN URL not in canonical form URL: https://github.com/ibmdb/RIBMDB/blob/master/contributing/CONTRIBUTING.md From: README.md Status: 404 Message: Not Found The canonical URL of the CRAN page for a package is https://CRAN.R-project.org/package=pkgname The Date field is over a month old. This build time stamp is over a month old. Flavor: r-devel-windows-ix86+x86_64 Check: whether package can be installed, Result: ERROR Installation failed. See 'd:/RCompile/CRANincoming/R-devel/RIBMDB.Rcheck/00install.out' for details. Flavor: r-devel-linux-x86_64-debian-gcc Check: CRAN incoming feasibility, Result: NOTE Maintainer: 'ROCKET SOFTWARE ' New submission Possibly mis-spelled words in DESCRIPTION: ODBC (8:17) Found the following (possibly) invalid UR