cran

CRAN Package Depends on Bioconductor Package Installing error

て烟熏妆下的殇ゞ 提交于 2019-12-20 18:34:19
问题 I manage the Depends, suggests and imports of the description file. and finally I submit my package to CRAN . But during installation the package, it only install the packages which are deposited under CRAN not for bioconductor packages. besides, it has a package dependencies error for Mac OS: check log for Mac OS what could be the problem? and how could I fixed it? Kind regards, 回答1: There is no mechanism by which install.packages() can install from Bioconductor by default in R ( at least

How can I install a R package on a offline Debian machine?

狂风中的少年 提交于 2019-12-20 06:05:02
问题 I have an Debian VM which is not connected to internet. Yet, I can still scp any file from my local machine which does have internet connection. To provide a little bit context, I am trying to host an shiny app on the VM. I can still install an old version of R 3.1.1 with the "apt-get" command: sudo apt-get update sudo apt-get install r-base sudo apt-get install r-base-dev Yet, still can't find the "shiny" package when check the list: sudo apt-cache search "^r-.*" | sort So, I am thinking

Resolving unstated -llapack dependency issue on Solaris

限于喜欢 提交于 2019-12-20 03:00:45
问题 I have released an R package on CRAN which depends on the successful compilation of some RcppArmadillo code. The package built correctly and with no notes on all the test systems that I tried (CRAN comments here if interested), however, the CRAN checks fail on solaris-sparc and are unable to load a dependency on solaris-x86 . See here for CRAN checks. The reason for the error is given as ld: fatal: library -llapack: not found (from goldi-00install.html). In my Makevars and Makevars.win , I

How to distinguish package namespace environment from other environment objects

独自空忆成欢 提交于 2019-12-20 02:11:38
问题 Is there any way to programmatically distinguish between package environments and non-package environment objects? For example, the objects x and y below are both environments, with the same class and attributes. x <- as.environment(cars) y <- getNamespace("graphics") However judging from the print method there is a difference: > print(x) <environment: 0x1d38118> > print(y) <environment: namespace:graphics> Now suppose I have an arbitrary object, how can I determine which of the two it is

checking CRAN incoming feasibility … NOTE Maintainer

微笑、不失礼 提交于 2019-12-18 13:52:17
问题 When I run R CMD check --as-cran on my package, the one note I still get is: checking CRAN incoming feasibility ... NOTE Maintainer:[my name] <my email> I can't seem to find a good explanation of this note, although I haven't read anything that tells my I should be concerned about it. As anyone else run into this? Is there anything I can do that will clear the note? 回答1: According to CRAN Maintainer Uwe Ligges, This is just a note that reminds CRAN maintainers to check that the submission

How to download the entire CRAN repository?

北城以北 提交于 2019-12-18 07:04:58
问题 For offline linux machines without Internet, installing R packages with lots of dependencies is a nightmare. I found couple of posts in SE discussing on how to create a local folder, copy desired package zip files and install using 'install.packages'. However, finding, downloading, and uploading lots of packages to an offline server is a time-consuming effort. So, I am wondering how can I download the entire zip file of all CRAN packages so I can put them in a http web server directory in my

Installing packages onto R

∥☆過路亽.° 提交于 2019-12-18 04:33:21
问题 For some reason I am suddenly not able to install packages in R (I have subsequently updated to the latest version of R and am running Windows 7). For example, if I type: install.packages('beeswarm') Installing package into ‘D:/Rlibs’ (as ‘lib’ is unspecified) --- Please select a CRAN mirror for use in this session --- trying URL 'http://www.stats.bris.ac.uk/R/bin/windows/contrib/3.0/beeswarm_0.1.5.zip' Content type 'text/html' length unknown opened URL downloaded 1859 bytes Error in read.dcf

Offline Installation of R packages

会有一股神秘感。 提交于 2019-12-18 03:04:08
问题 My institute uses proxy server, and no one is able to install packages in a usual way. (i.e downloading binary file from CRAN and then choosing Mirro and the installing etc etc). I am able to install packages if I use internet outside of my institute. So, I am looking for an offline way to install packages. Please provide a detailed solution, I have just started using R. Before writing this question I did look at this earlier asked question but did not quite understand the terms which have

Warning: replacing previous import ‘head’ when loading ‘utils’ in R

做~自己de王妃 提交于 2019-12-17 19:34:18
问题 When loading the RTextTools package from CRAN, I get the following warnings: Warning messages: 1: replacing previous import ‘head’ when loading ‘utils’ 2: replacing previous import ‘tail’ when loading ‘utils’ How do I get rid of these warnings? I'm the author of the package, so I can manipulate the source code; I'm looking for a solution that gets rid of the warnings rather than suppresses them. They seem to have appeared when I upgraded to R 2.14. Thank you in advance! 回答1: This is not your

R CRAN, install library Rcpp fails after R3.2 upgrade

荒凉一梦 提交于 2019-12-17 16:44:36
问题 I upgraded from R-3.1 to R-3.2. OK ( Standard upgrade) But this upgrade seems to have lost all the installed packages ( ggplot2, quantmod, Rcpp among dozens and dozens of others). So installed many from the RStudio tools menu option. Most were successful. But problem with Rcpp (when installing as dependency from ggplot2). The same issue occurs when installing package data.table : Warning in install.packages : unable to move temporary installation ‘C:\Users\euclid\Documents\R\win-library\3.2