DyfanJones / RAthena

Connect R to Athena using Boto3 SDK (DBI Interface)
https://dyfanjones.github.io/RAthena/
Other
35 stars 6 forks source link

Rhub Check Error #111

Closed DyfanJones closed 4 years ago

DyfanJones commented 4 years ago

Rhub check failed with following error message:


checking package dependencies ... ERROR Package required but not available: 'data.table' Package suggested but not available: 'dplyr'

The suggested packages are required for a complete check. variable _R_CHECK_FORCESUGGESTS to a false value.

Checking can be attempted without them by setting the environment See section 'The DESCRIPTION file' in the 'Writing R Extensions' manual.

DyfanJones commented 4 years ago

Current error logs from Rhub build:

Windows Server 2008 R2 SP1, R-devel, 32/64 bit Summary:

  • checking package dependencies ... ERROR Package required but not available: 'data.table' Package suggested but not available: 'dplyr'

The suggested packages are required for a complete check. variable _R_CHECK_FORCESUGGESTS to a false value. Checking can be attempted without them by setting the environment See section 'The DESCRIPTION file' in the 'Writing R Extensions' manual.

https://builder.r-hub.io/status/RAthena_1.9.0.tar.gz-0c6b1e7b2d404a50b6cfc41436c78c74


Fedora Linux, R-devel, clang, gfortran: Summary:

PREPERROR see logs for further informations

https://builder.r-hub.io/status/RAthena_1.9.0.tar.gz-916d9e5c6c6a43609f07a8b1afd93336


Ubuntu Linux 16.04 LTS, R-release, GCC: Summary:

Note:

  • checking CRAN incoming feasibility ... NOTE Maintainer: ‘Dyfan Jones dyfan.r.jones@gmail.com’ Number of updates in past 6 months: 7

https://builder.r-hub.io/status/RAthena_1.9.0.tar.gz-67de6223ff674909825c8c4ea933601b

DyfanJones commented 4 years ago

After raising a ticket with rhub. They recommended the following work around:

devtools::check_rhub(platform="windows-x86_64-devel",
          env_vars=c(R_COMPILE_AND_INSTALL_PACKAGES = "always"))
DyfanJones commented 4 years ago

After raising a ticket with rhub, the following command works for building and testing the package on rhub servers:

devtools::check_rhub(env_vars=c(R_COMPILE_AND_INSTALL_PACKAGES = "always", 
                                LIBARROW_BINARY="true"))