Comments (2)
So something like this:
if (require(testthat)) {
library({{{ name }}})
test_check("{{{ name }}}")
}
?
from usethis.
Oh, no, I changed my mind on this. It should fail if testthat
is not available.
from usethis.
Related Issues (20)
- Should `browse_github_pulls()` and `browse_github_issues()`, `browse_github_actions()` default to using upstream when a fork? HOT 1
- `git_conflict_report()` could be more informative HOT 1
- Pull request helpers as separate package? HOT 1
- Remove `revdepcheck::cloud_check()` from release issue checklist? HOT 2
- `usethis::use_tibble()` does not add `@importFrom tibble tibble` to package-level doc HOT 6
- `use_coverage()` should advice to set a token in repo?
- Transitioning from devtools to remotes HOT 4
- feat: diffify badge HOT 1
- export `compute_name()` HOT 1
- `use_tidy_base_pipe()` HOT 1
- `pr_` performance HOT 1
- Update short link in description of `tidy-dev-day 🤓` label HOT 1
- Which repo to target is asked many times without more context (e.g in `use_release_issue()`) HOT 3
- Update http errors we're trying to catch for httr2 HOT 2
- Release usethis 3.0.0
- Should be clearer when cancelling HOT 2
- Question: should `usethis::use_apache_license()` support a `copyright_holder` parameter? HOT 3
- Funky bullet in `git_sitrep()` HOT 1
- `use_readme_rmd()` does not create pre-commit hook if `README.Rmd` is not overwritten HOT 2
- Docs: grammatical error
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 usethis.