diff --git a/R/gifti_writer.R b/R/gifti_writer.R index 1b90d9d..122d303 100644 --- a/R/gifti_writer.R +++ b/R/gifti_writer.R @@ -15,7 +15,7 @@ #' #' @param data_array list of data vectors and/or data matrices. #' -#' @param intent vector of NIFTI intent strings for the data vectors in 'data_array' parameter, see \code{\link[gifti]{convert_intent}}. Example: 'NIFTI_INTENT_SHAPE'. See \url{https://nifti.nimh.nih.gov/nifti-1/documentation/nifti1fields/nifti1fields_pages/group__NIFTI1__INTENT__CODES.html}. +#' @param intent vector of NIFTI intent strings for the data vectors in 'data_array' parameter, see \code{\link[gifti]{convert_intent}}. Example: 'NIFTI_INTENT_SHAPE'. See https://nifti.nimh.nih.gov/nifti-1/documentation/nifti1fields/nifti1fields_pages/group__NIFTI1__INTENT__CODES.html. #' #' @param datatype vector of NIFTI datatype strings. Example: 'NIFTI_TYPE_FLOAT32'. Should be suitable for your data. #' @@ -29,7 +29,7 @@ #' #' @return xml tree, see xml2 package. One could modify this tree as needed using xml2 functions, e.g., add metadata. #' -#' @references \url{https://www.nitrc.org/frs/download.php/2871/GIFTI_Surface_Format.pdf} +#' @references See https://www.nitrc.org/frs/download.php/2871/GIFTI_Surface_Format.pdf #' #' @note Unless you want to modify the returned tree manually, you should not need to call this function. Use \code{\link{gifti_writer}} instead. #' diff --git a/R/nifti_to_mgh.R b/R/nifti_to_mgh.R index 44ed2b3..4bd61cf 100644 --- a/R/nifti_to_mgh.R +++ b/R/nifti_to_mgh.R @@ -23,7 +23,7 @@ #' #' @note This is not supposed to be used to read 1D morphometry data from NIFTI files generated by FreeSurfer (e.g., by converting `lh.thickness` to NIFTI using `mri_convert`): the FreeSurfer NIFTI hack is not supported by oro.nifti. #' -#' @references \href{https://nifti.nimh.nih.gov/nifti-1/}{NIfTI-1 data format spec} +#' @references See https://nifti.nimh.nih.gov/nifti-1/ for the NIfTI-1 data format spec. #' #' @examples #' \dontrun{