rocker-org / rocker-versioned2

Run current & prior versions of R using docker. rocker/r-ver, rocker/rstudio, rocker/shiny, rocker/tidyverse, and so on.
https://rocker-project.org
GNU General Public License v2.0
390 stars 163 forks source link

Vignettes not found from html index when using browseVignettes() #742

Open ldemaz opened 6 months ago

ldemaz commented 6 months ago

Container image name

rocker/geospatial:4.3.2

System information

Question

This question is related to an archived issue. I have used rocker/geospatial:4.3.2 as the basis for another image (see Dockerfile), which is run using this script. The image functions well except I encounter the same issue mentioned previously, which is that the html index accessed from browseVignettes() fails to find the vignettes themselves.

I can make it work (as suggested in the previous issue) by adding "help" into the vignette URL (e.g. change this http://localhost:8787/library/dplyr/doc/colwise.html to this http://localhost:8787/help/library/dplyr/doc/colwise.html), but I was wondering if there is any way to fix this beyond what is suggested in the comments to that issue? I did try options(help.ports = 8787L) and options(help.ports = 8888L) but with no luck.

Thanks in advance for any suggestions on this, and for this fantastic resource.

eitsupi commented 5 months ago

I did try options(help.ports = 8787L) and options(help.ports = 8888L) but with no luck.

Have you published the port? https://docs.docker.com/network/#published-ports