-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No date being picked by CITATION #42
Comments
Have you installed EMODnetWCS? |
yup. It's picking up the rest of the details. Just no date 🤔 |
I'll try |
> pak::pak("EMODnet/EMODnetWCS")
✓ Updated metadata database: 3.32 MB in 7 files.
✓ Updating metadata database ... done
→ Will install 1 package.
→ Will download 1 package with unknown size.
+ EMODnetWCS 0.0.0.9010 [bld][cmp][dl] (GitHub: 88c8afc)
ℹ Getting 1 pkg with unknown size
✓ Got EMODnetWCS 0.0.0.9010 (source) (214.73 kB)
✓ Downloaded 1 package (214.73 kB)in 1.4s
ℹ Packaging EMODnetWCS 0.0.0.9010
✓ Packaged EMODnetWCS 0.0.0.9010 (634ms)
ℹ Building EMODnetWCS 0.0.0.9010
✓ Built EMODnetWCS 0.0.0.9010 (15.6s)
✓ Installed EMODnetWCS 0.0.0.9010 (github::EMODnet/EMODnetWCS@88c8afc) (25ms)
✓ 1 pkg + 58 deps: kept 55, added 1, dld 1 (NA B) [32.8s]
> citation(package = "EMODnetWCS")
To cite package ‘EMODnetWCS’ in publications
use:
Krystalli A (2022). _EMODnetWCS: Access
EMODnet Web Coverage Service data through R_.
https://github.com/EMODnet/EMODnetWCS,
https://emodnet.github.io/EMODnetWCS/.
A BibTeX entry for LaTeX users is
@Manual{,
title = {EMODnetWCS: Access EMODnet Web Coverage Service data through R},
author = {Anna Krystalli},
year = {2022},
note = {https://github.com/EMODnet/EMODnetWCS,
https://emodnet.github.io/EMODnetWCS/},
}
Warning message:
In citation(package = "EMODnetWCS") :
no date field in DESCRIPTION file of package ‘EMODnetWCS’ |
Oh, I didn't realise I needed to install it from GitHub to work. I had installed it locally from source |
Thank you! |
Let me try cloning! I was lazy 😜 |
I get the same as you with the local installation.
|
Interesting! Where is that |
sorry for the delay! For instance for a package I installed from CRAN there is a date |
Solved manually for now by installing from GitHub using I also tried adding a date into |
I'm trying recreate here:
EMODnetWCS/inst/CITATION
Lines 1 to 12 in 691bb86
the citation generating approach in
EMODnetWFS
by @maelle:https://github.com/EMODnet/EMODnetWFS/blob/c1ac54a25d91537bb57a94438fa6e9a41528bd9e/inst/CITATION#L1-L13
However, it's not picking up a Date:
which makes sense in this case as it's not included in the
EMODnetWCS
DESCRIPTION
file:EMODnetWCS/DESCRIPTION
Lines 1 to 49 in 691bb86
A
datePublished
field hasn't ended up in thecodemate.json
file either.EMODnetWCS/codemeta.json
Lines 305 to 320 in 691bb86
The odd thing is that is IS being picked up in
EMODnetWFS
Created on 2022-09-16 by the reprex package (v2.0.1)
even though there is no
Date
field in it'sDESCRIPTION
file: https://github.com/EMODnet/EMODnetWFS/blob/c1ac54a25d91537bb57a94438fa6e9a41528bd9e/DESCRIPTION#L1-L61There is however a
datePublished
field in theEMODnetWFS
codemeta.json
!https://github.com/EMODnet/EMODnetWFS/blob/c1ac54a25d91537bb57a94438fa6e9a41528bd9e/codemeta.json#L392-L413
I'm trying to figure out where
meta$Date
data is coming from ininst/CITATION
script: https://github.com/EMODnet/EMODnetWFS/blob/c1ac54a25d91537bb57a94438fa6e9a41528bd9e/inst/CITATION#L1and how a
datePublished
field ended up in theEMODnetWFS
codemeta.json
. Any ideas @maelle ?The text was updated successfully, but these errors were encountered: