You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# build the list of files to checksumfiles<- list.files(appDir, recursive=TRUE, all.files=TRUE,
full.names=FALSE)
# provide checksums for all filesfilelist<-list()
for (fileinfiles) {
filepath<- file.path(appDir, file)
checksum<-list(checksum= fileMD5(filepath))
filelist[[file]] <- I(checksum)
}
The text was updated successfully, but these errors were encountered:
Manifests for pins deployed to Connect have
files
fields that are flat arrays.However, Connect's manifests have files in a JSON object, where the keys are the file names and the values are the checksums, like so:
So, for example,
rsconnect-python
cannot deploy manifests that Pins produces.In the code:
pins:::rsc_bundle_manifest
provides thefiles
as a flat array, and referencesrsconnect::createAppManifest
.pins-r/R/board_connect_bundle.R
Lines 21 to 23 in aea52de
In
rsconnect::createAppManifest
:https://github.com/rstudio/rsconnect/blob/d8c89dd9dd68fef6192fb4eef008ade1d65507ad/R/bundle.R#L150-L160
The text was updated successfully, but these errors were encountered: