codecheckers / register

Register of CODECHECK certificates
https://codecheck.org.uk/register/
Other
6 stars 2 forks source link

Qualify the repository entries in the register and support OSF #26

Closed nuest closed 4 years ago

nuest commented 4 years ago

Do we want to allow other repositories than the codecheckers GitHub org?

If yes, then we should qualify all repo entries with platform and org, e.g. Picollo-2020 turns into github::codecheckers/Picollo-2020. The remotes package should have functions allowing for parsing this, see https://remotes.r-lib.org/articles/dependencies.html and the function parse_one_extra (which is not exported, unfortunately).

Useful/required for #25.

We may support osf:: and figshare:: as types, when we want to process contained files or access metadata (saves us identifying the platform via the URL).

nuest commented 4 years ago

The updated register after #25 and implementing this would be as follows:

Certificate,Repository,Type,Issue
2020-001,github::codecheckers/Piccolo-2020,journal (GigaScience),NA
2020-002,github::codecheckers/Reproduction-Hancock,community,2
2020-003,github::codecheckers/Hopfield-1982,community,1
2020-004,github::codecheckers/Barto-Sutton-Anderson-1983,community,4
[...]
2020-015,github::codecheckers/Liou-and-Bateman,community,22
2020-016,github::codecheckers/OpeningPractice,community,15
2020-018,github::reproducible-agile/AGILECA,conference (AGILE),25
2020-019,osf::5SVMT,conference (AGILE),25
2020-020,osf::7TWR2,conference (AGILE),25
2020-021,github::reproducible-agile/Spatial-nominal-entity-recognition,conference (AGILE),25
2020-022,osf::7XRQG,conference (AGILE),25
2020-023,github::reproducible-agile/Tracking-Hurricane-Dorian-in-GDELT-and-Twitter,conference (AGILE),25
nuest commented 4 years ago

Works nicely:

$ R -q -e "codecheck::register_check(); warnings()"
> codecheck::register_check(); warnings()
Checking 2020-001, github::codecheckers/Piccolo-2020, journal (GigaScience), NA 
Completed checking registry entry 2020-001 
Checking 2020-002, github::codecheckers/Reproduction-Hancock, community, 2 
Completed checking registry entry 2020-002 
Checking 2020-003, github::codecheckers/Hopfield-1982, community, 1 
Completed checking registry entry 2020-003 
Checking 2020-004, github::codecheckers/Barto-Sutton-Anderson-1983, community, 4 
Completed checking registry entry 2020-004 
Checking 2020-005, github::codecheckers/Larisch-reproduction, community, 5 
Completed checking registry entry 2020-005 
Checking 2020-006, github::codecheckers/Detorakis-reproduction, community, 6 
Completed checking registry entry 2020-006 
Checking 2020-007, github::codecheckers/Hathway-Goodman-2018, community, 7 
Completed checking registry entry 2020-007 
Checking 2020-008, github::codecheckers/covid-uk, community (preprint), 8 
Completed checking registry entry 2020-008 
Checking 2020-009, github::codecheckers/2020-cov-tracing, community (preprint), 9 
Completed checking registry entry 2020-009 
Checking 2020-010, github::codecheckers/covid-report9, community (preprint), 14 
Completed checking registry entry 2020-010 
Checking 2020-011, github::codecheckers/covid19model-nature, community (in press), 18 
Completed checking registry entry 2020-011 
Checking 2020-012, github::codecheckers/covid19model-report23, community (preprint), 19 
Completed checking registry entry 2020-012 
Checking 2020-013, github::codecheckers/Spitschan2020_bioRxiv, community (preprint), 20 
Completed checking registry entry 2020-013 
Checking 2020-014, github::codecheckers/Sadeh-and-Clopath, community, 21 
Completed checking registry entry 2020-014 
Checking 2020-015, github::codecheckers/Liou-and-Bateman, community, 22 
Completed checking registry entry 2020-015 
Checking 2020-016, github::codecheckers/OpeningPractice, journal (J Geogr Syst), 15 
Completed checking registry entry 2020-016 
Checking 2020-017, github::codecheckers/JGSY-D-19-00087, journal (J Geogr Syst), 24 
Completed checking registry entry 2020-017 
Checking 2020-018, github::reproducible-agile/AGILECA, conference (AGILEGIS), 25 
Completed checking registry entry 2020-018 
Checking 2020-019, osf::5SVMT, conference (AGILEGIS), 25 
Completed checking registry entry 2020-019 
Checking 2020-020, osf::7TWR2, conference (AGILEGIS), 25 
Completed checking registry entry 2020-020 
Checking 2020-021, github::reproducible-agile/Spatial-nominal-entity-recognition, conference (AGILEGIS), 25 
Completed checking registry entry 2020-021 
Checking 2020-022, osf::7XRQG, conference (AGILEGIS), 25 
Completed checking registry entry 2020-022 
Checking 2020-023, github::reproducible-agile/Tracking-Hurricane-Dorian-in-GDELT-and-Twitter, conference (AGILEGIS), 25 
Completed checking registry entry 2020-023 
There were 12 warnings (use warnings() to see them)
Warning messages:
1: In get_codecheck_yml_github(spec[["repo"]]) :
  codecheck.yml not found in list of repository files for codecheckers/Hathway-Goodman-2018
2: In codecheck::register_check() : 2020-007 does not have a codecheck.yml file
3: In codecheck::register_check() :
  2020-018 issue is still open: <https://github.com/codecheckers/register/issues/25>
4: In codecheck::register_check() :
  2020-019 issue is still open: <https://github.com/codecheckers/register/issues/25>
5: In get_codecheck_yml_osf(spec[["repo"]]) :
  codecheck.yml not found in list of repository files for https://osf.io/7TWR2
6: In codecheck::register_check() : 2020-020 does not have a codecheck.yml file
7: In codecheck::register_check() :
  2020-020 issue is still open: <https://github.com/codecheckers/register/issues/25>
8: In codecheck::register_check() :
  2020-021 issue is still open: <https://github.com/codecheckers/register/issues/25>
9: In get_codecheck_yml_osf(spec[["repo"]]) :
  codecheck.yml not found in list of repository files for https://osf.io/7XRQG
10: In codecheck::register_check() : 2020-022 does not have a codecheck.yml file
11: In codecheck::register_check() :
  2020-022 issue is still open: <https://github.com/codecheckers/register/issues/25>
12: In codecheck::register_check() :
  2020-023 issue is still open: <https://github.com/codecheckers/register/issues/25>
> 
>