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

PR for #307 #308

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

PR for #307 #308

wants to merge 2 commits into from

Conversation

jtlandis
Copy link

Small edits that make feature request in #307 possible. First, find_mod.box$pkg_spec will try and search for the package eagerly to see if it exists. Otherwise it assumes it is really a module. A small edit has been made to mod_file_candidates() switching out the base file.path for internal function file_path which removes zero length arguments. zero length arguments in file.path will cause the function to return a zero length character vector. This allows find_global_mod to find a mod that is pkg like and does not have a prefix attribute.

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.

None yet

1 participant