datacamp / rdocumentation-2.0

📚 RDocumentation provides an easy way to search the documentation for every version of every R package on CRAN and Bioconductor.
https://rdocumentation.org
MIT License
282 stars 43 forks source link

Searching for `boot` produces no results #157

Open AndrewRadev opened 3 months ago

AndrewRadev commented 3 months ago

If I go to https://www.rdocumentation.org/ and search for the package boot and wait for a bit, I get a suggestion in the dropdown:

2024-06-16-172719_1920x1080_scrot

The package is, in fact, indexed. However, actually performing the search gives me an empty page: 2024-06-16-172822_1920x1080_scrot

The package boot does exist, it just isn't found in the search: https://www.rdocumentation.org/packages/boot/versions/1.3-30. If you search, for instance, for boot.ci, this hits that function from the package.

The issue happens with other packages, but I haven't tracked which, I simply decided to finally submit an issue. It might be that somehow the search query is filtering out "boot" as a common word or something?

hbien2 commented 1 month ago

I've been having the same issue for the past several months now. Direct search for almost anything, including basics like 'strsplit' yields no results (no packages and no functions), unless I start from the main page where I need to select one of the suggestions. If I select 'View results for "strsplit"', I get nothing. Feels like a bug, and for a newbie trying to learn R, it's not a pleasant experience.

Even if I then select "strsplit (base)", I get no results. I'm using Google Chrome if it makes any difference.

I understand someone has to pay the bills, but why on RDocumentation.org if you click "Introduction to R" you are sent to the Datacamp lessons instead of the "Introduction to R" book I was expecting (https://cran.r-project.org/doc/manuals/r-release/R-intro.pdf)?

hbien2 commented 1 month ago

Ok, found my answers. According to #138 this is a known issue and RDocumentation.org only works INSIDE Datacamp's lessons. This issue has been brought up earlier as #147

My solution is to use https://rdrr.io/ instead