New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault on fs::link_path(.Library) #43

Closed
jennybc opened this Issue Jan 22, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@jennybc
Copy link
Member

jennybc commented Jan 22, 2018

I was looking into how to use fs to see what .Library links to on my (Mac) system. This first thing I tried was fs::link_path(.Library) which segfaults.

I now see that path_real() works, though.

.Library
#> [1] "/Library/Frameworks/R.framework/Resources/library"
fs::path_real(.Library)
#> /Library/Frameworks/R.framework/Versions/3.4/Resources/library

Created on 2018-01-21 by the reprex package (v0.1.1.9000).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment