@@ -6949,8 +6949,8 @@ add_dummies <- function(dir, Log)
69496949        cat(" Usage: R CMD check [options] pkgs" 
69506950            " " 
69516951            " Check R packages from package sources, which can be directories or" 
6952-             " package 'tar' archives with extension '.tar.gz', '.tar.bz2'," 
6953-             " '.tar.xz' or '.tgz'." 
6952+             " package 'tar' archives with extension '.tar', .tar .gz', '.tar.bz2'," 
6953+             " '.tar.xz', '.tar.zstd'  or '.tgz'." 
69546954            " " 
69556955            " A variety of diagnostic checks on directory structure, index and" 
69566956            " control files are performed.  The package is installed into the log" 
@@ -7552,7 +7552,7 @@ add_dummies <- function(dir, Log)
75527552        } else  if  (file.exists(pkg )) {
75537553            is_tar  <-  TRUE 
75547554            if  (thispkg_subdirs  ==  " default" thispkg_subdirs  <-  " yes-maybe" 
7555-             pkgname0  <-  sub(" \\ .(tar\\ .gz|tgz|tar\\ .bz2|tar\\ .xz)$" " " pkgname0 )
7555+             pkgname0  <-  sub(" \\ .(tar|tar \\ .gz|tgz|tar\\ .bz2|tar\\ .xz|tar \\ .zstd )$" " " pkgname0 )
75567556            pkgname0  <-  sub(" _[0-9.-]*$" " " pkgname0 )
75577557        } else  {
75587558            warning(sQuote(pkg ), "  is neither a file nor directory, skipping\n " 
0 commit comments