-
Notifications
You must be signed in to change notification settings - Fork 37
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
Installing from GitHub and specifying "type" #118
Comments
Hi @alapo The argument section of the help page (
You can pass on the Therefore, your function call is possible with pacman::p_install_gh("benmarwick/wordcountaddin", type = "source", dependencies = TRUE) |
Thank you for your response @LoHertel I am attempting to make a reproducible document for other members of my lab. The issue is that one package (wordcountaddin) relies on pacman::p_install_gh("benmarwick/wordcountaddin", type = "source", dependencies = TRUE) Curiously this following line using pacman doesnt work due to "incorrect capitalization specification" pacman::p_install_gh( "achetverikov/apastats", subdir="apastats" ) But using devtools it does work using the same syntax devtools::install_github('achetverikov/apastats',subdir='apastats') I originally had all the GitHub packages set up as follows (which works until this example) pacman::p_install_gh( c("benmarwick/wordcountaddin", "achetverikov/apastats") ) Do you have any recommendation on how you would pass this in one line? Perhaps this is redundant but I've found this package to be particularly great for beginners to the RMarkdown environment who might be averse to calling Sorry for the extended question but I (and my lab mates) appreciate your input |
Please use You wrote that you want to circumvent calling pacman::p_load_gh('benmarwick/wordcountaddin', 'achetverikov/apastats/apastats', type = 'source', dependencies = NA) The difference between
Call all in one statement without suppressWarnings(pacman::p_install_gh(c('benmarwick/wordcountaddin', 'achetverikov/apastats/apastats'), type = 'source', dependencies = NA)) If you want to install multiple packages at the same time, you can not combine it with the At the moment, |
Big fan of the package. I was curious if anyone knew how I should install the following package using
pacman
. Thedevtools
syntax would be:devtools::install_github("benmarwick/wordcountaddin", type = "source", dependencies = TRUE)
I read through the documentation but was unable to find a way to specify the type when using
p_install_gh
The text was updated successfully, but these errors were encountered: