Update CRAN ggplot2 version in docs and tests
Changed references of ggplot2 from version 3.4.4 to 3.5.2 in both English and Chinese README files and updated related test cases in cran.test.js to ensure consistency with the latest package version.
This commit is contained in:
1 parent
0dc07a01f3
commit
781357fa6d
3 files changed
+8
-8
No files matched your search
+4
-4
@@ -9,8 +9,8 @@ describe('CRAN Platform Configuration', () => {
|
||||
it('should transform CRAN paths correctly', () => {
|
||||
const testCases = [
|
||||
{
|
||||
input: '/cran/src/contrib/ggplot2_3.4.4.tar.gz',
|
||||
expected: '/src/contrib/ggplot2_3.4.4.tar.gz',
|
||||
input: '/cran/src/contrib/ggplot2_3.5.2.tar.gz',
|
||||
expected: '/src/contrib/ggplot2_3.5.2.tar.gz',
|
||||
description: 'package source file'
|
||||
},
|
||||
{
|
||||
@@ -47,7 +47,7 @@ describe('CRAN Platform Configuration', () => {
|
||||
});
|
||||
|
||||
it('should handle paths without platform prefix', () => {
|
||||
const result = transformPath('/src/contrib/ggplot2_3.4.4.tar.gz', 'cran');
|
||||
expect(result).toBe('/src/contrib/ggplot2_3.4.4.tar.gz');
|
||||
const result = transformPath('/src/contrib/ggplot2_3.5.2.tar.gz', 'cran');
|
||||
expect(result).toBe('/src/contrib/ggplot2_3.5.2.tar.gz');
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user