From 20b4f8c52854aa2327a3b09ae510f951a1bba24c Mon Sep 17 00:00:00 2001
From: Sebastian Henz <sebastian.henz@ufz.de>
Date: Fri, 4 Sep 2020 12:40:25 +0200
Subject: [PATCH] Disable time check, fixes #54

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 743dc04..d9f6113 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,6 @@
 # Using the rocker/tidyverse image because it has devtools and testthat.
 
-# Use "document = FALSE" to catch potential mismatches between the roxygen
+# Using "document = FALSE" catches potential mismatches between the roxygen
 # comments and the .Rd files. This could happen when checking locally
 # with "document = TRUE" (the default), which updates the .Rd files, but then
 # forgetting to commit and push those updated .Rd files.
@@ -12,6 +12,7 @@
     - tags
   script:
     - R -e 'sessionInfo()'
+    - R -e 'Sys.setenv("_R_CHECK_SYSTEM_CLOCK_" = 0)'  # disable time check, see issue #54
     - R -e 'devtools::install_deps(quiet = TRUE)'
     - R -e 'devtools::check(error_on = "note", document = FALSE)'
 
-- 
GitLab