-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1332bfc
commit 1c75b4b
Showing
102 changed files
with
10,026 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Makefile.am | ||
|
||
document: | ||
Rscript -e "devtools::document(roclets = c('rd', 'collate', 'namespace'))" | ||
|
||
buildbin: | ||
Rscript -e "devtools::build(binary = TRUE, args = c('--preclean'))" | ||
|
||
buildsrc: | ||
Rscript -e "devtools::build(args=c('--no-buildvignettes'))" | ||
|
||
install: | ||
Rscript -e "devtools::install_local(force=TRUE, upgrade=FALSE)" | ||
|
||
test: | ||
Rscript -e "devtools::test()" | ||
|
||
site: | ||
Rscript -e "pkgdown::build_site(preview=FALSE)" | ||
|
||
|
||
all-local: document buildsrc buildbin install test site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
destination: "docs/rdocs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
AC_INIT([benj], [0.0.7]) | ||
AC_CHECK_PROG([R_FOUND], [R], [yes], [no]) | ||
if test "x$R_FOUND" = xno; then | ||
AC_MSG_ERROR([R is required but it's not installed.]) | ||
fi | ||
AC_CHECK_PROG([WGET_FOUND], [wget], [yes], [no]) | ||
if test "x$WGET_FOUND" = xno; then | ||
AC_MSG_ERROR([wget is required but it's not installed.]) | ||
fi | ||
AC_PROG_MAKE_SET | ||
|
||
# Automake initialization | ||
AM_INIT_AUTOMAKE([foreign]) | ||
|
||
# Define the directory where files should be downloaded | ||
TENX_DIR="inst/extdata/10x" | ||
AC_SUBST(TENX_DIR) | ||
|
||
# Create the extdata directory if it does not exist | ||
AC_MSG_CHECKING([for inst/extdata directory]) | ||
AS_MKDIR_P([${TENX_DIR}]) | ||
AC_MSG_RESULT([created]) | ||
|
||
# Download files using wget if they don't exist | ||
AC_MSG_CHECKING([for required files]) | ||
REQUIRED_FILES="Dual_Index_Kit_TT_Set_A.csv Dual_Index_Kit_NN_Set_A.csv Dual_Index_Kit_NT_Set_A.csv Single_Index_Kit_T_Set_A.csv Single_Index_Kit_N_Set_A.csv" | ||
for file in $REQUIRED_FILES; do | ||
if test ! -f "${TENX_DIR}/$file"; then | ||
AC_MSG_RESULT([missing $file, downloading...]) | ||
wget -P ${TENX_DIR} --no-check-certificate "https://cdn.10xgenomics.com/raw/upload/v1655151897/support/in-line documents/$file" | ||
else | ||
AC_MSG_RESULT([found $file]) | ||
fi | ||
done | ||
|
||
AC_CONFIG_FILES([Makefile]) | ||
AC_OUTPUT |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.