tmastny / browse

Navigate and generate links to remote files
Other
29 stars 0 forks source link

Links from relative locations do not work #6

Closed tmastny closed 4 years ago

tmastny commented 4 years ago

Don't have time for a full diagnostic, but I think something is going on with private repos? Or maybe you have to have a PR open? Something weird is going on. Or is it relative paths?

tmastny commented 4 years ago

Reprex:

library(browse)

( link("R/browse.R") )
#> [1] "https://github.com/tmastny/browse/blob/8d762b9004a71e21db1aa4d5f017ae31df023fd2/R/browse.R"

setwd("R")

( link("browse.R") )
#> [1] "https://github.com/tmastny/browse/blob/8d762b9004a71e21db1aa4d5f017ae31df023fd2/browse.R"