Skip to content

Commit

Permalink
update zenodo mock test results for #91
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Feb 19, 2024
1 parent 7ef8d20 commit aaaf7f7
Show file tree
Hide file tree
Showing 30 changed files with 9,543 additions and 694 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: deposits
Title: A universal client for depositing and accessing research data
anywhere
Version: 0.2.1.056
Version: 0.2.1.057
Authors@R:
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265"))
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"codeRepository": "https://github.com/ropenscilabs/deposits",
"issueTracker": "https://github.com/ropenscilabs/deposits/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.2.1.056",
"version": "0.2.1.057",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down
2,200 changes: 2,200 additions & 0 deletions tests/testthat/zen_client/sbapi/deposit/depositions-fa7f86.json

Large diffs are not rendered by default.

2,200 changes: 2,200 additions & 0 deletions tests/testthat/zen_create/sbapi/deposit/depositions-fa7f86.json

Large diffs are not rendered by default.

78 changes: 78 additions & 0 deletions tests/testthat/zen_dl/sbapi/deposit/depositions/29712.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"created": "2022-01-01T00:00:00+00:00",
"modified": "2022-01-01T00:00:00+00:00",
"id": 29712,
"conceptrecid": "29711",
"doi": "10.5281/zenodo.29712",
"doi_url": "https://doi.org/10.5281/zenodo.29712",
"metadata": {
"title": "New Title",
"doi": "10.5281/zenodo.29712",
"publication_date": "2022-01-01",
"description": "## abstract\\n\\nThis is the abstract\\n\\n## description\nThis is the description\n\n## version\n1.0",
"access_right": "restricted",
"creators": [
{
"name": "A. Person",
"affiliation": null
},
{
"name": "B. Person",
"affiliation": null
}
],
"keywords": [
"one",
"two",
"three"
],
"imprint_publisher": "Zenodo",
"upload_type": "other",
"prereserve_doi": {
"doi": "10.5281/zenodo.29712",
"recid": 29712
}
},
"title": "New Title",
"links": {
"self": "sbapi/deposit/depositions/29712",
"html": "https://sandbox.zenodo.org/deposit/29712",
"doi": "https://doi.org/10.5281/zenodo.29712",
"badge": "https://sandbox.zenodo.org/badge/doi/10.5281%2Fzenodo.29712.svg",
"files": "sbapi/deposit/depositions/29712/files",
"bucket": "sbapi/files/a49586e0-347d-4e85-b63b-f6b87d3df1c1",
"latest_draft": "sbapi/deposit/depositions/29712",
"latest_draft_html": "https://sandbox.zenodo.org/deposit/29712",
"publish": "sbapi/deposit/depositions/29712/actions/publish",
"edit": "sbapi/deposit/depositions/29712/actions/edit",
"discard": "sbapi/deposit/depositions/29712/actions/discard",
"newversion": "sbapi/deposit/depositions/29712/actions/newversion",
"registerconceptdoi": "sbapi/deposit/depositions/29712/actions/registerconceptdoi"
},
"record_id": 29712,
"owner": 623,
"files": [
{
"id": "f75a999b-dcec-483a-b80f-b7d0bee6ab33",
"filename": "data.csv",
"filesize": 625,
"checksum": "cc624d72ede85ef061afa494d9951f6f",
"links": {
"self": "sbapi/deposit/depositions/29712/files/f75a999b-dcec-483a-b80f-b7d0bee6ab33",
"download": "sbapi/records/29712/draft/files/data.csv/content"
}
},
{
"id": "12062013-0739-4dd1-bfce-9a42142cf0de",
"filename": "data2.csv",
"filesize": 625,
"checksum": "cc624d72ede85ef061afa494d9951f6f",
"links": {
"self": "sbapi/deposit/depositions/29712/files/12062013-0739-4dd1-bfce-9a42142cf0de",
"download": "sbapi/records/29712/draft/files/data2.csv/content"
}
}
],
"state": "unsubmitted",
"submitted": false
}
79 changes: 0 additions & 79 deletions tests/testthat/zen_dl/sbapi/deposit/depositions/6135.json

This file was deleted.

