pharmaR / pharmapkgs

Work in progress - demo of integrations with a pharma repository
Other
4 stars 0 forks source link

available.packages does not work for local repo #7

Open Zhenglei-BCS opened 4 weeks ago

Zhenglei-BCS commented 4 weeks ago

Anyone has encountered this issue below? I am trying to write up the unit test for the package but failed at the 1st step. Already tried to change the path into single quote, does not work.

available.packages(repos=repo) Package Version Priority Depends Imports LinkingTo Suggests Enhances License License_is_FOSS License_restricts_use OS_type Archs MD5sum NeedsCompilation File Repository

llrs commented 4 weeks ago

The available.packages works for local packages but the internal logic is complicated. Could you show the path you used? It also checks the files at the directory to determine if it is a valid repository. Could you also show what files are at that directory? In principle there should be a PACKAGES (and PACKAGES.gz is recommended too)