Comments (3)
Hi @maelle,
I use renv more out of habit than for any other specific reason.
I use renv in all my projects to track package dependencies. Also when developing packages I like having the possibility to control all the dependencies installed.
You are right that renv is not commonly used when developing R-packages. Actually, in this case, renv may also be harmful as testing the package functions should not depend on a specific environment.
To avoid this problem, I run all tests on GitHub actions without using renv. In this way, the latest package versions are used [or at least this is my understanding].
Do you see any other inconveniences of using renv when developing R-packages? Or do you suggest other workflows?
from trackdown.
As an external contributor, I must say I first deactivated renv before contributing. 😅 I can't remember which package I wanted to use was missing, maybe it was devtools? So it was just easier for me to use my local library.
To install all the dependencies needed for a package project, I run pak::pak()
which works well and is easy to remember.
If you keep using renv, as it is not common for package development maybe CONTRIBUTING.md
should mention it?
from trackdown.
Another comment on the project setup. For renv and other things there is an .Rprofile
in this repository, which masks my user level .Rprofile
(that I use for loading {reprex}, {devtools}, {gert}).
Would you consider adding
if (file.exists('~/.Rprofile')) {
base::sys.source('~/.Rprofile', envir = environment())
}
to it so that both user-level and project-level Rprofiles are loaded? (a trick I got from https://bookdown.org/yihui/blogdown/global-options.html)
from trackdown.
Related Issues (20)
- Clarify scopes needed for the app in the vignette HOT 2
- Add alternative text to vignette images? HOT 1
- Feature request: Open the document that was just created/updated HOT 1
- Feature request: Upsert operation? HOT 2
- Feature request: Use version "tagging" on Google Docs HOT 1
- add R-universe installation instructions to README?
- Add/improve diagram to README
- use Markdown roxygen2 HOT 6
- use lifecycle to mark experimental arguments? HOT 1
- OAuth App Config. new msg from google HOT 4
- Small typo: donwloaded instead of downloaded HOT 1
- Warning: The `app` argument of `drive_auth_configure()` is deprecated as of googledrive 2.1.0. HOT 2
- Authentication Issues HOT 9
- Automate setup of access HOT 1
- Test roundtrip HOT 2
- Installation from Github Fails HOT 10
- Tracker V1.5.0 with GoogleDrive 2.0.0 refuses .qmd files HOT 4
- rename the default branch to "main"? HOT 2
- [BUG] trackdown wrongly highlights text in between inline chunks that have a `$` in them
- feature request
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 trackdown.