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

Installing Rd objects failed for package ‘BH’ #43

Closed
sdanbury opened this issue Jun 23, 2017 · 3 comments
Closed

Installing Rd objects failed for package ‘BH’ #43

sdanbury opened this issue Jun 23, 2017 · 3 comments

Comments

@sdanbury
Copy link

Hello there,

I am experiencing strange error messages when I try and install the BH package.

Ubuntu 16.04.2 LTS
R version 3.4.0 (2017-04-21) -- "You Stupid Darkness"

Steps to reproduce:

library(devtools)
install_version("BH", version = "1.62.0-1")

This gives me the following:

trying URL 'https://mirrors.ebi.ac.uk/CRAN/src/contrib/BH_1.62.0-1.tar.gz'
Content type 'application/x-gzip' length 10181096 bytes (9.7 MB)
==================================================
downloaded 9.7 MB

* installing *source* package ‘BH’ ...
** package ‘BH’ successfully unpacked and MD5 sums checked
** inst
Warning in file.append(to[okay], from[okay]) :
  write error during file append
Warning in file.append(to[okay], from[okay]) :
  write error during file append
Warning in file.append(to[okay], from[okay]) :
  write error during file append
...

<redacted-for-brevity>

...
Warning in file.append(to[okay], from[okay]) :
  write error during file append
Warning in file.append(to[okay], from[okay]) :
  write error during file append
** help
Error : /tmp/RtmpN1qAz1/R.INSTALL47aa53b0cfe7/BH/man/BH-package.Rd: Sections \title, and \name must exist and be unique in Rd files
ERROR: installing Rd objects failed for package ‘BH’

Any ideas?

Thanks!

@eddelbuettel
Copy link
Owner

Not a clue. I also don't understand why you think you need a devtools function to install a package.

On my Ubuntu 16.04 (where I already had BH, of course):

R> install.packages("BH")
Installing package into/usr/local/lib/R/site-library’
(aslibis unspecified)
trying URL 'https://cran.rstudio.com/src/contrib/BH_1.62.0-1.tar.gz'
Content type 'application/x-gzip' length 10181096 bytes (9.7 MB)
==================================================
downloaded 9.7 MB

* installing *source* packageBH...
** packageBHsuccessfully unpacked and MD5 sums checked
** inst
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (BH)

The downloaded source packages are in/tmp/RtmpBa9J82/downloaded_packagesR> 

Usual advice is to try a different mirror etc pp. This must be a local issue.

@sdanbury
Copy link
Author

I was using devtools so I could install a known version of the package. If there is a way to do that with install.packages or another function, let me know.

Thanks for the quick response. How strange, I will just create another instance.

@eddelbuettel
Copy link
Owner

Could be anything -- maybe your local disk acted up.

When I want a different version I usually start at the archive directory at CRAN.

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

No branches or pull requests

2 participants