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

Enable use_cache = FALSE for get_metadata() #117

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

krlong68
Copy link

ISSUE: metadata.R/get_metadata(use_cache = FALSE) was still using the cached file due to multiple if (!file.exists()) bypasses

ADJUSTED:

  • utils.R/sync_remote_file() adjusted to get user permission to overwrite if cached file exists
  • metadata.R/get_metadata() adjusted to push all file.exists() checking to utils.R/sync_remote_file()

Copy link
Collaborator

@multimeric multimeric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I'll fix up the CI issues in another PR.

R/utils.R Outdated Show resolved Hide resolved
R/utils.R Outdated Show resolved Hide resolved
@multimeric
Copy link
Collaborator

Can you please also pull from master, cheers.

@stemangiola
Copy link
Owner

Hello All, sorry all for the silence. The API evolved quite a bit. What should we do about this?

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.

3 participants