Skip to content

Commit aaaf7f7

Browse files
committed
update zenodo mock test results for #91
1 parent 7ef8d20 commit aaaf7f7

File tree

30 files changed

+9543
-694
lines changed

30 files changed

+9543
-694
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: deposits
22
Title: A universal client for depositing and accessing research data
33
anywhere
4-
Version: 0.2.1.056
4+
Version: 0.2.1.057
55
Authors@R:
66
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"),
77
comment = c(ORCID = "0000-0003-2172-5265"))

codemeta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"codeRepository": "https://github.com/ropenscilabs/deposits",
88
"issueTracker": "https://github.com/ropenscilabs/deposits/issues",
99
"license": "https://spdx.org/licenses/MIT",
10-
"version": "0.2.1.056",
10+
"version": "0.2.1.057",
1111
"programmingLanguage": {
1212
"@type": "ComputerLanguage",
1313
"name": "R",

tests/testthat/zen_client/sbapi/deposit/depositions-fa7f86.json

+2,200
Large diffs are not rendered by default.

tests/testthat/zen_create/sbapi/deposit/depositions-fa7f86.json

+2,200
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"created": "2022-01-01T00:00:00+00:00",
3+
"modified": "2022-01-01T00:00:00+00:00",
4+
"id": 29712,
5+
"conceptrecid": "29711",
6+
"doi": "10.5281/zenodo.29712",
7+
"doi_url": "https://doi.org/10.5281/zenodo.29712",
8+
"metadata": {
9+
"title": "New Title",
10+
"doi": "10.5281/zenodo.29712",
11+
"publication_date": "2022-01-01",
12+
"description": "## abstract\\n\\nThis is the abstract\\n\\n## description\nThis is the description\n\n## version\n1.0",
13+
"access_right": "restricted",
14+
"creators": [
15+
{
16+
"name": "A. Person",
17+
"affiliation": null
18+
},
19+
{
20+
"name": "B. Person",
21+
"affiliation": null
22+
}
23+
],
24+
"keywords": [
25+
"one",
26+
"two",
27+
"three"
28+
],
29+
"imprint_publisher": "Zenodo",
30+
"upload_type": "other",
31+
"prereserve_doi": {
32+
"doi": "10.5281/zenodo.29712",
33+
"recid": 29712
34+
}
35+
},
36+
"title": "New Title",
37+
"links": {
38+
"self": "sbapi/deposit/depositions/29712",
39+
"html": "https://sandbox.zenodo.org/deposit/29712",
40+
"doi": "https://doi.org/10.5281/zenodo.29712",
41+
"badge": "https://sandbox.zenodo.org/badge/doi/10.5281%2Fzenodo.29712.svg",
42+
"files": "sbapi/deposit/depositions/29712/files",
43+
"bucket": "sbapi/files/a49586e0-347d-4e85-b63b-f6b87d3df1c1",
44+
"latest_draft": "sbapi/deposit/depositions/29712",
45+
"latest_draft_html": "https://sandbox.zenodo.org/deposit/29712",
46+
"publish": "sbapi/deposit/depositions/29712/actions/publish",
47+
"edit": "sbapi/deposit/depositions/29712/actions/edit",
48+
"discard": "sbapi/deposit/depositions/29712/actions/discard",
49+
"newversion": "sbapi/deposit/depositions/29712/actions/newversion",
50+
"registerconceptdoi": "sbapi/deposit/depositions/29712/actions/registerconceptdoi"
51+
},
52+
"record_id": 29712,
53+
"owner": 623,
54+
"files": [
55+
{
56+
"id": "f75a999b-dcec-483a-b80f-b7d0bee6ab33",
57+
"filename": "data.csv",
58+
"filesize": 625,
59+
"checksum": "cc624d72ede85ef061afa494d9951f6f",
60+
"links": {
61+
"self": "sbapi/deposit/depositions/29712/files/f75a999b-dcec-483a-b80f-b7d0bee6ab33",
62+
"download": "sbapi/records/29712/draft/files/data.csv/content"
63+
}
64+
},
65+
{
66+
"id": "12062013-0739-4dd1-bfce-9a42142cf0de",
67+
"filename": "data2.csv",
68+
"filesize": 625,
69+
"checksum": "cc624d72ede85ef061afa494d9951f6f",
70+
"links": {
71+
"self": "sbapi/deposit/depositions/29712/files/12062013-0739-4dd1-bfce-9a42142cf0de",
72+
"download": "sbapi/records/29712/draft/files/data2.csv/content"
73+
}
74+
}
75+
],
76+
"state": "unsubmitted",
77+
"submitted": false
78+
}

tests/testthat/zen_dl/sbapi/deposit/depositions/6135.json

