Comments (7)
Hello :-) Is there a preference in the ROpenSci community whether to include the .Rproj
or not?
from pkgreviewr.
Het @katrinleinweber, I think it can vary for packages hosted on github. They're not included in the build but might exist in the source code. Anyroad, given the source code will always be a package, I've switch the function to get package metadata from usethis:::project_data
to usethis:::package_data
which I believe works off the DESCRIPTION
file (5557d93),
from pkgreviewr.
I was trying to lead up to the suggestion to prefer including it in the source code ;-)
Reason: a contributor's RStudio instance can pull out some useful style infos that harmonise collaboration. IMHO, pkgreviewr
could spit out a warning if no .Rproj
is present.
from pkgreviewr.
Ah, I see. what sort of information were you thinking could be useful. In general the idea is that you use pkgreviewer
to test the package under review locally in a separate project. So i don't think whether the package has an .rproj
file or not matters too much atm?
from pkgreviewr.
Not for the review itself, but if pkgreviewer
flagged a missing .Rproj
, the reviewer and submitter could pre-emptively help future contributors. Doubling clicking the file opens the project's working directory in RStudio immediately (no setwd()
necessary), and RStudio can immediately use the correct intendation for example. That's not super important, but worth a small flag / note.
from pkgreviewr.
PS: See also rstudio/rstudio#1711. .Rproj
is admittedly not the best file to ensure equal settings for contributors, because it mixes the rather personal Workspace
& History
settings in with Space/Tab
settings etc. Once RStudio supports .editorconfig
, this issue's topic would shift to that ;-)
from pkgreviewr.
OK! I see what you are suggesting now! I guess it goes back to the original question about an rOpenSci review preference. Currently, as I understand it, it's not something that's checked at review. Maybe it should? Any thoughts @maelle ?
from pkgreviewr.
Related Issues (20)
- Not able to create a project on Windows HOT 7
- Change license to align with usethis license
- small request editor request template ;-) HOT 3
- what happens if there's no review badge yet? HOT 1
- add code of conduct stuff as html comments HOT 5
- email address? HOT 1
- check that review_parent exists sooner
- delete everything when the clone was unsuccessful? HOT 1
- Criteria before transfer to ropensci? HOT 4
- Add tests for editor templates
- r test-local chunk fails to execute HOT 1
- using `usethis::git_sitrep()` instead of `whoami::gh_username()` HOT 9
- Remove requirement for Rstudio HOT 2
- Author names not parsed correctly when entered as single character string
- adding `spelling` to Suggests
- The URL docs.ropensci.org/pkgreviewr fails 404 (nothing found)
- Error using pkgreviewr::pkgreview_create() - review.md not found HOT 3
- Fix pkgdown configuration for articles HOT 2
- Include checklist and guidelines for statistical packages
- Error when setting up a new editor review 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 pkgreviewr.