CRANsearcher icon indicating copy to clipboard operation
CRANsearcher copied to clipboard

Extend search to function documentation & vignettes

Open rgayler opened this issue 7 years ago • 2 comments

Would it be reasonable to extend the searched text to include function documentation and vignettes (possibly as an option)? I have made a couple of searches recently where the serach terms only occurred in the function documentation - so i could find the package via Google, but not CRANsearcher.

rgayler avatar Sep 23 '17 10:09 rgayler

This is a nice suggestion, @rgayler! Right now, we are loading package information (titles, descriptions, etc.) into the R session memory upon launch of app. Adding search capabilities for help files and vignettes would be a nice benefit, but would require a significant refactor of the code. For this reason, we've decided not to tackle it at this time, but we welcome any pull requests. You may also be interested in the sos package, which facilitates search of help pages.

bzkrouse avatar Oct 03 '17 20:10 bzkrouse

Thanks. Independent of the implementation effort, my suggestion might also be risky in that expanding the text base might also increase the false positive rate for hits. Ultimately this could get to look a lot like a recommender system for packages.

On 4 October 2017 at 07:27, Becca Krouse [email protected] wrote:

This is a nice suggestion, @rgayler https://github.com/rgayler! Right now, we are loading package information (titles, descriptions, etc.) into the R session memory upon launch of app. Adding search capabilities for help files and vignettes would be a nice benefit, but would require a significant refactor of the code. For this reason, we've decided not to tackle it at this time, but we welcome any pull requests. You may also be interested in the sos https://cran.r-project.org/web/packages/define/index.html package, which facilitates search of help pages.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RhoInc/CRANsearcher/issues/15#issuecomment-333968101, or mute the thread https://github.com/notifications/unsubscribe-auth/AFKJG-ThhSHaV4XW4GLh935BFSfd4bSUks5sopjLgaJpZM4PhhIe .

rgayler avatar Oct 03 '17 21:10 rgayler