r-forge

How to tell CRAN to install package dependencies automatically?

自闭症网瘾萝莉.ら 提交于 2019-12-17 08:36:06
问题 I develop a package in R and when I check and build it in my local computer it works properly. But when I tried it in CRAN, I get a package dependencies error. My package depends on two functions of other packages. If I list the other packages under the description using Depends or imports , will it be automatically installed with the new package? Or do I need to explicitly invoke the function install.packages("packagename") under the function that I've used the other packages. if this all is

Automatically update packages installed from R-forge

夙愿已清 提交于 2019-11-29 18:57:13
I recently installed R-2.12.0 from R-2.11.1 and I've updated all CRAN packages via: update.packages(checkBuilt=TRUE, ask=FALSE) Now I want to update all the packages I have installed from R-forge, but only if they're not available on CRAN . In other words, I cannot simply run: update.packages(checkBuilt=TRUE, ask=FALSE, repos="http://r-forge.r-project.org") because it would install the R-forge version of the survival package over the version that came with R-2.12.0. I could probably use some combination of the information from old.packages and packageStatus to determine which packages exist

Automatically update packages installed from R-forge

一笑奈何 提交于 2019-11-28 14:13:42
问题 I recently installed R-2.12.0 from R-2.11.1 and I've updated all CRAN packages via: update.packages(checkBuilt=TRUE, ask=FALSE) Now I want to update all the packages I have installed from R-forge, but only if they're not available on CRAN . In other words, I cannot simply run: update.packages(checkBuilt=TRUE, ask=FALSE, repos="http://r-forge.r-project.org") because it would install the R-forge version of the survival package over the version that came with R-2.12.0. I could probably use some

How to tell CRAN to install package dependencies automatically?

元气小坏坏 提交于 2019-11-27 06:57:05
I develop a package in R and when I check and build it in my local computer it works properly. But when I tried it in CRAN, I get a package dependencies error. My package depends on two functions of other packages. If I list the other packages under the description using Depends or imports , will it be automatically installed with the new package? Or do I need to explicitly invoke the function install.packages("packagename") under the function that I've used the other packages. if this all is wrong, what is the best way to solve package dependencies in R inorder to pass the R CMD check and

Cannot install R-forge package using install.packages

ぃ、小莉子 提交于 2019-11-25 23:35:12
问题 This, question, is, asked, over, and, over, and, over, on the R-sig-finance mailing list, but I do not think it has been asked on stackoverflow. It goes like this: Where can I obtain the latest version of package XYZ that is hosted on R-forge? I tried to install it with install.packages , but this is what happened: > install.packages(\"XYZ\",repos=\"http://r-forge.r-project.org\") Warning message: package ‘XYZ’ is not available (for R version 2.15.0) Looking on the R-forge website for XYZ, I