rticulate / import

An Import Mechanism For R
https://import.rticulate.org
Other
222 stars 14 forks source link

Docs don’t work when using import::from('pkg (>=1.0)', ...) #17

Closed flying-sheep closed 5 years ago

flying-sheep commented 5 years ago

Using the versioned form of import::from, upon trying to fetch the help of an item, import tries to fetch the docs for `pkg (>=1.0)`::item instead of pkg::item:

> import::from('pkg (>=1.0)', item)
> ?item
import: showing documentation for `pkg (>=1.0)`::item

Error in find.package(if (is.null(package)) loadedNamespaces() else package, :
there is no package called ‘pkg (>=1.0)’
...