-
Notifications
You must be signed in to change notification settings - Fork 9
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
asearch for any local repository not just the default local repo #298
Comments
@reichek probably sapply(character_vector_with_repository_dirs, function(one_repo){
asearch(patterns, one_repo)
}) this will do this : ) |
Thanks for your prompt reply, but specifying the relative or absolute path of a local repo in
|
Ok now I get this, so we need to set repo in sapply for every element sapply(character_vector_with_repository_dirs, function(one_repo){
setLocalRepo(repoDir=one_repo)
asearch(patterns)
}) Is that better? |
Remember that at the end, the last element of |
Sorry, I see I need to be more precise. In the same Rmarkdown script I like to use a repo for the input data and another repo for all plots and results generated throughout the script. In order not to get confused between different settings of default local repositories, I would prefer to call |
So using
There isn't any way for local repositories right now. But maybe you could 2016-10-18 15:51 GMT+02:00 reichek notifications@github.com:
|
So, you do not plan to update 'asearch', 'asession', and 'aread' such that local repositories can be specified directly? I was wondering if you could provide this feature for these functions? Thanks for your help in advance. |
@pbiecek do you think we can work on this? 2016-10-18 16:14 GMT+02:00 reichek notifications@github.com:
|
Pls correct me if I've missed some detail, And in the searchLocalRepo function you can specify the repoDir for each call. So maybe it's enough to use searchLocalRepo instead of asearch? Dnia 18.10.2016 o godz. 16:58 Marcin Kosiński notifications@github.com napisał(a):
|
the point is that |
Thanks for your valuable comments! Thanks again for your help, 2016-10-19 12:21 GMT+02:00 Marcin Kosiński notifications@github.com:
|
So I would suggest using searchInLocalRepo+loadFromLocalRepo for local 2016-10-19 15:27 GMT+02:00 reichek notifications@github.com:
|
@MarcinKosinski Are you planning any implementation, or updates in the documentation related to this issue or we shall close it? |
This issue isn't resolved so Perhaps shouldn't be closed. I never intended to provide functionality that can somehow improve this approach. It's better to leave this open, as someone someday may provide a PR for this. |
So in the end this is not an issue, but a question with some propositions from our perspective. I'd close this as it's not an |
Actually, I think that the issue should be addressed somehow. |
candidate fix in aa49767 |
Is it possible to enable asearch to search in any local repo specified as asearch(repo="PATH_TO_LOCAL_REPO") and not just in the default local repo?
The text was updated successfully, but these errors were encountered: