Comments (4)
- Authors@R messed up by normalize()
That's subjective. :) I think it looks nice. Although the missing key and the empty line is a big problem indeed. I wonder how I missed this.....
c(person(given = "Hadley",
family = "Wickham",
role = c("aut", "cre", "cph"),
email = "[email protected]"),
person(given = "Peter",
family = "Danenberg",
role = c("aut", "cph"),
email = "[email protected]"),
person(given = "Manuel",
family = "Eugster",
role = c("aut", "cph")),
person(given = "RStudio",
role = "cph"))
- message suggests using to_authors_at_r() function which doesn't seem to exist
Yes, I wanted to write it, but gave up in the end. Too hard to parse the field(s) for too little gain. I'll just remove the message for now I think.
description::description$new("!new")$get_author()
returns NULL but shouldn't
Yes, probably !new
should create a file with Authors@R
. TBH I hate Authors@R
, because it looks so different than the rest of the file, but I guess that's the standard now.
NB: Have you tried as.person.character() for parsing Author and Maintainer fields?
Hmmm. In 3.2.4 there is no such function, but as.person.character
might do the trick. I missed that.
from desc.
It's as.person.default(). The formatting for a single Author@R looked odd to me.
from desc.
It's as.person.default().
That's it. I tried it, it messes up things even with simple inputs. So people can convert to Authors@R
manually I guess.
The formatting for a single Author@R looked odd to me.
Well, it is the standard formatting, I just use format()
. Since we don't ever reformat, unless the user tesll us to, I think this is OK. It is different from the Hadley style, but I think it looks OK.
from desc.
The rest I fixed I believe. Thanks!
from desc.
Related Issues (20)
- The `normalize` argument of `$write()`
- Better formatting with `$set_list()` HOT 6
- Encoding error on R 4.2 (devel) HOT 17
- Treat `Config/Needs/website` like `Imports`? HOT 3
- Upkeep for desc
- Release desc 1.4.1
- Release desc 1.4.2
- Use `fs::path_package()` instead of `system.file()` to support dev-loaded packages? HOT 4
- Create desc object from named vector
- Implement tidy-on-write
- Upkeep for desc
- https://desc.r-lib.org/ works now
- Setting `default = ""` in `get_list()` for a non-existent field returns empty character vector HOT 4
- Different output for `get_maintainer` and `get_authors` when Authors@R field malformed
- Upkeep for desc (2023)
- Use cli errors or file an issue if you don't have time to do it now
- `usethis::use_standalone("r-lib/rlang", "types-check")` instead of home grown argument checkers;
- Add alt-text to pictures, plots, etc; see https://posit.co/blog/knitr-fig-alt/ for examples
- `get_built()` fails if `Built` is not a single line
- Release desc 1.4.3
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 desc.