Comments (6)
I’m in favour of opinionated libraries so I’m fundamentally OK with just setting the option. However, you’re right that (badly programmed!) packages will break.
I’ve asked on Twitter. Maybe we can collect some evidence from experience.
from ebits.
Answering your specific question, there’s the defaults
package, which allows globally replacing the default argument values for specific functions.
However, this once again sets defaults globally, not restricted to module scope (of course). Yet this might somehow be harnessed. Let’s brainstorm this.
from ebits.
Disillusionment came swiftly:
@klmr really bad idea in my experience – @hadleywickham
from ebits.
Let's wait for dplyr=0.3
then and reconsider.
from ebits.
Reading from a text file still needs this, I would suggest setting stringsAsFactors=F
on each function call in io
.
from ebits.
fixed in #33 - all io
functions explicitly set stringsAsFactors=FALSE
from ebits.
Related Issues (20)
- `array/intersect` fails for dplyr's `data.frame`s HOT 1
- hpc (devel) - unhelpful error message when missing packages HOT 3
- `plot` syntax should be closer to ggplot2 HOT 2
- `hpc` should prioritize sending out iterated args over constant HOT 1
- stats/lm: size of factors should be number of non-ref-level elements HOT 1
- hpc/Q fails to terminate jobs
- `hpc` should support multicore and ssh+lsf HOT 1
- hpc/Q fails if function argument name is "seed" HOT 1
- array/map along>=3 changes order of axes HOT 1
- Regression with argument matching using `eval_args` HOT 1
- hpc/Q should not submit more jobs than function calls HOT 1
- Volcano plot does not work with `facet_wrap()`
- Moving repository HOT 5
- In io module, automatically evaluate module_file on given path HOT 2
- Add dependencies to DESCRIPTION
- process/idmap/gene: guess dset from ID
- Consider adding txdb module
- idmap/gene on matrices is too slow
- seq/aneuploidy without "sample" column does not work
- Change of modules to box HOT 1
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 ebits.