Skip to content

Commit

Permalink
update interface description
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Aug 10, 2023
1 parent 6cfd9fa commit 7f14936
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ $ Rscript -e bspm:::scripts mass_move --run user1 [user2 ...] [lib1 [lib2 ...]]
New backends for other package managers can be added to `inst/service/backend`.
Each backend must implement the following functions:
- `def discover() -> dict({ "prefixes" : list, "exclusions" : list })`
- `def available(prefixes : list, exclusions : list) -> list`
- `def install(prefixes : list, pkgs : list, exclusions : list) -> list`
- `def remove(prefixes : list, pkgs : list, exclusions : list) -> list`
- `def discover() -> dict({ "prefixes": list, "exclusions": list })`
- `def available(prefixes: list, exclusions: list) -> list`
- `def install(prefixes: list, pkgs: list, exclusions: list, weak_deps: Optional[bool]=None) -> list`
- `def remove(prefixes: list, pkgs: list, exclusions: list) -> list`
The last two functions receive a list of prefixes, a list of R package names and
a list of exclusions, and must return a list with those package names that could
Expand Down

0 comments on commit 7f14936

Please sign in to comment.