## KH's personal ~/.R/check.Renviron.
## Last updated on 2022-08-10

### Defaults for '--as-cran": commented out where not appropriate for
### all KH checks.
_R_CHECK_AUTOCONF_=true
## _R_CHECK_BASHISMS_=true
_R_CHECK_BOGUS_RETURN_=true
_R_CHECK_CODE_USAGE_VIA_NAMESPACES_=true
_R_CHECK_CODE_USAGE_WITH_ONLY_BASE_ATTACHED_=true
## _R_CHECK_CODOC_VARIABLES_IN_USAGES_=true
_R_CHECK_COMPILATION_FLAGS_=true
## _R_CHECK_CONNECTIONS_LEFT_OPEN_=true
_R_CHECK_DEPENDS_ONLY_DATA_=true
## _R_CHECK_DONTTEST_EXAMPLES_=true
_R_CHECK_DOT_FIRSTLIB_=true
_R_CHECK_FF_AS_CRAN_=true
_R_CHECK_FUTURE_FILE_TIMESTAMPS_=true
_R_CHECK_INSTALL_DEPENDS_=true
_R_CHECK_LIMIT_CORES_=true
_R_CHECK_MATRIX_DATA_=true
## _R_CHECK_NATIVE_ROUTINE_REGISTRATION_=true
_R_CHECK_NO_RECOMMENDED_=true
_R_CHECK_NO_STOP_ON_TEST_ERROR_=true
## _R_CHECK_ORPHANED_=true
_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_=true
_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_=true
## _R_CHECK_PACKAGES_USED_CRAN_INCOMING_NOTES_=true
_R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_=true
_R_CHECK_PACKAGES_USED_IN_TESTS_USE_SUBDIRS_=true
_R_CHECK_PRAGMAS_=true
## _R_CHECK_R_DEPENDS_=warn
_R_CHECK_R_ON_PATH_=true
_R_CHECK_RD_VALIDATE_RD2HTML_=${_R_CHECK_RD_VALIDATE_RD2HTML_-true}
## _R_CHECK_RD_CONTENTS_KEYWORDS_=true
_R_CHECK_SCREEN_DEVICE_=stop
_R_CHECK_S3_METHODS_NOT_REGISTERED_=true
_R_CHECK_SHLIB_OPENMP_FLAGS_=true
_R_CHECK_TIMINGS_=10
_R_CHECK_THINGS_IN_CHECK_DIR_=true
## _R_CHECK_THINGS_IN_TEMP_DIR_=true
_R_CHECK_VIGNETTE_TITLES_=true
## _R_CHECK_XREFS_PKGS_ARE_DECLARED_=true
## _R_CHECK_XREFS_MIND_SUSPECT_ANCHORS_=true
_R_SHLIB_BUILD_OBJECTS_SYMBOL_TABLES_=true

_R_OPTIONS_STRINGS_AS_FACTORS_=${_R_OPTIONS_STRINGS_AS_FACTORS_-false}

### Additional settings used for all KH checks.
_R_CHECK_ALWAYS_LOG_VIGNETTE_OUTPUT_=true
_R_CHECK_CODE_ASSIGN_TO_GLOBALENV_=true
_R_CHECK_CODE_ATTACH_=true
_R_CHECK_CODE_DATA_INTO_GLOBALENV_=true
_R_CHECK_CODETOOLS_PROFILE_="suppressPartialMatchArgs=false"
_R_CHECK_CRAN_INCOMING_CHECK_URLS_IN_PARALLEL_=true
_R_CHECK_DEPRECATED_DEFUNCT_=true
_R_CHECK_DOC_SIZES2_=true
_R_CHECK_DOTCODE_RETVAL_=true
_R_CHECK_EXECUTABLES_EXCLUSIONS_=false
## _R_CHECK_FF_CALLS_=registration
_R_CHECK_FUTURE_FILE_TIMESTAMPS_LEEWAY_=6h
_R_GC_FAIL_ON_ERROR_=true
_R_CHECK_LENGTH_1_CONDITION_="package:_R_CHECK_PACKAGE_NAME_,verbose"
## _R_CHECK_LENGTH_1_CONDITION_=${_R_CHECK_LENGTH_1_CONDITION_-warn}
## _R_CHECK_LENGTH_1_LOGIC2_="package:_R_CHECK_PACKAGE_NAME_,verbose"
_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_=true
_R_CHECK_PACKAGE_DATASETS_SUPPRESS_NOTES_=true
_R_CHECK_PKG_SIZES_=false
_R_CHECK_R_DEPENDS_=true
_R_CHECK_RD_LINE_WIDTHS_=true
_R_CHECK_RD_MATH_RENDERING_=true
_R_CHECK_REPLACING_IMPORTS_=true
_R_CHECK_SERIALIZATION_=true
_R_CHECK_SRC_MINUS_W_IMPLICIT_=true
_R_CHECK_SUGGESTS_ONLY_=${_R_CHECK_SUGGESTS_ONLY_-true}
_R_CHECK_SYSTEM_CLOCK_=false
_R_CHECK_THINGS_IN_TEMP_DIR_EXCLUDE_="^(ompi|pulse|runtime-)"
_R_CHECK_TOPLEVEL_FILES_=true
_R_CHECK_VC_DIRS_=true
_R_CHECK_VIGNETTES_SKIP_RUN_MAYBE_=true
_R_CHECK_XREFS_USE_ALIASES_FROM_CRAN_=true
## Outputs
_R_CHECK_TESTS_NLINES_=0
_R_CHECK_VIGNETTES_NLINES_=10000
## Timings
_R_CHECK_TIMINGS_=0
_R_CHECK_EXAMPLE_TIMING_CPU_TO_ELAPSED_THRESHOLD_=2.5
_R_CHECK_TEST_TIMING_=yes
_R_CHECK_TEST_TIMING_CPU_TO_ELAPSED_THRESHOLD_=2.5
_R_CHECK_VIGNETTE_TIMING_=yes
_R_CHECK_VIGNETTE_TIMING_CPU_TO_ELAPSED_THRESHOLD_=2.5

## FIXME: remove eventually ...
## _R_CLASS_MATRIX_ARRAY_=${_R_CLASS_MATRIX_ARRAY_-true}

