Why was package 'epicalc' removed from CRAN? [closed]

别等时光非礼了梦想. 提交于 2019-12-10 13:22:47

问题


Go to the link:

https://cran.r-project.org/web/packages/epicalc/index.html

You will obtain the message:

Package ‘epicalc’ was removed from the CRAN repository.

Formerly available versions can be obtained from the archive.

Archived on 2015-05-12 as requested by the maintainer <cvirasak@medicine.psu.ac.th>.

But no further explanation is given. This seems like a well developed and useful packages, so why has it been removed?


回答1:


It looks most of the material from epicalc has been moved into epiDisplay.

The epiDisplay package information says:

Package for data exploration and result presentation. Full 'epicalc' package with data management functions is available at the author's repository.

(although it doesn't give a link).

devtools::install_version("epicalc",version="2.15.1.0")
install.packages("epiDisplay")
library("epicalc")
library("epiDisplay")
c1 <- ls("package:epicalc")
d1 <- ls("package:epiDisplay")

In epicalc but not epiDisplay:

setdiff(c1,d1)
##  [1] "addMissingRecords" "adjust"            "auc"              
##  [4] "be2ad"             "detachAllData"     "expand"           
##  [7] "fillin"            "keepData"          "label.var"        
## [10] "lagVar"            "markVisits"        "merge.lab"        
## [13] "pack"              "print.summ"        "recode"           
## [16] "recode.default"    "recode.is.na"      "ren"              
## [19] "rename"            "rename.default"    "rename.pattern"   
## [22] "rename.var"        "sortBy"            "tally.events"     
## [25] "unclassDataframe"  "use"               "zap"              

In epiDisplay but not epicalc:

setdiff(d1,c1)
## [1] "print.summ.data.frame" "print.summ.default"    "summ.data.frame"      
## [4] "summ.default"          "summ.factor"           "summ.logical"         

Edit:

Per the author of epicalc:

‘epicalc’ has disappeared from CRAN. It has been archived by R-core team based on my request. The reason is that CRAN has set up a policy not to allow any package to do anything on .GlobalEnv while epicalc does that extensively.

They go on to say:

WHICH ONE IS BETTER? ‘epicalc’ or ‘epiDisplay’

For those who are familiar with epicalc, without these database functions, you need to get back to usual plain R functions. That will slow you down substantially, especially during the data cleaning and manipulation. I recommend that you should install epicalc from our website (as shown above) and don’t borther about ‘epiDisplay’ For R users who have never used epicalc and do not want to learn epicalc database functions, ‘epiDisplay’ is straightforward and should still be very useful in data exploration and result display.



来源:https://stackoverflow.com/questions/32316360/why-was-package-epicalc-removed-from-cran

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!