Skip to content

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.

1 participant