R语言程序包依赖关系与更新情况的实证研究

TP311; 作为一款统计分析和统计制图的优秀工具,R在统计分析和人工智能领域得到了广泛应用,并且拥有丰富的开源生态系统,相关R语言程序包(R包)的数量也在持续增长.R包开发模式的特征,即新开发R包往往通过引入已有的R包来实现功能,导致R包之间的依赖关系非常复杂,甚至出现依赖冲突.而引起此问题的原因除了依赖关系外,还有R包的更新.为了了解现有R包的发展现状,需要对R包的依赖和更新情况进行深入实证研究.但已有关于R的实证研究关注的主要是整个R生态系统,没有专门针对R包的依赖和更新的具体分析.为了弥补这一空缺,基于CRAN与GitHub上的数据对常用R包的依赖关系、包的更新情况、存在的依赖冲突隐患...

Full description

Saved in:
Bibliographic Details
Published in计算机科学 Vol. 51; no. 6; pp. 1 - 11
Main Authors 程弘正, 杨文华
Format Journal Article
LanguageChinese
Published 南京航空航天大学计算机科学与技术学院 南京 211106%南京航空航天大学计算机科学与技术学院 南京 211106 2024
软件新技术与产业化协同创新中心 南京 210023
Subjects
Online AccessGet full text
ISSN1002-137X
DOI10.11896/jsjkx.230200069

Cover

Abstract TP311; 作为一款统计分析和统计制图的优秀工具,R在统计分析和人工智能领域得到了广泛应用,并且拥有丰富的开源生态系统,相关R语言程序包(R包)的数量也在持续增长.R包开发模式的特征,即新开发R包往往通过引入已有的R包来实现功能,导致R包之间的依赖关系非常复杂,甚至出现依赖冲突.而引起此问题的原因除了依赖关系外,还有R包的更新.为了了解现有R包的发展现状,需要对R包的依赖和更新情况进行深入实证研究.但已有关于R的实证研究关注的主要是整个R生态系统,没有专门针对R包的依赖和更新的具体分析.为了弥补这一空缺,基于CRAN与GitHub上的数据对常用R包的依赖关系、包的更新情况、存在的依赖冲突隐患以及R包的依赖更新情况4方面展开了详细分析.发现R包之间的依赖关系复杂、每个包依赖的包的数量普遍较多但依赖集中于一部分R包,虽然常用R包的更新频率较快,但其中依然存在不少依赖间的冲突(不一致);同时,还对这些R包的依赖冲突进行了检测和分类.实证研究结果能够让R开发者和使用者更加了解R包的发展现状,同时提供了一些可以帮助R包的开发者在开发过程中避免隐患的建议,总结了研究者在R包依赖和更新相关问题上可以进一步探究的方向.
AbstractList TP311; 作为一款统计分析和统计制图的优秀工具,R在统计分析和人工智能领域得到了广泛应用,并且拥有丰富的开源生态系统,相关R语言程序包(R包)的数量也在持续增长.R包开发模式的特征,即新开发R包往往通过引入已有的R包来实现功能,导致R包之间的依赖关系非常复杂,甚至出现依赖冲突.而引起此问题的原因除了依赖关系外,还有R包的更新.为了了解现有R包的发展现状,需要对R包的依赖和更新情况进行深入实证研究.但已有关于R的实证研究关注的主要是整个R生态系统,没有专门针对R包的依赖和更新的具体分析.为了弥补这一空缺,基于CRAN与GitHub上的数据对常用R包的依赖关系、包的更新情况、存在的依赖冲突隐患以及R包的依赖更新情况4方面展开了详细分析.发现R包之间的依赖关系复杂、每个包依赖的包的数量普遍较多但依赖集中于一部分R包,虽然常用R包的更新频率较快,但其中依然存在不少依赖间的冲突(不一致);同时,还对这些R包的依赖冲突进行了检测和分类.实证研究结果能够让R开发者和使用者更加了解R包的发展现状,同时提供了一些可以帮助R包的开发者在开发过程中避免隐患的建议,总结了研究者在R包依赖和更新相关问题上可以进一步探究的方向.
Abstract_FL As an excellent tool for statistical analysis and statistical cartography,R is very popular in the field of statistical analy-sis and artificial intelligence,and it has a rich open-source ecosystem with a growing number of R packages.The characteristics of the R package development model,i.e.,the new development of an R package is often implemented by introducing existing R packages to achieve functionality,resulting in very complex dependencies between R packages and even dependency conflicts.The other factor that causes this problem is the update of the R package,in addition to the dependencies.Therefore,an in-depth empi-rical study of the dependencies and updates of R packages is needed to understand the current state of development of existing R packages.However,existing empirical studies on R have focused on the entire R ecosystem without a specific analysis of the de-pendencies and updates of R packages.To bridge this gap,this paper presents a detailed analysis of the dependencies,the updates,the potential conflicts of dependencies,and the updates of dependencies of common R packages based on data from CRAN(Com-prehensive R Archive Network)and GitHub.It is found that the dependency relationships between R packages are complex,and the number of packages each R package depends on is generally high.Still,the dependencies are concentrated in a part of R packa-ges.Although the update frequency of common R packages is fast,there are still many conflicts(inconsistencies)between depen-dencies,and we detected and classified the dependency conflicts of these R packages.The results of our empirical study can pro-vide R developers and users with a better understanding of the current state of R package development,and provide some sugges-tions that can help R package developers avoid pitfalls in the development process,as well as directions that researchers can ex-plore further on issues related to R package dependencies and updates.
Author 程弘正
杨文华
AuthorAffiliation 南京航空航天大学计算机科学与技术学院 南京 211106%南京航空航天大学计算机科学与技术学院 南京 211106;软件新技术与产业化协同创新中心 南京 210023
AuthorAffiliation_xml – name: 南京航空航天大学计算机科学与技术学院 南京 211106%南京航空航天大学计算机科学与技术学院 南京 211106;软件新技术与产业化协同创新中心 南京 210023
Author_FL YANG Wenhua
CHENG Hongzheng
Author_FL_xml – sequence: 1
  fullname: CHENG Hongzheng
