Comments (1)
In general, I'd recommend using pak::pak()
to install packages because it will automatically install system requirements if possible, and if not, tell you what packages you need to install.
If you don't want to turn over all installation to pak, you can instead just use it's systreqs facilities, eg.
pak::pkg_sysreqs("devtools")
#> ℹ Loading metadata database
#> ✔ Loading metadata database ... done
#>
#> ── Install scripts ─────────────────────────── Ubuntu NA ──
#> apt-get -y update
#> apt-get -y install git libcurl4-openssl-dev libssl-dev make zlib1g-dev pandoc \
#> libfreetype6-dev libjpeg-dev libpng-dev libtiff-dev libicu-dev \
#> libfontconfig1-dev libfribidi-dev libharfbuzz-dev libxml2-dev
#>
#> ── Packages and their system dependencies ────────
#> credentials – git
#> curl – libcurl4-openssl-dev, libssl-dev
#> fs – make
#> gitcreds – git
#> httpuv – make, zlib1g-dev
#> knitr – pandoc
#> openssl – libssl-dev
#> pkgdown – pandoc
#> ragg – libfreetype6-dev, libjpeg-dev, libpng-dev, libtiff-dev
#> remotes – git
#> rmarkdown – pandoc
#> sass – make
#> stringi – libicu-dev
#> systemfonts – libfontconfig1-dev, libfreetype6-dev
#> textshaping – libfreetype6-dev, libfribidi-dev, libharfbuzz-dev
#> xml2 – libxml2-dev
from devtools.
Related Issues (20)
- `document(quiet = TRUE)` is too quiet when a required package is not installed HOT 1
- `build_readme()` rejects (and fails with) HTML-based output HOT 2
- Providing a fall-back mechanism to install an older version any package via devtools HOT 8
- Getting test coverage for the current package seems to require the package to be installed? HOT 2
- More Date conversions/formats HOT 2
- Simpler `test_coverage_active_file()` implementation
- Upkeep for devtools (2023)
- Add dev_example() to documentation for run_examples() HOT 3
- `release` causes me a problem if 'foghorn' package is installed HOT 1
- Using system.file in a tryCatch environment HOT 2
- Export is not working when using typed library HOT 3
- Solution to the "checking examples ... ERROR" HOT 1
- [feature request] a new `exclude` argument into `run_examples()` HOT 2
- `load_all()` documentation refers to `is_loading()`
- devtools::check(error_on="warning") doesn't error on warnings from documenting HOT 4
- `run_examples()` fails if `tests/testthat/helper.R` contains an un-exported function
- Update README reg R Packages second edition
- .
- Can't install the package 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 devtools.