Problem with installing dev tools packadge - r

So , I am following instructions given to us on how to install dev.tools package.
But, I am running into a problem where after being successful at using these commands:
install.packages("devtools")
library(devtools)
I am instructed to use this command:
build_github_devtools()
Which produces this error :
Error in build_github_devtools() :
could not find function "build_github_devtools"
I have no idea how to solve this, could anyone help?

You may be following outdated instructions. According to the install guide at https://cran.r-project.org/web/packages/devtools/readme/README.html , you are good to go!
If you were successful with
install.packages("devtools")
library(devtools)
That's it, mission accomplished

Related

Couldn't install packages in R on Linux Redhat (CXX14 is not defined)

I need install 'metaSEM' package in R. It's not allowed to use internet so I tried to use install by the souce file. But it doesn't work. The warning shows as :
ERROR: dependency 'OpenMX' is not availabe for package.
Could you please give my any suggestion about this situation? Thanks a lot.

How to install rword2vec package

Please provide me the steps how to install rword2vec. I referred to the previous posts and followed installation steps and got the error:
library(devtools)
install_github("mukul13/rword2vec")
Downloading GitHub repo mukul13/rword2vec#master
from URL https://api.github.com/repos/mukul13/rword2vec/zipball/master
Installation failed: Could not find build tools necessary to build rword2vec
I also tried to follow the steps regarding build tool provided in this link, but no success (I am using macOS).
Try installing Rtools (3.4 latest), mine showed similar error and automatically installed it. Hope it helps

Error using install_github for statsr package

I'm trying to install the companion R package for a Coursera course, with the following commands:
library(devtools)
install_github("StatsWithR/statsr")
Error in curl::curl_fetch_disk(url, x$path, handle = handle) :
Couldn't resolve host name
Bet the error is due to the firewall, because at home (where I have no firewall, but exactly the same versions of R and RStudio) I can install flawlessly. Is it possible to fix it? Otherwise, since I've been able to download the package from Github on my pc, how do I install the package manually?
Please change you DNS to public one.
You can try Google DNS (8.8.8.8 and 8.8.4.4) .
It worked fine for me.
Click here to see how to set public DNS
to solve this problem you have to install these packages which worked for me.
install.packages("devtools")
install.packages("dplyr")
install.packages("rmarkdown")
install.packages("ggplot2")
install.packages("broom")
install.packages("gridExtra")
install.packages("shiny")
install.packages("cubature")
library(devtools)
install_github("StatsWithR/statsr")
or use this
install.packages(data.table)
devtools::install_github("arunsrinivasan/cran.stats")
you can try to install Rtools first and then run the commands.
https://cran.r-project.org/bin/windows/Rtools/

how to install hrbrmisc in R

I am a beginner in R, I want the below library hrbrmstr/hrbrmisc for one of my programs.
I have installed Devtools and then tried to install using
install_github("hrbrmstr/hrbrmisc")
It gives an error as Error: could not find function "install_github"
Any help is appreciated...
Just run:
install.packages("devtools")
devtools::install_github("hrbrmstr/hrbrmisc")
to install the package.

library(RNeo4j) Error in library(RNeo4j) : there is no package named ‘RNeo4j’

When pasting library(RNeo4j) into the console I am getting the error above.
Running out of ideas. Please help, it might be very trivial
Have you tried to install the package yet?
install.packages("devtools")
devtools::install_github("nicolewhite/RNeo4j")

Resources