Comments (3)
So if you have one file, does it make more sense to use/exchange it as-is? Just a thought
Alternatively, you could build an R package for it, which (I know) is a huge ask sometimes... but that will almost surely make it more than two or three files.
from pkglite.
It makes sense for experimentation and training purposes. If you are not inclined to add a few lines of code to fix the issue, could you consider adding an informative message or documenting the behavior?
from pkglite.
Hmm, good question, but after some rethinking, I'm still going to say no, and here is my reasoning:
- For experimentation and training purposes, any R package scaffolding tool such as
usethis::create_package()
that creates a proper package will create more than one file. - It's common sense that more that one file will be involved under the context of packing a proper R package, so emphasizing an expected behavior would sound a bit unnecessary to me.
Thanks for bringing this up, though!
from pkglite.
Related Issues (20)
- Use stop(call. = FALSE) HOT 1
- add .stan in the pkglite::file_auto HOT 1
- add a `file_all` function HOT 1
- Test whether output path is writable HOT 3
- fix size of logo HOT 1
- Update customization for pkgdown 2.0.0 HOT 1
- cli output compatibility with pkgdown 2.0.0 HOT 1
- Remove cli dependency HOT 1
- vignette page navigator is mis-placed HOT 1
- Add independent testing for cli functions HOT 1
- Clarify output path logic for unpack in vignettes HOT 2
- Consider exporting `read_pkglite()` HOT 2
- Add `.brew` to file extension dictionary HOT 1
- Fix issues in HTML validation
- Release pkglite 0.2.1 HOT 1
- documentation HOT 1
- pattern_file_sanitize() - do we need the extra /? HOT 3
- seg_char and any seq(...) - dependent function HOT 1
- `_pkglite.yml`
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 pkglite.