– sequence: 2
  fullname: YANG Wenhua
Author_xml – sequence: 1
  fullname: 程弘正
– sequence: 2
  fullname: 杨文华
BookMark eNrjYmDJy89LZWCQMDTQMzS0sDTTzyrOyq7QMzI2MDIwMDCzZGHgNDQwMNI1NDaP4GDgLS7OTDIwMjYzAUJDTgaroBfr175Y0fB8RffTXf1Pe1qf7Jv7Yuu0p62bn2_e_WRH37PZW55N2_CsufVp29bns1qerpv3Yn3j8wVTnq_cxsPAmpaYU5zKC6W5GdTcXEOcPXTLE_PSEvPS47PyS4vygDLxYBcZGRiZGJgZGBgaE60QACEiVLI
ClassificationCodes TP311
ContentType Journal Article
Copyright Copyright © Wanfang Data Co. Ltd. All Rights Reserved.
Copyright_xml – notice: Copyright © Wanfang Data Co. Ltd. All Rights Reserved.
DBID 2B.
4A8
92I
93N
PSX
TCJ
DOI 10.11896/jsjkx.230200069
DatabaseName Wanfang Data Journals - Hong Kong
WANFANG Data Centre
Wanfang Data Journals
万方数据期刊 - 香港版
China Online Journals (COJ)
China Online Journals (COJ)
DatabaseTitleList
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
DocumentTitle_FL Empirical Study on Dependencies and Updates of R Packages
EndPage 11
ExternalDocumentID jsjkx202406001
GroupedDBID -0Y
2B.
4A8
5XA
5XJ
92H
92I
93N
ABJNI
ACGFS
ALMA_UNASSIGNED_HOLDINGS
CCEZO
CUBFJ
CW9
GROUPED_DOAJ
PSX
TCJ
TGT
U1G
U5S
ID FETCH-wanfang_journals_jsjkx2024060013
ISSN 1002-137X
IngestDate Thu May 29 04:00:14 EDT 2025
IsPeerReviewed false
IsScholarly true
Issue 6
Keywords 更新
R包
依赖
实证研究
依赖冲突
Empirical study
Dependency conflict
Dependency
Update
R package
Language Chinese
LinkModel OpenURL
MergedId FETCHMERGED-wanfang_journals_jsjkx2024060013
ParticipantIDs wanfang_journals_jsjkx202406001
PublicationCentury 2000
PublicationDate 2024
PublicationDateYYYYMMDD 2024-01-01
PublicationDate_xml – year: 2024
  text: 2024
