Comments (2)
I agree, this is a documentation bug in the vignette. The .into
parameter is indeed handled differently from the other parameters. And because of the special curly handling of that parameter it would be tricky to align all the parameters while still maintaining backwards compatibility, so it is likely to remain that way in the foreseeable future.
So the fix is to be clear about this in the documentation. A PR is of course always appreciated, but so is the clear bug report, and the example usage seems like a good one to include in a section on the advanced use of the .into
parameter.
from import.
This is both fixed, and with subsequent improvements to the .into
parameter it's also obsolete.
I did a few updates to the documentation of this in the vignette (https://import.rticulate.org/articles/import.html should be up to date now). If you see anything, feel free to let me know.
from import.
Related Issues (20)
- importing S3 methods HOT 10
- `get` being overridden by other packages HOT 7
- GitHub commit checks have started to fail without discernible reason HOT 3
- Time for a new release (1.3.0)? HOT 7
- Add import::config() function or similar? HOT 8
- Switch default branch to main HOT 2
- Towards 1.4.0 HOT 6
- `import::from()` not working inside package function HOT 10
- some_module.R - comments unclear HOT 1
- Question regarding S3 methods, dependencies, and functions run inside other functions HOT 3
- can't import from two different versions of package HOT 4
- issue while importing functions that use data.table syntaxis HOT 4
- Error when using in unit tests HOT 5
- `import::from` does not update when a nested file has been edited HOT 5
- Subsequent `import::from` into "imports" does not work HOT 4
- Errors in imported script requires manual `detach` or R session restart HOT 1
- Update See also with the box package HOT 2
- .S3 doesn't work correctly if class contains a dot (".") HOT 4
- (Enhancement) Register module as a namespace HOT 2
- Add import::show() or similar function for convenience of showing possible imports HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from import.