Comments (4)
Thanks for your issue @ecrs98 ! I'm so glad it makes coding more fun.
What do you think @aedobbyn ? Does this seem like a good idea, and if so, can it be done easily?
from cowsay.
@ecrs98 let's wait a bit to see if amanda responds. if not soon, we can move ahead discussing this
from cowsay.
hi, so glad you like the package! so my first instinct here is that it would be possible to do of course, but that this argument would be redundant given that it's covered by the other two already there so i don't love it design-wise. what do you think @sckott?
from cowsay.
Thanks @aedobbyn ! One idea is we could do in the function definition
say <- function(what="Hello world!", by="cat",
type=NULL,
what_color=NULL, by_color=what_color, <---------
length=18, fortune=NULL, ...)
Where we set by_color
to be whatever is set in what_color
UNLESS by_color
is set to something by the user. NULL
is still the default for by_color
here.
I agree I don't think we should add a new parameter.
from cowsay.
Related Issues (20)
- why is animals object not exported? HOT 5
- Weird RJSONIO-jsonlite error upon import HOT 4
- jsonlite to suggests
- Grammatically wrong, the Yoda example text is
- retrojunkie.com is offline HOT 1
- Distinct project name, like "Rcowsay"? HOT 1
- parrot?
- 'catfact' error HOT 3
- add worstcat
- Contributing: add guidelines for whats in/out of scope HOT 2
- No message when colors are NULL? HOT 6
- Remove speech bubble from ascii HOT 17
- Standardize the spacing above animals' speech bubbles? HOT 4
- Prints everything to stderr instead of stdout HOT 5
- vignette build warning on cran HOT 3
- [feature request] appimage HOT 6
- Fix file request from CRAN
- multicolor not on cran HOT 3
- Add multicolor back if it gets back up on CRAN 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 cowsay.