PublicationDecade 2020
PublicationTitle 计算机科学
PublicationTitle_FL Computer Science
PublicationYear 2024
Publisher 南京航空航天大学计算机科学与技术学院 南京 211106%南京航空航天大学计算机科学与技术学院 南京 211106
软件新技术与产业化协同创新中心 南京 210023
Publisher_xml – name: 软件新技术与产业化协同创新中心 南京 210023
– name: 南京航空航天大学计算机科学与技术学院 南京 211106%南京航空航天大学计算机科学与技术学院 南京 211106
SSID ssib023646461
ssib001164759
ssj0057673
ssib051375750
Score 4.7401366
Snippet TP311; 作为一款统计分析和统计制图的优秀工具,R在统计分析和人工智能领域得到了广泛应用,并且拥有丰富的开源生态系统,相关R语言程序包(R包)的数量也在持续增长.R包开发模...
SourceID wanfang
SourceType Aggregation Database
StartPage 1
Title R语言程序包依赖关系与更新情况的实证研究
URI https://d.wanfangdata.com.cn/periodical/jsjkx202406001
Volume 51
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
journalDatabaseRights – providerCode: PRVAON
  databaseName: DOAJ Open Access Full Text
  issn: 1002-137X
  databaseCode: DOA
  dateStart: 20210101
  customDbUrl:
  isFulltext: true
  dateEnd: 99991231
  titleUrlDefault: https://www.doaj.org/
  omitProxy: true
  ssIdentifier: ssj0057673
  providerName: Directory of Open Access Journals
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMw1V3NaxNBFB9qvHixfqJVaw4-LyWa7M7uznibTTYUQQ-lQm4l2WytFSLYFKQnReNF0Yv0oCge60Er1Ioo-Nc0H3-G771skokRar15GR6zb978Zt8m74N5M0JckqoeB8pNcp6uyRydBpJTtarOOQkao-V6ImNNhcI3bvrzt-T1ileZysxau5bWm7Ur8cYf60r-RavYh3qlKtkDaHYoFDuQRv1iixrG9q90vACRAlMGU2JC0baFKGAihMiD0IAqE6GKoDyIJIQRaGYOPdA-P0I2l0ZhG4bMg8MjiHzQIYSSCR_CPBHKZTk4yicJOErjFJJ6DEqOUjyqwDDyoCUTGkLf9oKZLQLTZ8OBAc9SJMDUg2ILLLMEZpg5HF9ZEbSiQcTijlh8Wp5RKWgVMNYSrsfObjijvGb6nABImt0UCZtCeGaA3Fg9CElSZ0oEQ5AHWtHYS1aGtcbMpmzxaNAajDM3CXEOw2mMscHx_mf4ljnkq2_coGLby_SA4DsTxq9geVF9Czppn5WmXNHq2urdB1SDwIVieuSLDHeIMgd9EHnyyA-Jww7l26yUCbv7dBjeyB2nuxB863hED5FjNJIfeGYYWgf9gpt0VYNtCwjq6m-QuIavsVxt3LbczcVj4mgaJ2ZN_0d_XExtrJwQ04M7WLKpST4pri30tj_2th52t561v79sP2_t_Xzb291st3a6Oz_2vr3ovPnS2fzcedxqP93tvn7S_vSut_2o-_5V98PXU-JyOVoszudSCEvpf87a0vhrcU-LTONeIzkjsm6svGq1HiRxIKV045ov40I978R-nYIadVZc3EfYzL4c58QRovsJyPMi07y_nlxAl7xZm2W9_ALJFKEx
linkProvider Directory of Open Access Journals
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=R%E8%AF%AD%E8%A8%80%E7%A8%8B%E5%BA%8F%E5%8C%85%E4%BE%9D%E8%B5%96%E5%85%B3%E7%B3%BB%E4%B8%8E%E6%9B%B4%E6%96%B0%E6%83%85%E5%86%B5%E7%9A%84%E5%AE%9E%E8%AF%81%E7%A0%94%E7%A9%B6&rft.jtitle=%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6&rft.au=%E7%A8%8B%E5%BC%98%E6%AD%A3&rft.au=%E6%9D%A8%E6%96%87%E5%8D%8E&rft.date=2024&rft.pub=%E5%8D%97%E4%BA%AC%E8%88%AA%E7%A9%BA%E8%88%AA%E5%A4%A9%E5%A4%A7%E5%AD%A6%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6%E4%B8%8E%E6%8A%80%E6%9C%AF%E5%AD%A6%E9%99%A2+%E5%8D%97%E4%BA%AC+211106%25%E5%8D%97%E4%BA%AC%E8%88%AA%E7%A9%BA%E8%88%AA%E5%A4%A9%E5%A4%A7%E5%AD%A6%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%A7%91%E5%AD%A6%E4%B8%8E%E6%8A%80%E6%9C%AF%E5%AD%A6%E9%99%A2+%E5%8D%97%E4%BA%AC+211106&rft.issn=1002-137X&rft.volume=51&rft.issue=6&rft.spage=1&rft.epage=11&rft_id=info:doi/10.11896%2Fjsjkx.230200069&rft.externalDocID=jsjkx202406001
thumbnail_s http://utb.summon.serialssolutions.com/2.0.0/image/custom?url=http%3A%2F%2Fwww.wanfangdata.com.cn%2Fimages%2FPeriodicalImages%2Fjsjkx%2Fjsjkx.jpg