Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

available.packages does not work for local repo #7

Open
Zhenglei-BCS opened this issue Aug 29, 2024 · 1 comment
Open

available.packages does not work for local repo #7

Zhenglei-BCS opened this issue Aug 29, 2024 · 1 comment

Comments

@Zhenglei-BCS
Copy link

Zhenglei-BCS commented Aug 29, 2024

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
Copy link
Member

llrs commented Aug 30, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants