SurgicalInformatics / encryptr

@@ -59,5 +59,9 @@
Loading
59 59
    cat("Public key written with name '", public_key_name, "'\n", sep = "")
60 60
  }
61 61
62 +
  if(file.exists(public_key_name) | file.exists(private_key_name)){
63 +
    cat("It is strongly suggested that you add the private key to your .gitignore file if you backup your project with git")
64 +
  }
65 +
62 66
63 67
}

@@ -67,6 +67,10 @@
Loading
67 67
  #   stop("Public key cannot be found.")
68 68
  # }
69 69
70 +
  if(!lookup & write_lookup){
71 +
    message("Lookup file can only be written if 'lookup = TRUE'")
72 +
  }
73 +
70 74
  # Check for .csv file and don't overwrite
71 75
  if(lookup & write_lookup){
72 76
    lookup_file_name <- paste0(lookup_name, ".csv")

@@ -13,7 +13,7 @@
Loading
13 13
#' referred to as an envelope.
14 14
#'
15 15
#' @param .path Quoted path to file to encrypt.
16 -
#' @param crypt_file_name Optional new name to give encrypted file. Must end with ".encrypter.bin".
16 +
#' @param crypt_file_name Optional new name to give encrypted file. Must end with ".encryptr.bin".
17 17
#' @param public_key_path Quoted path to public key, created with
18 18
#'   \code{\link{genkeys}}.
19 19
#'
Files Coverage
R 97.29%
Project Totals (4 files) 97.29%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
    patch:
10
      default:
11
        target: auto
12
        threshold: 1%
13

14
ignore:
15
  - "R/decrypt_file.R"
16
  - "R/decrypt.R"
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading