Skip to content

Commit

Permalink
more instructions on citation style
Browse files Browse the repository at this point in the history
  • Loading branch information
huizezhang-sherry committed Jan 5, 2024
1 parent 1384370 commit 7817168
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion vignettes/format-details.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,32 @@ The citation style will be added during the building process and you can find th
}
```

R Journal requires a link for easy access to the reference and this can be done through either the `doi` or `url` field. If both fields are presented, `url` takes priority and we recommend providing the URL link as `url = {https://doi.org/.../...},`.
R Journal requires a link for easy access to the reference and this can be done through either the `doi` or `url` field. If both fields are presented, `url` takes priority and we recommend providing the URL link as `url = {https://doi.org/.../...},`, i.e.

````
@article{wickham_tidy_2014,
title = {Tidy {Data}},
author = {Wickham, Hadley},
year = {2014},
journal = {Journal of Statistical Software},
volume = {59},
number = {10},
pages = {1--23},
url = {https://doi.org/10.18637/jss.v059.i10}
}
````

For webpage entries, please use the `url` field instead of `howpublished`, under `@misc`, to provide the link (and the `note` field for access date), i.e.

````
@Misc{Wiki+HCL,
author = {Wikipedia},
title = {{HCL Color Space} --- {W}ikipedia{,} The Free Encyclopedia},
year = {2023},
url = {https://en.wikipedia.org/wiki/HCL_color_space},
note = {accessed 2023-07-12}
}
````


# Styling
Expand Down

0 comments on commit 7817168

Please sign in to comment.