Skip to content

Commit

Permalink
use _R_CHECK_DEPENDS_ONLY_=false
Browse files Browse the repository at this point in the history
  • Loading branch information
kingaa committed Apr 19, 2024
1 parent 197da6d commit 03cca00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ PKG = $(shell perl -ne 'print $$1 if /Package:\s+((\w+[-\.]?)+)/;' DESCRIPTION)
VERSION = $(shell perl -ne 'print $$1 if /Version:\s+((\d+[-\.]?)+)/;' DESCRIPTION)
PKGVERS = $(PKG)_$(VERSION)
TARBALL = $(PKGVERS).tar.gz
SOURCE = $(sort $(wildcard R/*R src/*.c src/*.h data/* examples/*))
SOURCE = $(sort $(wildcard R/*R src/*.c src/*.cc src/*.h data/* examples/*))
CSOURCE = $(sort $(wildcard src/*.c))
TESTS = $(sort $(wildcard tests/*R))
INSTDOCS = $(sort $(wildcard inst/doc/*))
Expand Down Expand Up @@ -58,8 +58,7 @@ qcheck: CHECK = devtools::check($(COMMON_CHECK_ARGS),cran=FALSE,\
args=c("--no-tests"))
qqcheck: CHECK = devtools::check($(COMMON_CHECK_ARGS),cran=FALSE,\
args=c("--no-tests","--no-codoc","--no-examples"))
xcheck: CHECK = devtools::check($(COMMON_CHECK_ARGS),cran=TRUE,\
env_vars=c("_R_CHECK_DEPENDS_ONLY_"="TRUE"))
xcheck: CHECK = devtools::check($(COMMON_CHECK_ARGS),cran=TRUE)
ycheck: CHECK = devtools::check($(COMMON_CHECK_ARGS),cran=TRUE,\
args=c("--run-dontrun","--run-donttest"))

Expand Down
2 changes: 2 additions & 0 deletions tools/check.env
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ _R_CHECK_COMPILATION_FLAGS_=true
_R_CHECK_CONNECTIONS_LEFT_OPEN_=true
_R_CHECK_CRAN_INCOMING_=false
_R_CHECK_DATALIST_=true
_R_CHECK_DEPENDS_ONLY_=false
_R_CHECK_DEPRECATED_DEFUNCT_=true
_R_CHECK_DONTTEST_EXAMPLES_=false
_R_CHECK_DOT_FIRSTLIB_=true
Expand All @@ -39,6 +40,7 @@ _R_CHECK_LENGTH_1_CONDITION_ =package:_R_CHECK_PACKAGE_NAME_
_R_CHECK_LENGTH_1_LOGIC2_=package:_R_CHECK_PACKAGE_NAME_,abort,verbose
_R_CHECK_LICENSE_=true
_R_CHECK_LIMIT_CORES_=true
_R_CHECK_RD_MATH_RENDERING_=true
_R_CHECK_MATRIX_DATA_=true
_R_CHECK_NATIVE_ROUTINE_REGISTRATION_=true
_R_CHECK_NO_RECOMMENDED_=true
Expand Down

0 comments on commit 03cca00

Please sign in to comment.