I'm facing some issues with shortest.path function.
shortest.paths(g, v=2795, to=2839) # correct
         [,1]
    [1,] 3930.4
get.shortest.paths(g, from=2795, to=2839) # warning and no results
    [[1]]
    numeric(0)
Warning message:
In get.shortest.paths(g_novy, from = 2795, to = 2839) :
  At structural_properties.c:5296 :Couldn't reach some vertices