Comments (2)
I figured it out, I have to write the output. I didn't realize that print the box was a artifact of the box text being returned from a function.
cli::boxx("Hello out here!", padding = 1, background_col = "brown")
x <- TRUE
while (x) {
cat_boxx(cli::boxx("Hello in here!", padding = 1, background_col = "brown"))
x <- FALSE
}
cli::boxx("Hello out here again!", padding = 1, background_col = "brown")
from cli.
Yes, it just returns the box strings, but you need to cat()
them.
from cli.
Related Issues (20)
- ansi_collapse() with 1 element prints it twice if both width and style = "head" are set
- Release cli 3.6.1
- Images broken in Pkgdown HOT 1
- Cannot install on R 3.5.0 HOT 4
- Better handling of warning() during cli_progress_bar HOT 1
- `.fun` or `.fn`? HOT 1
- .run cli hyperlinks with base functions. HOT 3
- cli R package progress bars not showing if multiple progress bars created in quick succession HOT 2
- Cli links with line numbers and .href
- cli R package progress bars not showing through progressr handler HOT 1
- Consistent way to open files with {.file} hyperlinks in RStudio project HOT 3
- cli_text sometimes omits interpolated fs variables HOT 2
- Feature request : `cli_glue()` HOT 2
- Bottleneck when printing ansi colors in RStudio HOT 2
- Documenting progress bar pattern with completion message
- Support "?" display in cli messages? HOT 2
- Installation fails on R4.3.0 under Ubuntu HOT 3
- FR: Way to have more subtle hyperlinks (support text-decoration: "none") HOT 2
- Sparkline full bar not rendering properly HOT 3
- progress bar output being included in RMarkdown output HOT 2
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 cli.