We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5947b75 commit 49bdc6cCopy full SHA for 49bdc6c
tests/unit/test_r.py
@@ -72,3 +72,14 @@ def test_snapshot_rspm_date(base_image):
72
73
with pytest.raises(ValueError):
74
r.get_rspm_snapshot_url(date(1691, 9, 5))
75
+
76
77
+def test_mran_dead(tmpdir, base_image):
78
+ tmpdir.chdir()
79
80
+ with open("runtime.txt", "w") as f:
81
+ f.write('r-3.6-2017-06-04')
82
83
+ r = buildpacks.RBuildPack(base_image)
84
+ with pytest.raises(RuntimeError, match=r'^Microsoft killed MRAN, the source of R package snapshots before 2018-12-07.*'):
85
+ r.get_build_scripts()
0 commit comments