Virtual CRAN repo does not include local packages

We are using an company specific instance of Artifactory hosted at https://company.jfrog.io/ and we use it to host packages for R.

We’ve configured a remote repository cran-remote to mirror the official CRAN repository (https://cran.r-project.org/). We’ve also configured cran-local to host private company specific packages. And finally we created a cran virtual repository which is a combination of cran-remote and cran-local. Normally we are able to to just have users set up the virtual repo in R and they can install both local and remote package, but as as about a week ago, only remote packages are available from the virtual repo. For example we set the users up in R with

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>options("repos")
$repos
$repos$cran
[1] "https://user:[email protected]/artifactory/cran/"
</code>
<code>options("repos") $repos $repos$cran [1] "https://user:[email protected]/artifactory/cran/" </code>
options("repos")
$repos
$repos$cran
[1] "https://user:[email protected]/artifactory/cran/"

But running available.packages() inside of R, doesn’t show any package in cran-local, just those in cran-remote. I can check each of the sub repos as well

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code># Virtual
nrow(available.packages("https://user:[email protected]/artifactory/cran/src/contrib"))
# [1] 21096
# Remote
nrow(available.packages("https://user:[email protected]/artifactory/cran-remote/src/contrib"))
# [1] 21096
# Local
nrow(available.packages("https://user:[email protected]/artifactory/cran-local/src/contrib"))
# [1] 11
# compare names
length(setdiff(
rownames(available.packages("https://user:[email protected]/artifactory/cran-local/src/contrib")),
rownames(available.packages("https://user:[email protected]/artifactory/cran-remote/src/contrib"))
))
# [1] 11 #(no overlapping names)
</code>
<code># Virtual nrow(available.packages("https://user:[email protected]/artifactory/cran/src/contrib")) # [1] 21096 # Remote nrow(available.packages("https://user:[email protected]/artifactory/cran-remote/src/contrib")) # [1] 21096 # Local nrow(available.packages("https://user:[email protected]/artifactory/cran-local/src/contrib")) # [1] 11 # compare names length(setdiff( rownames(available.packages("https://user:[email protected]/artifactory/cran-local/src/contrib")), rownames(available.packages("https://user:[email protected]/artifactory/cran-remote/src/contrib")) )) # [1] 11 #(no overlapping names) </code>
# Virtual
nrow(available.packages("https://user:[email protected]/artifactory/cran/src/contrib"))
# [1] 21096

# Remote
nrow(available.packages("https://user:[email protected]/artifactory/cran-remote/src/contrib"))
# [1] 21096

# Local
nrow(available.packages("https://user:[email protected]/artifactory/cran-local/src/contrib"))
# [1] 11

# compare names
length(setdiff( 
 rownames(available.packages("https://user:[email protected]/artifactory/cran-local/src/contrib")),  
 rownames(available.packages("https://user:[email protected]/artifactory/cran-remote/src/contrib"))
))
# [1] 11 #(no overlapping names)

There are no duplicated names or anything like that. The values from local are just not in the virtual repo. This used to work just fine but stopped working ~Jul 19.

Why are the packages from cran-local not appearing in the virtual cran repo? This does not appear to be a problem with other repo types such as npm or pypi.

You can see the configuration in this screen shot

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật