Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18399

Not able to generate correct metadata for few CRAN packages which are copied from CRAN remote repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 3 - High
    • Resolution: Done
    • Affects Version/s: 6.6.0, 6.7.0
    • Fix Version/s: 6.18.0, 7.3.0
    • Component/s: CRAN
    • Labels:
    • Severity:
      High

      Description

      e*Steps to reproduce:*

      Create cran local repo: cran-local

      Create a cran remote repo: cran-remote

      Copy contents from cran-remote-cache to cron-local :

      For some reason the PACKAGES index is not generating proper metadata for few packages (like roxygen2) :

       

       

      $ curl -s 'http://127.0.0.1:8081/artifactory/cran-remote/src/contrib/PACKAGES' | grep 'Package: roxygen2'

      Package: roxygen2

       

      $ curl -s 'http://127.0.0.1:8081/artifactory/cran-local/src/contrib/' | grep roxygen2

      <a href="roxygen2_6.1.1.tar.gz">roxygen2_6.1.1.tar.gz</a>   07-Nov-2018 11:10  174.17 KB

       

       

      $ curl -s 'http://127.0.0.1:8081/artifactory/cran-local/src/contrib/PACKAGES' | grep 'Package: roxygen2'

       

      For a package like 'roxygen2', the generated metadata seems wrong as below:

      _Package: testUtf8Escape
      Version: 0.1
      License: GPL-2_

       __ 

      ASK: Cran local repository should generate correct metadata as like cran remote repository.

      Expected metadata for package roxygen2_6.1.1.tar.gz is as like below: __ 

      _Package: roxygen2
      Version: 6.1.1
      Depends: R (>= 3.1)
      Imports: brew, commonmark, desc (>= 1.2.0), digest, methods, pkgload
      (>= 1.0.2), purrr, R6 (>= 2.1.2), Rcpp (>= 0.11.0), stringi,
      stringr (>= 1.0.0), utils, xml2
      LinkingTo: Rcpp
      Suggests: covr, devtools, knitr, rmarkdown, testthat (>= 0.8.0)
      License: GPL (>= 2)
      NeedsCompilation: yes_

       

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              inbart Inbar Tal (Inactive)
              Reporter:
              sankark Sankar Kumar
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-18399 -
                  SYNCHRONIZED
                  • Last Sync Date: