Skip to content

Update gitbookInfo.R and checkForGitbook.R #22

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

raulossada
Copy link

  • On gitbookInfo.R: Using npm list -g instead of gitbook --version since it seems that the later one needs some special permission to execute directly from RStudio in Windows 8.1 x64. Although running cmd and using gitbook --version works fine.
  • On checkForGitbook.R: Instead of using npm I propose using npm -v to check if npm is installed, since it returns a status 0 and also its version.
  • On initGitbook.R: Code proposed by benmarwick. Sorry I thought that I would be able to submit just the first 2 codes.
  • Codes tested on Windows 8.1 x64 - RStudio 0.98.953 - R 3.1.1

raulossada and others added 3 commits July 12, 2014 09:49
Using the version proposed by benmarwick.
Using `npm list -g` instead of `gitbook --version` since it seems that the later one needs some special permission to execute directly from RStudio in Windows 8.1 x64. Although running `cmd` and using `gitbook --version` works fine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant