Skip to content
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

In Linux it should be installed without failure #84

Closed
wants to merge 1 commit into from

Conversation

@bubifengyun
Copy link

@bubifengyun bubifengyun commented Jun 25, 2019

#74

bubifengyun
#74
@@ -206,6 +206,10 @@ phantom_paths <- function() {
} else if (is_osx()) {
path <- '~/Library/Application Support'
path <- if (dir_exists(path)) file.path(path, 'PhantomJS')
} else if (is_linux()) {
path <- '~/bin'
path <- if (!dir_exists(path)) dir.create(path,recursive = TRUE)

This comment has been minimized.

@wch

wch Jun 25, 2019
Owner

I think this isn't the right place to create the directory -- this function simply returns a possible path for the executable to go; it should not create the path.

The suggestion in #74 seems like the right way to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.