-79
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
{
2+
"created": "2022-01-01T00:00:00+00:00",
3+
"modified": "2022-01-01T00:00:00+00:00",
4+
"id": 29712,
5+
"conceptrecid": "29711",
6+
"doi": "10.5281/zenodo.29712",
7+
"doi_url": "https://doi.org/10.5281/zenodo.29712",
8+
"metadata": {
9+
"title": "New Title",
10+
"doi": "10.5281/zenodo.29712",
11+
"publication_date": "2022-01-01",
12+
"description": "## abstract\\n\\nThis is the abstract\\n\\n## description\nThis is the description\n\n## version\n1.0",
13+
"access_right": "restricted",
14+
"creators": [
15+
{
16+
"name": "A. Person",
17+
"affiliation": null
18+
},
19+
{
20+
"name": "B. Person",
21+
"affiliation": null
22+
}
23+
],
24+
"keywords": [
25+
"one",
26+
"two",
27+
"three"
28+
],
29+
"imprint_publisher": "Zenodo",
30+
"upload_type": "other",
31+
"prereserve_doi": {
32+
"doi": "10.5281/zenodo.29712",
33+
"recid": 29712
34+
}
35+
},
36+
"title": "New Title",
37+
"links": {
38+
"self": "sbapi/deposit/depositions/29712",
39+
"html": "https://sandbox.zenodo.org/deposit/29712",
40+
"doi": "https://doi.org/10.5281/zenodo.29712",
41+
"badge": "https://sandbox.zenodo.org/badge/doi/10.5281%2Fzenodo.29712.svg",
42+
"files": "sbapi/deposit/depositions/29712/files",
43+
"bucket": "sbapi/files/a49586e0-347d-4e85-b63b-f6b87d3df1c1",
44+
"latest_draft": "sbapi/deposit/depositions/29712",
45+
"latest_draft_html": "https://sandbox.zenodo.org/deposit/29712",
46+
"publish": "sbapi/deposit/depositions/29712/actions/publish",
47+
"edit": "sbapi/deposit/depositions/29712/actions/edit",
48+
"discard": "sbapi/deposit/depositions/29712/actions/discard",
49+
"newversion": "sbapi/deposit/depositions/29712/actions/newversion",
50+
"registerconceptdoi": "sbapi/deposit/depositions/29712/actions/registerconceptdoi"
51+
},
52+
"record_id": 29712,
53+
"owner": 623,
54+
"files": [
55+
{
56+
"id": "f75a999b-dcec-483a-b80f-b7d0bee6ab33",
57+
"filename": "data.csv",
58+
"filesize": 625,
59+
"checksum": "cc624d72ede85ef061afa494d9951f6f",
60+
"links": {
61+
"self": "sbapi/deposit/depositions/29712/files/f75a999b-dcec-483a-b80f-b7d0bee6ab33",
62+
"download": "sbapi/records/29712/draft/files/data.csv/content"
63+
}
64+
},
65+
{
66+
"id": "12062013-0739-4dd1-bfce-9a42142cf0de",
67+
"filename": "data2.csv",
68+
"filesize": 625,
69+
"checksum": "cc624d72ede85ef061afa494d9951f6f",
70+
"links": {
71+
"self": "sbapi/deposit/depositions/29712/files/12062013-0739-4dd1-bfce-9a42142cf0de",
72+
"download": "sbapi/records/29712/draft/files/data2.csv/content"
73+
}
74+
}
75+
],
76+
"state": "unsubmitted",
77+
"submitted": false
78+
}

tests/testthat/zen_dl_fail/sbapi/deposit/depositions/6135.json

-79
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"created": "2022-01-01T00:00:00+00:00",
3+
"modified": "2022-01-01T00:00:00+00:00",
4+
"id": 29712,
5+
"conceptrecid": "29711",
6+
"doi": "10.5281/zenodo.29712",
7+
"doi_url": "https://doi.org/10.5281/zenodo.29712",
8+
"metadata": {
9+
"title": "New Title",
10+
"doi": "10.5281/zenodo.29712",
11+
"publication_date": "2022-01-01",
12+
"description": "## abstract\\n\\nThis is the abstract\\n\\n## description\nThis is the description\n\n## version\n1.0",
13+
"access_right": "embargoed",
14+
"embargo_date": "2022-01-01",
15+
"creators": [
16+
{
17+
"name": "A. Person",
18+
"affiliation": null
19+
},
20+
{
21+
"name": "B. Person",
22+
"affiliation": null
23+
}
24+
],
25+
"keywords": [
26+
"one",
27+
"two",
28+
"three"
29+
],
30+
"license": "cc-by-4.0",
31+
"imprint_publisher": "Zenodo",
32+
"upload_type": "other",
33+
"prereserve_doi": {
34+
"doi": "10.5281/zenodo.29712",
35+
"recid": 29712
36+
}
37+
},
38+
"title": "New Title",
39+
"links": {
40+
"self": "sbapi/deposit/depositions/29712",
41+
"html": "https://sandbox.zenodo.org/deposit/29712",
42+
"doi": "https://doi.org/10.5281/zenodo.29712",
43+
"badge": "https://sandbox.zenodo.org/badge/doi/10.5281%2Fzenodo.29712.svg",
44+
"files": "sbapi/deposit/depositions/29712/files",
45+
"bucket": "sbapi/files/a49586e0-347d-4e85-b63b-f6b87d3df1c1",
46+
"latest_draft": "sbapi/deposit/depositions/29712",
47+
"latest_draft_html": "https://sandbox.zenodo.org/deposit/29712",
48+
"publish": "sbapi/deposit/depositions/29712/actions/publish",
49+
"edit": "sbapi/deposit/depositions/29712/actions/edit",
50+
"discard": "sbapi/deposit/depositions/29712/actions/discard",
51+
"newversion": "sbapi/deposit/depositions/29712/actions/newversion",
52+
"registerconceptdoi": "sbapi/deposit/depositions/29712/actions/registerconceptdoi"
53+
},
54+
"record_id": 29712,
55+
"owner": 623,
56+
"files": [
57+
58+
],
59+
"state": "unsubmitted",
60+
"submitted": false
61+
}

0 commit comments

Comments
 (0)