<p>Can you use <code>devtools::install_github()</code> giving your github username/reposname</p>

<p>If not, you need to check that your R package is passing <code>R CMD check</code> or <code>devtools::check()</code>. See <a href="http://r-pkgs.had.co.nz/check.html" rel="nofollow noreferrer">http://r-pkgs.had.co.nz/check.html</a> and <a href="http://kbroman.org/pkg_primer/pages/check.html" rel="nofollow noreferrer">http://kbroman.org/pkg_primer/pages/check.html</a> for info</p>

CC BY-SA 4.0
2019-01-09T03:51:59.843Z
I have already finished running the RCMD check. I got 2 notes but it finished in good manner.
Furqan
CC BY-SA 4.0
2019-01-08T21:11:20.147Z
2019-01-09T08:07:17.307Z
2019-01-09T08:07:17.307Z
Aedin
<p>A quick workaround is to install the package directly from source:</p>

<pre><code>install.packages("~/Download/myPackage.tar.gz", repos = NULL, type="source")
</code></pre>

<p>You should be able to pass also <code>.zip</code> and URLs (other than CRAN).</p>

CC BY-SA 4.0
2019-01-09T13:39:30.377Z
2019-01-09T13:39:30.377Z
fra
<p>I have written a package for my personal use and my other colleagues. I have uploaded the files and source package to different websites. I am able to install the source package in my computer. But my colleagues cannot install it either by github.com (<a href="https://github.com/furqan915/Epi-gene" rel="nofollow noreferrer">https://github.com/furqan915/Epi-gene</a>) or by sourceforge.net (<a href="https://sourceforge.net/projects/epi-gene/" rel="nofollow noreferrer">https://sourceforge.net/projects/epi-gene/</a>). 
Common error is package cannot be installed and it does not add to user library.
I am unable to find out the problem.
Kindly help me out.  </p>

CC BY-SA 4.0
2019-01-09T09:49:29.203Z
I'm voting to close this question as off-topic because it is about general programming. If you provide the errors you find and the steps you have done to find the cause of them it will be easier for people on Stack Overflow or other places to help you
llrs
CC BY-SA 4.0
2019-01-09T13:44:11.567Z
The package installs without issues on my system. You’ll need to provide a lot more details about this error for people to be able to help you.
Konrad Rudolph
<r>
R package installation in r studio
# R package installation in r studio

(Asked by: username_0 on 2019-01-08)

I have written a package for my personal use and my other colleagues. I have uploaded the files and source package to different websites. I am able to install the source package in my computer. But my colleagues cannot install it either by github.com (<https://github.com/furqan915/Epi-gene>) or by sourceforge.net (<https://sourceforge.net/projects/epi-gene/>).
Common error is package cannot be installed and it does not add to user library.
I am unable to find out the problem.
Kindly help me out.

**Tags:** r
> **Comments:**
> **username_1**: I'm voting to close this question as off-topic because it is about general programming. If you provide the errors you find and the steps you have done to find the cause of them it will be easier for people on Stack Overflow or other places to help you  
> **username_2**: The package installs without issues on my system. You’ll need to provide a lot more details about this error for people to be able to help you.  

---

## 2 answers

### Answer by username_3 on 2019-01-08. Score: 3 | Accepted answer

Can you use `devtools::install_github()` giving your github username/reposname

If not, you need to check that your R package is passing `R CMD check` or `devtools::check()`. See <http://r-pkgs.had.co.nz/check.html> and <http://kbroman.org/pkg_primer/pages/check.html> for info

> **Comments:**
> **username_0**: I have already finished running the RCMD check. I got 2 notes but it finished in good manner.  

---

### Answer by username_4 on 2019-01-09. Score: 0

A quick workaround is to install the package directly from source:
install.packages("~/Download/myPackage.tar.gz", repos = NULL, type="source")

You should be able to pass also .zip and URLs (other than CRAN).


---

