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

get_dbpedia_uris() fails if argument retry is logical #49

Open
ChristophLeonhardt opened this issue Apr 2, 2024 · 0 comments
Open

get_dbpedia_uris() fails if argument retry is logical #49

ChristophLeonhardt opened this issue Apr 2, 2024 · 0 comments

Comments

@ChristophLeonhardt
Copy link
Collaborator

For dbpedia v0.1.2.9005 get_dbpedia_uris() will fail if the argument retry is logical (which it is by default). Then this line will result in an error because the object request is not found:

request_max <- if (is.logical(retry)) as.integer(request) else retry

If retry is an integer value, then it will work. Using retry = 0L turns the functionality off which should be in line with the default behavior in prior versions.

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

No branches or pull requests

1 participant