Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix false warning for corrupt hash cache file #218

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

fbenke-pik
Copy link
Contributor

@fbenke-pik fbenke-pik commented Sep 24, 2024

This fixes the misleading warning:
Ignore corrupt hashCacheFile: "Error in if (nrow(files) == 0) files <- NULL : argument is of length zero

Evaluating if (nrow(files) == 0) files <- NULL with files = NULL causes the error, because nrow(NULL) evaluates to logical(0) provoking the exception "Ignore corrupt hashCacheFile" in an unintended way.

@fbenke-pik fbenke-pik merged commit 6b1ea35 into pik-piam:master Sep 24, 2024
2 checks passed
@fbenke-pik fbenke-pik deleted the fix branch September 24, 2024 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants