Comments (3)
Looks like this exists as pkgload::dev_example()
, so the ask is to add this to the run_examples
documentation and/or export dev_example()
as part of devtools
.
from devtools.
I was having a similar issue and I have found out pkgload::run_example()
. Does that help?
from devtools.
@pawelru I think the better alternative for me is pkgload::dev_example()
which allows you pass in the topic/name rather than the full path.
Since this function already exists, I think the need is just to reference this function in the devtools::run_examples()
documentation so that we even know this exists (since most of us use devtools
to do most of our package building, rather than dealing with the separate underlying packages. I will update the request title and description accordingly.
from devtools.
Related Issues (20)
- Simpler `test_coverage_active_file()` implementation
- Upkeep for devtools (2023)
- `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
- Clearly list system dependencies in documentation HOT 1
- `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
- can not install devtools in R4.4.1 HOT 4
- do not ask about `check_rhub()` in `release()` because it is deprecated and defunct HOT 2
- Deprecate `install_*`
- Import pak
- Use `httr` conditionally
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.