rocker-versioned2 icon indicating copy to clipboard operation
rocker-versioned2 copied to clipboard

Vignettes not found from html index when using browseVignettes()

Open ldemaz opened this issue 1 year ago • 1 comments

Container image name

rocker/geospatial:4.3.2

System information

  • Docker version 20.10.12
  • MacOS version 10.15.7 (19H2026)

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.

ldemaz avatar Jan 03 '24 03:01 ldemaz

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

eitsupi avatar Jan 24 '24 11:01 eitsupi