78 changes: 78 additions & 0 deletions tests/testthat/zen_dl_fail/sbapi/deposit/depositions/29712.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"created": "2022-01-01T00:00:00+00:00",
"modified": "2022-01-01T00:00:00+00:00",
"id": 29712,
"conceptrecid": "29711",
"doi": "10.5281/zenodo.29712",
"doi_url": "https://doi.org/10.5281/zenodo.29712",
"metadata": {
"title": "New Title",
"doi": "10.5281/zenodo.29712",
"publication_date": "2022-01-01",
"description": "## abstract\\n\\nThis is the abstract\\n\\n## description\nThis is the description\n\n## version\n1.0",
"access_right": "restricted",
"creators": [
{
"name": "A. Person",
"affiliation": null
},
{
"name": "B. Person",
"affiliation": null
}
],
"keywords": [
"one",
"two",
"three"
],
"imprint_publisher": "Zenodo",
"upload_type": "other",
"prereserve_doi": {
"doi": "10.5281/zenodo.29712",
"recid": 29712
}
},
"title": "New Title",
"links": {
"self": "sbapi/deposit/depositions/29712",
"html": "https://sandbox.zenodo.org/deposit/29712",
"doi": "https://doi.org/10.5281/zenodo.29712",
"badge": "https://sandbox.zenodo.org/badge/doi/10.5281%2Fzenodo.29712.svg",
"files": "sbapi/deposit/depositions/29712/files",
"bucket": "sbapi/files/a49586e0-347d-4e85-b63b-f6b87d3df1c1",
"latest_draft": "sbapi/deposit/depositions/29712",
"latest_draft_html": "https://sandbox.zenodo.org/deposit/29712",
"publish": "sbapi/deposit/depositions/29712/actions/publish",
"edit": "sbapi/deposit/depositions/29712/actions/edit",
"discard": "sbapi/deposit/depositions/29712/actions/discard",
"newversion": "sbapi/deposit/depositions/29712/actions/newversion",
"registerconceptdoi": "sbapi/deposit/depositions/29712/actions/registerconceptdoi"
},
"record_id": 29712,
"owner": 623,
"files": [
{
"id": "f75a999b-dcec-483a-b80f-b7d0bee6ab33",
"filename": "data.csv",
"filesize": 625,
"checksum": "cc624d72ede85ef061afa494d9951f6f",
"links": {
"self": "sbapi/deposit/depositions/29712/files/f75a999b-dcec-483a-b80f-b7d0bee6ab33",
"download": "sbapi/records/29712/draft/files/data.csv/content"
}
},
{
"id": "12062013-0739-4dd1-bfce-9a42142cf0de",
"filename": "data2.csv",
"filesize": 625,
"checksum": "cc624d72ede85ef061afa494d9951f6f",
"links": {
"self": "sbapi/deposit/depositions/29712/files/12062013-0739-4dd1-bfce-9a42142cf0de",
"download": "sbapi/records/29712/draft/files/data2.csv/content"
}
}
],
"state": "unsubmitted",
"submitted": false
}
79 changes: 0 additions & 79 deletions tests/testthat/zen_dl_fail/sbapi/deposit/depositions/6135.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"created": "2022-01-01T00:00:00+00:00",
"modified": "2022-01-01T00:00:00+00:00",
"id": 29712,
"conceptrecid": "29711",
"doi": "10.5281/zenodo.29712",
"doi_url": "https://doi.org/10.5281/zenodo.29712",
"metadata": {
"title": "New Title",
"doi": "10.5281/zenodo.29712",
"publication_date": "2022-01-01",
"description": "## abstract\\n\\nThis is the abstract\\n\\n## description\nThis is the description\n\n## version\n1.0",
"access_right": "embargoed",
"embargo_date": "2022-01-01",
"creators": [
{
"name": "A. Person",
"affiliation": null
},
{
"name": "B. Person",
"affiliation": null
}
],
"keywords": [
"one",
"two",
"three"
],
"license": "cc-by-4.0",
"imprint_publisher": "Zenodo",
"upload_type": "other",
"prereserve_doi": {
"doi": "10.5281/zenodo.29712",
"recid": 29712
}
},
"title": "New Title",
"links": {
"self": "sbapi/deposit/depositions/29712",
"html": "https://sandbox.zenodo.org/deposit/29712",
"doi": "https://doi.org/10.5281/zenodo.29712",
"badge": "https://sandbox.zenodo.org/badge/doi/10.5281%2Fzenodo.29712.svg",
"files": "sbapi/deposit/depositions/29712/files",
"bucket": "sbapi/files/a49586e0-347d-4e85-b63b-f6b87d3df1c1",
"latest_draft": "sbapi/deposit/depositions/29712",
"latest_draft_html": "https://sandbox.zenodo.org/deposit/29712",
"publish": "sbapi/deposit/depositions/29712/actions/publish",
"edit": "sbapi/deposit/depositions/29712/actions/edit",
"discard": "sbapi/deposit/depositions/29712/actions/discard",
"newversion": "sbapi/deposit/depositions/29712/actions/newversion",
"registerconceptdoi": "sbapi/deposit/depositions/29712/actions/registerconceptdoi"
},
"record_id": 29712,
"owner": 623,
"files": [

],
"state": "unsubmitted",
"submitted": false
}
Loading

0 comments on commit aaaf7f7

Please sign in to comment.