Comments (3)
I also saw this package in the same SO question. I'd argue that using roxygen2
would capitalize on a lot of roxy-to-Rd conversions. As far as how to call it, I think something similar to Hadley's devtools
would work, where utils::help
is masked by devtools:help
, which checks to see if it's a devtools-installed help file and falls back to utils::help
otherwise.
from box.
Like @r2evans, I think the right way is to use established tools – i.e. roxygen2
. And yes, I’ll probably copy devtools
’ mechanism of hooking into help
, although I would have preferred if R provided a direct way of attaching documentation (or other meta data) to a function, instead of having to patch core functions.
With that in mind, I actually like flydoc
’s approach of making such meta information accessible at runtime. This won’t be the priority but it’s definitely “nice to have”.
from box.
The work for this is currently being done in the branch help
. I’m closing this issue for now. Further discussion should take place in #32, or in dedicated issues.
At the time of writing, a rudimentary system of the interactive help works (modulo the issues already reported). I won’t push it into master
yet until these issues are resolved.
from box.
Related Issues (20)
- Add support for `Rcpp::sourceCpp` inside a `box` module HOT 3
- Import directories HOT 4
- Allow tidyselect-like syntax within `use()` HOT 2
- GitHub version is broken: ERROR: a 'NAMESPACE' file is required; object 'c_strict_extract' not found HOT 3
- Nested packages and relative paths HOT 2
- Add contribution instructions
- Rename ‘dev’ branch to ‘build’
- `box::use` with relative paths does not seem to work with Plumber APIs with `entrypoint.R` deployed to RStudio / Posit Connect HOT 3
- Documentation not found for reexports HOT 3
- Unable to install `box` with `renv=1.0.0` HOT 2
- Check `...` arguments in`box::file()` and `box::export()`
- recent versions do not install with R 3.6.3 (object '.S3method' not found) HOT 5
- Document limitation of replacement functions in modules HOT 1
- installation fails under R version 3.6.0: object '.S3method' not found HOT 2
- Consider making ‘box’ namespace environments actual namespaces HOT 5
- Read environment variables only at startup
- Move backports definitions to on_load()
- Nested imports don't work when set as `R6` class method HOT 4
- `purge_cache` function missing HOT 1
- Ability to re-export functions that have been loaded programmatically 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 box.