Comments (14)
Highlight outdated packages
Only load required packages
Ask for update
All packages up to date
from easystats.
I have revised the startup a bit. In needed
are those packages that are out of date, which I want to print in a different color. I'm working on the coloring later.
from easystats.
It's not less verbose, but more informative. And red version number indicates outdated pkg.
from easystats.
Wow, awesome!!! Looks very pro π
questions:
- Is it possible to conditionally display the "red = needs update", i.e., if there is an outdated package, then add something like
Update packages in red with 'easystats_update()'
- Maybe replace the
*
by ticks (tidyverse uses:crayon::green(cli::symbol$tick)
)? But needscli
AND might look to tidyverserian π
from easystats.
from easystats.
in the most recent commit, I also checked if dev-versions are installed, else the function to load all libs would fail.
from easystats.
And I just copied the unicode for the two symbols, we don't need to import cli here.
from easystats.
I think we can use the "warning" sign instead of cross, else it would rather look like failed to attach, which is not the case.
from easystats.
from easystats.
This looks great guys! Great idea and well executed
from easystats.
However, I got this note when trying...
from easystats.
easystats is only available from GitHub, and probably ever will. CRAN teams does not want to have packages which solely purpose is to load and check other packages (no idea how tidyverse made it to CRAN, maybe they setup this rule later).
from easystats.
I just looked at the source code and it looks pretty straightforward, with this as the on attach start up message:
.onAttach <- function(...) {
needed <- core[!is_attached(core)]
if (length(needed) == 0)
return()
crayon::num_colors(TRUE)
tidyverse_attach()
x <- tidyverse_conflicts()
msg(tidyverse_conflict_message(x), startup = TRUE)
}
is_attached <- function(x) {
paste0("package:", x) %in% search()
}
Here's how they organized the package: https://cran.r-project.org/web/packages/tidyverse/tidyverse.pdf
Not sure if this is valuable...
from easystats.
CRAN or not CRAN, I am closing this issue as it has been addressed
from easystats.
Related Issues (20)
- Adding links to `see` vignettes in individual packages HOT 1
- Move from GPL-3 to MIT license HOT 8
- Figure out why total download counts are not included in the README table HOT 1
- Namespace error with sjPlot after installing easy stats HOT 3
- Use the new `check_if_installed()` with `.get_dep_version()` in all easystats packages HOT 1
- Should we leave out `date` and `author` from vignette metadata?
- Collect roxygen import tags and re-exports in a single location HOT 3
- Use `\donttest` instead of `\dontrun` tag for skipping examples on CRAN machines HOT 6
- Next meta-package CRAN release HOT 6
- Going workflow green HOT 2
- Surprising behaviour of tests on Windows in some specific contexts HOT 5
- Getting rid of a warning in a vignette HOT 2
- Check that the tests don't change the global state
- Running tests on 2 cores only HOT 6
- Enable required workflows? HOT 6
- Discussion: Bump minimum needed R version to `R 4.0` across the ecosystem? HOT 43
- Consistency of arguments across packages, in particular `by`, `group` and `group_by`. HOT 12
- Bump minimum needed R version to `R 4.0` in `DESCRIPTION` HOT 1
- Predicted values & text report error for model_dashboard(lmerTest::lmer model)
- Build favicons for pkgdown website locally 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 easystats.